Re: Deploying a framework as a JAR?
Re: Deploying a framework as a JAR?
- Subject: Re: Deploying a framework as a JAR?
- From: Lachlan Deck <email@hidden>
- Date: Thu, 23 Apr 2009 15:05:42 +1000
On 23/04/2009, at 2:24 AM, Dov Rosenberg wrote:
Thanks - it was a lot easier than I thought to change our build
scripts to
deploy as a JAR. Basically all I did was remove the Resources/Java
folder
from the framework and copied the class folders to the same level
and jarred
the resulting directory structure up - worked like a champ.
MyFramework.jar
Resources
<WOComponent folders>
WebServerResources
com
mycompany
*.java
META_INF
MANIFEST.MF
How do I extract the Wonder frameworks I need from the Maven
repository? We
only use ERJars, ERExtensions, and ERJGroupsSychronizer
The ant-builds of those are broken (last time I checked for 5.4 at
least. The 53 ones might be okay) so you'll need to stick with the
frameworks I'm afraid. Pulling the jars from the maven repo won't help
you unless you also pull all of their dependencies into your build.
Maven does this automatically for you (if you're building with maven).
You could utilise maven in your ant files if need be:
http://maven.apache.org/ant-tasks/index.html
On 4/22/09 10:48 AM, "Henrique Prange" <email@hidden> wrote:
Hi Dov,
If you're using Maven, you can use the maven-wolifecycle-plugin and
the packaging woframework to generate JAR artifacts.
You can find the Wonder frameworks jars in the WOCommunity repository
[1].
[1] http://maven.wocommunity.org
Cheers,
Henrique
On Apr 22, 2009, at 2:38 AM, Lachlan Deck wrote:
On 22/04/2009, at 11:34 AM, Dov Rosenberg wrote:
I noticed that the WO frameworks are now packaged as Jars. Does any
one know
the correct mojo for packaging our frameworks as jars? What about
Project
Wonder – can those be deployed as jars as well?
With maven this is the natural/default result of the build.
If you're using ant it'll be quite easy to achieve also using ant's
'jar' task though obviously you'll need to configure it. If you
break open a wo jar you'll learn how it needs to be laid out.
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
_______________________________________________
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
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