Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用 ANT 调用 jwrapper 任务时,是否有可能(重新)定义构建目录?
jwrapper 自动使用“构建”,这与现有的构建任务和文件夹结构相冲突......
谢谢!彼得
好的,我通过使用java ant任务的“dir”属性找到了解决方案
<mkdir dir="${basedir}/build_jwrapper"/> <java jar="${JWrapperJAR}" failonerror="true" fork="true" dir="${basedir}/build_jwrapper"> <jvmarg value="-Xmx512m"/> <arg value="${basedir}/jwrapper.xml"/> </java>