Sep 7th, 2009, 04:53 AM
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.
Apache Maven 2.2.1
Java version: 1.6.0_16
Anybody with the same problem?
Sep 7th, 2009, 06:48 AM
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.
Sep 7th, 2009, 06:39 PM
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.
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?
Sep 8th, 2009, 01:41 AM