fail bb-ant-tools build when jdp referenced file is missing

筅森魡賤 提交于 2019-12-12 00:31:45

问题


When I build my BlackBerry application with ant, I don't get any error messages, even though three files defined in the jdp file don't exist.

How can I configure the build to fail if source files defined in a jdp file don't exist?


回答1:


It is not build configuration issue. BB Ant Tools won't raise an error, if one or more of jdp properties point to a wrong resource location.

If you want check the presence of a particular resource and raise error if it is not available, use another ant task that works with files or implement your own ant-task that just does what you want.



来源:https://stackoverflow.com/questions/7109336/fail-bb-ant-tools-build-when-jdp-referenced-file-is-missing

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