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

Spring Roo Project wizard builds source tree incorrectly with Roo 1.2.0 RC1

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 2.8.1.RELEASE
    • Fix Version/s: None
    • Component/s: ROO
    • Labels:
    • Environment:

      Windows Vista64

      Description

      New - Spring Roo Project
      Just fill in the project name and Top level package name.
      Next, Finish.
      Examine the source tree in the STS Package Explorer:
      -The java directory is missing below src/main
      -The test structure is missing below src
      -There is a new directory test-classes below target (wasn't there in 1.1.5) so there should be a classes directory below target also.

      1. roo-15.png
        91 kB
      2. roo-20.png
        78 kB

        Activity

        Hide
        Leo Dos Santos (c) added a comment -

        What is the usual/expected output of running the Roo 1.2.0 new project command from the command line? When I run it from STS, the output claims to create only a src/main/resources directory, whereas with 1.1.5 the output claims to create src/main/java, src/main/resources, and test directories as well. I'll post screenshots for comparison.

        When I look at my file system, there is no src/main/java in the Roo 1.2.0 project, which does seem odd but is consistent with what the shell reports.

        Show
        Leo Dos Santos (c) added a comment - What is the usual/expected output of running the Roo 1.2.0 new project command from the command line? When I run it from STS, the output claims to create only a src/main/resources directory, whereas with 1.1.5 the output claims to create src/main/java, src/main/resources, and test directories as well. I'll post screenshots for comparison. When I look at my file system, there is no src/main/java in the Roo 1.2.0 project, which does seem odd but is consistent with what the shell reports.
        Hide
        Leo Dos Santos (c) added a comment -

        Roo 1.2.0RC1 new project wizard output when run from STS

        Show
        Leo Dos Santos (c) added a comment - Roo 1.2.0RC1 new project wizard output when run from STS
        Hide
        Leo Dos Santos (c) added a comment -

        For comparison, Roo 1.1.5 new project wizard output when run from STS

        Show
        Leo Dos Santos (c) added a comment - For comparison, Roo 1.1.5 new project wizard output when run from STS
        Hide
        Chance Gold added a comment -

        Yeah behavior is the same when I run the project cmd in the Roo 1.2 shell, so this is a Roo problem, not STS. Incidentally I don't get the target directory at all from the shell, that looks like an Eclipse feature (Project - Properties - Java Build Path - Source - Default output folder).

        Do you have the capability to move this jira to the Roo Project?

        Show
        Chance Gold added a comment - Yeah behavior is the same when I run the project cmd in the Roo 1.2 shell, so this is a Roo problem, not STS. Incidentally I don't get the target directory at all from the shell, that looks like an Eclipse feature (Project - Properties - Java Build Path - Source - Default output folder). Do you have the capability to move this jira to the Roo Project?
        Hide
        Chance Gold added a comment -

        If not close it out and I'll open a new jira against Roo.

        Show
        Chance Gold added a comment - If not close it out and I'll open a new jira against Roo.
        Hide
        Leo Dos Santos (c) added a comment -

        Hi Chance. I'm unable to move this bug to the Roo JIRA. Can you file a bug against them (if you haven't already)? I'll close this one off. Thanks.

        Show
        Leo Dos Santos (c) added a comment - Hi Chance. I'm unable to move this bug to the Roo JIRA. Can you file a bug against them (if you haven't already)? I'll close this one off. Thanks.
        Hide
        Chance Gold added a comment -

        OK will do.

        Show
        Chance Gold added a comment - OK will do.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: