Spring Tool Suite
  1. Spring Tool Suite
  2. STS-2702

Newly created Roo project reports errors for missing source folders

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 2.9.2.RELEASE, 3.0.0.M2
    • Fix Version/s: 3.0.0.RELEASE
    • Component/s: ROO
    • Labels:

      Description

      Create new, empty roo project. 3 errors:
      Project 'ARooProj' is missing required source folder: 'src/main/java'
      Project 'ARooProj' is missing required source folder: 'src/test/java'
      Project 'ARooProj' is missing required source folder: 'src/test/resources'

        Activity

        Hide
        Leo Dos Santos (c) added a comment -

        As part of new Roo project creation, we generate a .classpath file for Eclipse which contains known source folder locations. This was fine when we were working only with Roo Java projects, but now that Roo supports multiple project types (like POMs for example), this generated .classpath isn't always correct.

        Show
        Leo Dos Santos (c) added a comment - As part of new Roo project creation, we generate a .classpath file for Eclipse which contains known source folder locations. This was fine when we were working only with Roo Java projects, but now that Roo supports multiple project types (like POMs for example), this generated .classpath isn't always correct.
        Leo Dos Santos (c) made changes -
        Field Original Value New Value
        Affects Version/s 3.0.0.M2 [ 11806 ]
        Hide
        Leo Dos Santos (c) added a comment -

        Complicating this further is that we also generate .project file for Eclipse which contains AJDT and Spring natures & builders. This leaves some project types with the error:

        • classpath error: unable to find org.aspectj.lang.JoinPoint (check that aspectjrt.jar is in your classpath)

        or the warning:

        • Spring appears to be missing from the project's Build Path petclinic-local Unknown Spring Problem
        Show
        Leo Dos Santos (c) added a comment - Complicating this further is that we also generate .project file for Eclipse which contains AJDT and Spring natures & builders. This leaves some project types with the error: classpath error: unable to find org.aspectj.lang.JoinPoint (check that aspectjrt.jar is in your classpath) or the warning: Spring appears to be missing from the project's Build Path petclinic-local Unknown Spring Problem
        Hide
        Leo Dos Santos (c) added a comment -

        Change to how & when .classpath & .project files are generated should minimize spurious errors with certain project types (eg. poms).

        Show
        Leo Dos Santos (c) added a comment - Change to how & when .classpath & .project files are generated should minimize spurious errors with certain project types (eg. poms).
        Leo Dos Santos (c) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Labels Y5M10
        Resolution Complete [ 13 ]
        Trevor Marshall (c) made changes -
        Workflow jira [ 45590 ] jira with Pivotal Tracker [ 64241 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 18h 13m 1 Leo Dos Santos (c) 15/Jun/12 10:06 AM

          People

          • Assignee:
            Leo Dos Santos (c)
            Reporter:
            Leo Dos Santos (c)
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: