我希望螞蟻能夠確定何時不重新編譯最新的文件 - 不幸的是它一直在發生。我的構建目標只包含:螞蟻一直在重新編譯
<javac srcdir="configuration" destdir="${build_env}">
<compilerarg value="-Xlint"/>
</javac>
在詳細螞蟻輸出我得到:
conf:
[javac] MissingConfigurationException.java added as MissingConfigurationException.class doesn't exist.
[javac] TestConfiguration.java added as TestConfiguration.class doesn't exist.
[javac] TestConfigurationStorage.java added as TestConfigurationStorage.class doesn't exist.
[javac] Compiling 3 source files to /blah/build
,但他們確實存在,並在「/廢話/編譯/ COM /胡說/配置/可.. 。「 目錄。
我該如何解決這個問題?
見http://stackoverflow.com/questions/ 827609/why-does-ant-compile-all-classes-each-run – 2010-01-27 18:26:54
謝謝。是的 - 該鏈接也解決了我的問題。 – viraptor 2010-01-27 22:27:28