Re: deployment problem --> maven + war
Re: deployment problem --> maven + war
- Subject: Re: deployment problem --> maven + war
- From: Lachlan Deck <email@hidden>
- Date: Fri, 14 Nov 2008 15:54:23 +1100
On 14/11/2008, at 3:49 PM, M.Y. Tjoe wrote:
Hi Lachlan,
You've followed the Quick Start guide and created your local
settings
file (as you've not referenced the plugin repos in your pom)?
i.e., did you follow this guide opting for true war support?
http://wiki.objectstyle.org/confluence/display/WOL/woapplication-archetype
Here is the command again, I am using it without -
DarchetypeCatalog=local, will that make any different?
mvn archetype:generate -DarchetypeArtifactId=woapplication-archetype \
-DarchetypeGroupId=org.objectstyle.woproject.maven2 \
-DarchetypeVersion=2.0.16 \
-DarchetypeRepository=http://webobjects.mdimension.com/maven2/releases
Yes I think, by setting TrueWarSupport = yes
You can see on that page the other properties that can be passed
above. Try that and see how it goes.
When look at the expanded war, it looks like it is not package
correctly with right structure:
What structure does it have?
Is the Properties file in there but just in the wrong place?
The Properties file could be in the wrong directory but it is
definitely there
The Properties file is under WEB-INF/classes/, please see screenshot
below:
I'm not familiar with war structure so I'm not sure where that should
be.
I got the feeling it should probably the same as ant generated war,
anyone can confirm if this is the case?
Regards,
Harvey
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden