JDP引用的文件丢失时失败BB-ANT-工具兴建 [英] fail bb-ant-tools build when jdp referenced file is missing

查看:305
本文介绍了JDP引用的文件丢失时失败BB-ANT-工具兴建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我建立我的黑莓应用程序与蚂蚁,我没有得到任何错误消息,即使不存在在JDP文件中定义的三个文件。

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.

我该如何配置构建,如果不存在在JDP文件中定义的源文件会失败?

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

推荐答案

这不是建立配置问题。 BB蚂蚁工具不会引发错误,如果一个或多个JDP属性指向一个错误的资源位置。

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.

如果您想查询的特定资源的presence,提高错误,如果它是不可用,使用与文件中的另一种蚂蚁的任务或实现自己的Ant任务,只是你想要做什么。

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.

这篇关于JDP引用的文件丢失时失败BB-ANT-工具兴建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆