I should point out that this solves the jar in a jar issue, not the
deploy a wo app as a jar, which is possible using this idea (I have
done it), but it's not quite as simple as that.
On 05/11/2009, at 9:03 AM, Q wrote:
http://qdolan.blogspot.com/2008/10/embedded-jar-classloader-in-under-100.html
On 05/11/2009, at 6:49 AM, Lon Varscsak wrote:
Interesting, I didn't know that you couldn't have jars in jars.
Seems like a lot of work. :P I'll stick with a woa for now. Thanks!
-Lon
On Wed, Nov 4, 2009 at 10:48 AM, Galen Rhodes <[email protected]
> wrote:
This is actually something I've been giving some thought to lately
and was going to try myself when I get a chance.
I think it's possible. Already it can be packaged in an EAR file
for deployment to a J2EE server so deploying in just a JAR file
should be possible with a little more work. I think NSBundle and
WOResourceManager will extract from a JAR as well as a normal
bundle since they rely on URLs but I haven't tested this.
One thing to consider is that, unlike an EAR file, the standalone
JAR file cannot contain other JAR files so any other JAR files that
you want to include will have to be "unjarred" and re-jarred into
yours.
--
Galen Rhodes
[email protected]
http://www.facebook.com/Galen1967
On Nov 4, 2009, at 11:46 AM, Lon Varscsak wrote:
Is there a way to build an application as a jar file (including
embedded frameworks) so that I can easily deploy it as a command
line tool?
-Lon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/grhodes%40thissmallworld.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/qdolan%40gmail.com
This email sent to [email protected]
--
Seeya...Q
Quinton Dolan - [email protected]
Gold Coast, QLD, Australia (GMT+10)
--
Seeya...Q
Quinton Dolan - [email protected]
Gold Coast, QLD, Australia (GMT+10)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]