【发布时间】:2017-03-20 11:37:14
【问题描述】:
我正在尝试从 build.xml 文件中执行自定义 ANT 目标,但由于某种原因,它一直被忽略。下面是我的实现:
<project name="MyModuleSuite" basedir=".">
<description>Builds the module suite MyModuleSuite.</description>
<import file="nbproject/build-impl.xml"/>
<target name="-post-compile" depends="build">
<ant antfile="nbproject/build-impl.xml" target="nbms" />
</target>
</project>
出于某种原因,每当在我的项目的“清理并构建” 期间执行 build 目标时,什么都没有发生。我应该为 depends 值使用特定目标吗?
【问题讨论】:
标签: xml ant netbeans-platform