Hi,
I think the most common solution for this is for the release to be a zip/tar
file with rails jar and startup scripts in bin but also a lib directory
that contains 3rd party jars. In my opinion that is a good way to deploy a
java app.
/Mirko
-----Original Message-----
From: rai...@li...
[mailto:rai...@li...] On Behalf Of Brett Lentz
Sent: Thursday, July 26, 2007 3:54 PM
To: Development list for Rails: an 18xx game
Subject: [Rails-devel] Building a Jar file for 1.0.3
I've figured out how to build a working JAR for the next release.
However, there's a problem.
Out of the box, java doesn't handle JARs inside a JAR. So, our
additional libraries must be kept outside of the rails JAR in order for
rails to locate the jars.
There are a couple of options for creating standalone JARs:
http://classworlds.codehaus.org/uberjar.html
We can either roll our own, or look at using a build system like Ant or
Maven to build our Jar.
Or, we can work on improving loading external jars, and simply ship a
zipfile or tarball that includes launcher scripts.
Does anyone have a preference for which direction to go?
---Brett.
One good thing about music,
Well, it helps you feel no pain.
So hit me with music;
Hit me with music now.
-- Bob Marley, "Trenchtown Rock"
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Rails-devel mailing list
Rai...@li...
https://lists.sourceforge.net/lists/listinfo/rails-devel
|