我想只有某一目标运行ant -emacs你能在生成属性文件中设置蚂蚁标志吗?
我可以添加类似
<property name="build.compiler.emacs" value="true" />
做到这一点?
我想只有某一目标运行ant -emacs你能在生成属性文件中设置蚂蚁标志吗?
我可以添加类似
<property name="build.compiler.emacs" value="true" />
做到这一点?
是的,根据these rules specified by ant,可能是您的ant buildfile或this Java properties format中的build.properties文件。
我在问,因为我在我的构建脚本中设置了它,它似乎没有工作。 – qodeninja 2011-04-04 23:39:41
在你到达设置为true的地方之前,是否已经设置了build.compiler.emacs(例如为false)?如果是这样,该属性不会随后重置。 – sudocode 2011-04-06 11:29:28