Run Ant files when performing Build and Deploy Worklight 5.x.x Application

橙三吉。 提交于 2019-12-24 12:11:43

问题


I have a Worklight application set up in Eclipse. Before executing Build And Deploy Worklight Application, I need to run a bat that compiles a bunch of HTML templates. This templates are necessary to run the app correctly.

So, I would like to know if it is possible to link (maybe under Run Configurations...?) an Ant file or similar that allows me to execute the bat and perform the build & deploy in an automatic way. Any advice?

Hope the question is clear.


回答1:


I believe you can add an extra project builder to your application that invokes the Ant task you need.

Under Eclipse take a look at Project->Properties->Builders->New.

You will find Ant buildfiles as project builders a useful link.



来源:https://stackoverflow.com/questions/18011769/run-ant-files-when-performing-build-and-deploy-worklight-5-x-x-application

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