开发者

Ant property not evaluated correctly?

I am using a custom ant buildscript for my Android app.

I have a property ${distributionTarget} that is evaluated to for e开发者_如何学Pythonxample Android_Market. However, in some methods, I don't get the output of app-Android_Market-release.apk but I get app-${distributionTarget}-release.apk.

I am positive the property has been set correctly, since earlier in the build-stage I have a echo method, that does shows the value of the property correctly.

What am I missing here?


It appears the property was initialized earlier on with no value. Refactoring the build-script to init the properties later made it work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜