Announcement Announcement Module
Collapse
No announcement yet.
Roo webapp Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo webapp

    Hi,

    I started playing with Roo (1.0.0.RC1), using the 'Getting Started with Spring Roo' blog.

    The first thing I notice is that after the 'create project' command I end up with a project that builds to a jar, not a war. The <packaging> tag in the pom.xml indicates jar instead of war. Also no jsp, web.xml or mvc configuration is created.

    I have the same issues with the svn trunk version.

    My environment:
    Apache Maven 2.2.1
    Java version: 1.6.0_16

    Anybody with the same problem?

  • #2
    They are created with the first controller, i think until that itīs not sure you are going to have a Web app,

    What i donīt understand is why the webapp directory is created with the project.

    Regards

    Comment


    • #3
      @parus17,

      As explained in this post we have made some changes to the way Roo builds up a project when using the shell. This allows Roo generated projects to be used for different types of applications other than just web scaffolding.

      @Raul,

      This is indeed somewhat inconsistent and should be fixed by us . The webapp directory should only be created once the user indicates that he wants a web project (by creating a controller). Can you open a Jira ticket for this?

      Cheers,
      Stefan

      Comment


      • #4
        http://jira.springframework.org/browse/ROO-197

        Comment

        Working...
        X