How do i upgrade a module in a running NetBeans Platform from commandline or script? When developing NetBeans Platform Apps in NetBeans IDE it is possible to hot deploy/update modules in a running instance of the application you are working on. How can i do this from ex commandline or an ANT script so i can do rapid development of NetBeans Platform application without using the NetBeans IDE?
如何从命令行或脚本升级正在运行的NetBeans平台中的模块?在NetBeans IDE中开发NetBeans平台应用程序时,可以在正在运行的应用程序的运行实例中热部署/更新模块。如何从ex命令行或ANT脚本执行此操作,以便我可以在不使用NetBeans IDE的情况下快速开发NetBeans平台应用程序?
1 个解决方案
#1
Run the same executable that us used to start the application but add the reload option and the path to the module that you want to reaload.
运行我们用于启动应用程序的相同可执行文件,但添加重新加载选项以及要实现的模块路径。
myapplication.sh --reload "com-company-mymodule.jar"
#1
Run the same executable that us used to start the application but add the reload option and the path to the module that you want to reaload.
运行我们用于启动应用程序的相同可执行文件,但添加重新加载选项以及要实现的模块路径。
myapplication.sh --reload "com-company-mymodule.jar"