2011/4/18 Ian Stevens <i.stevens@syncapse.com>
Pierre, do you know what the other JAR bundling methods referenced in that Jython book are?

I've tried to put things in practice with Eclipse but I fail. Here is how I succeeded manually:

1) I made a copy of jython.jar under another name.
2) I opened the jar file with my compression tool (Ark).
3) I added at the root of the archive the Python file to run as "__run__.py". I only have one in this simple test.
4) I saved the new archive.
5) I used "java -jar jar_name.jar -jar jar_name.jar" to run the application.

The first "-jar jar_name.jar" is for running Jython and the second one is to tell Jython to run the .jar.

It was tricky. Is this a solution?



My blog and profile (http://pierrethibault.posterous.com)
YouTube page (http://www.youtube.com/user/tubetib)
Twitter (http://twitter.com/pierreth2)