在 Netbeans 中将 Jython 应用程序打包为 JAR
我们目前正在考虑使用 Netbeans 开发 Jython 应用程序,我正在评估 Netbeans 的功能。
一旦安装了 Python 和 Jython 模块,在 Netbeans 中创建 Jython 应用程序似乎就很简单了。但我找不到一个功能可以让我们将 Jython 应用程序及其所有依赖项包装为 JAR 文件。这可以通过 Netbeans 或其他 IDE 实现吗?还是我需要手动进行这种打包?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过跳转
http://pypi.python.org/pypi/jump/0.9。 7.4
跳转首页
功能:
快速-start Guide
jython-wiki 中还有一个信息(不是跳转相关)
简而言之:
jump jar --main-entry-point=file:main
(其中file
是 Python 脚本文件的名称,< code>main 是应用程序的main
方法/入口点jump war --main-entry-point=file:main --war-wsgi-handler= ...
可以通过输出帮助/使用信息来显示可用于跳转的各种选项:运行
jump --help
。Have you tried jump
http://pypi.python.org/pypi/jump/0.9.7.4
jump Homepage
Features :
Quick-start Guide
There is also a info in the jython-wiki (not jump related)
In brief:
jump jar --main-entry-point=file:main
(wherefile
is the name of the Python script file andmain
is the application'smain
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
.