Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2323

Cannot specify source directory.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.1.RELEASE
    • Fix Version/s: None
    • Component/s: BUILD
    • Labels:
      None
    • Environment:
      Windows, STS

      Description

      A user cannot specify a source directory other than src/test/java or src/main/java to have Roo generate aspect-j files from. It is reasonable for one to want to want Roo to recognize an additional directory as a source folder other than src/test/java or src/main/java.

      This is especially useful in the case of separating unit and integration tests. For example, say a user wants to keep package naming convention across both main/java and test/java source folders. The user also wants to create 2 sub-directories (named "unit" and "integration") of test/java to explicitly separate tests that should occur in different phases of a build life cycle. Roo does not currently allow the retention of package naming in this scenario. Roo will append "unit" or "integration" in front of the package name from the file that generated the aspect-j file. This is not the desired effect, because "unit" and "integration" directories are actually source folders used to preserve package naming convention.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mcbullis Mike B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: