-
Sep 7th, 2009, 04:53 AM
#1
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?
-
Sep 7th, 2009, 06:48 AM
#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
-
Sep 7th, 2009, 06:39 PM
#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
-
Sep 8th, 2009, 01:41 AM
#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
-
Forum Rules