• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: deployment problem --> maven + war
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: deployment problem (From: "M.Y. Tjoe" <email@hidden>)
 >Re: deployment problem --> maven + war (From: Lachlan Deck <email@hidden>)
 >Re: deployment problem --> maven + war (From: "M.Y. Tjoe" <email@hidden>)

  • Prev by Date: Re: deployment problem --> maven + war
  • Next by Date: Re: deployment problem --> maven + war
  • Previous by thread: Re: deployment problem --> maven + war
  • Next by thread: Re: deployment problem --> maven + war
  • Index(es):
    • Date
    • Thread