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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to