Create .exe from .jar file using build.xml

柔情痞子 提交于 2019-12-18 08:56:32

问题


Is it possible to create an exe from the jar file using some script (build.xml). Currently I use a build file to create a jar and then create exe with Launch4J. Now I would like to make an exe of the application via a script. I would like to know if it is possible.


回答1:


You should enhance your research skills. It took me 2 seconds to find the part of the Launch4j documentation, where the special launch4j Ant task is explained. Look here: http://launch4j.sourceforge.net/docs.html#Ant_task

So yes, it is possible. You can use Ant with that special task and it is documented.



来源:https://stackoverflow.com/questions/13875587/create-exe-from-jar-file-using-build-xml

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!