Reputation: 6029
We are currently considering using Netbeans to develop a Jython application and I am in the process of evaluating Netbeans' features.
It appears that creating a Jython application is trivial in Netbeans once the Python and Jython modules are installed. Yet I couldn't find a feature which would let we wrap my Jython app as a JAR file with all its dependencies. Is this possible with Netbeans or with some other IDE or do I need to do this kind of packaging by hand?
Upvotes: 3
Views: 1421
Reputation: 6003
Have you tried jump
http://pypi.python.org/pypi/jump/0.9.7.4
Features :
There is also a info in the jython-wiki (not jump related)
In brief:
jump jar --main-entry-point=file:main
(where file
is the name of the Python script file and main
is the application's main
method/entry pointjump war --main-entry-point=file:main --war-wsgi-handler=...
The various options available for jump can be shown by outputting help/usage information: run jump --help
.
Upvotes: 3