阅读背景:

从Ant访问Java类公共成员变量并在构建任务中使用它

来源:互联网 

My Java app displays its version number in a few places, so I store that as a public final variable in the app's main class. Is there any way to access that in my Ant build tasks? In the spirit of automating the build process, I'd like Ant to automatically name the zipped distributable with the current version number, but I'm not sure how. I'm guessing it would look something like...My Java app displays its version number in a fe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: