Uploaded image for project: 'Buildr'
  1. Buildr
  2. BUILDR-84

IDE Meta Generation Should Not Require Sources

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: 1.3.2
    • Fix Version/s: Wish List
    • Component/s: IDE
    • Labels:
      None
    • Environment:
      eclipse

      Description

      The `eclipse` task (and I assume `idea` as well) requires at least one source file of the relevant type to be found within a source directory. For example, for project meta generation to succeed, the src/main/java/ directory (and/or subdirectories) must contain at least one .java file. The same holds for scala. If these source files are not specified, the task silently fails and just doesn't generate any project meta.

      It seems to me that this would be a fairly common use-case: using Buildr to setup a project prior to creating any sources and then doing the actual coding within an IDE. I would propose that the source autodetection be fixed to just assume that there will be source files within the relevant source dirs if they exist. At the very least, a warning should be printed regarding the absence of sources and that this prevents IDE meta gen.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              djspiewak Daniel Spiewak
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: