Results 1 to 4 of 4

Thread: Roo webapp

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Posts
    1

    Default 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. #2

    Default

    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

  3. #3
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    @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

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •