Jython application package as JAR in Netbeans

We are currently considering using Netbeans to develop a Jython application, and I am evaluating Netbeans features.

It seems that building a Jython application is trivial in Netbeans after installing the Python and Jython modules. However, I could not find a function that would allow us to wrap my Jython application 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 packaging manually?

+3
source share
1 answer

Have you tried jumping

http://pypi.python.org/pypi/jump/0.9.7.4

Go to home page

Features:

  • Jython JAR .
  • Jython JAR . [ v0.9.5]
  • Mac OS X, Windows.exe, WAR Python WSGI. [ v0.9.5]
  • Java. [ v0.9.6]
  • build.xml ant. [ v0.9.7]
  • Java JAR .
  • Java Native JAR. [ v0.9.5]
  • Jython Java.
  • . [ v0.9.6]
  • Python , , Python, sys.path.
  • Python . [ v0.9.5]
  • Python, , $py.class, , .
  • Jython factory. [ v0.9.7]


jython-wiki ( )

:

  • Jar file: run jump jar --main-entry-point=file:main ( file - Python script, main - main /
  • WAR: jump war --main-entry-point=file:main --war-wsgi-handler=...

, , , /: jump --help.

+3

Source: https://habr.com/ru/post/1730730/


All Articles