fail bb-ant-tools build when jdp referenced file i

2019-08-28 09:05发布

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条回答
The star\"
2楼-- · 2019-08-28 09:37

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.

查看更多
登录 后发表回答