Re: Maven, War and Wonder
Re: Maven, War and Wonder
- Subject: Re: Maven, War and Wonder
- From: William Hatch <email@hidden>
- Date: Sun, 25 Jan 2009 21:29:41 -0500
Sorry, I incorrectly referred to the woapplication-archetype; I'm
actually using the newer maven-wolifecycle-plugin. To restate the
essence of the original question, I'm trying to determine how
properties possibly required by maven or one of the plugs ins should
be set as I'm having one problem with getting the app to resolve to
the proper jar within the built war. And another issue is that none of
the original Properties files, containing stuff required by Wonder and
a whole lot more, are now included in the war built by maven. I would
think this is something simple and obvious... please please tell me
that's the case;-) So, anybody know how we're supposed to make this
happen? Thanks.
On Jan 25, 2009, at 2:41 PM, William Hatch wrote:
Using latest Eclipse, WOLips (largely irrelevant here), the
woapplication-archetype and the m2Eclipse plug in, I'm able to
easily create wo apps, set them up for war packaging, get them to
build and install into the local maven repos. So, experimenting with
the next steps, decided to try automating the deployment to my local
tomcat using the cargo plug in. I had to follow the instructions here:
http://wiki.objectstyle.org/confluence/display/WONDER/Creating+a+wonder+app+to+deploy+as+a+servlet
to create the subclass of ERXServletAdaptor in order to avoid the
dreaded WOServletAdaptor not found exception, but then I get another
exception as the generated classpath seems to be pointing to an app
named "JavaWebObjects" and not my app, although the first part of
the url (context path) is correct, so it's trying to find components
and other resources using this url:
http://localhost/MWWTest/WebObjects/JavaWebObjects.woa
I _think that build.properties used to have all this stuff, but now
that I'm not using ant here how do I convey the right properties
values in this environment? Where should I put them, and what should
they be called? Thanks.
Bill
_______________________________________________
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
_______________________________________________
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