简体   繁体   中英

Build *.java files generated as part of build in ant

My ant has:

<target name="createJava">
   <javac ... />
</target>
<target name="build" depends="createJava, compile" />

The createJava task adds a few java files under src root. However, main build target always compile except them. How can I add java files created in the middle of build?

看起来“ compile”文件已在“ createJava”之前设置,而在“ compile”之前未更新。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM