2016-04-19 3 views
0

私はすでにAnt for SOAプロジェクトにビルドオートメーション設定をしています。コードに変更がない場合でも、すべてのコードが再コンパイルされます。誰でも私が変更されたSOAコンポジットをコンパイルできる場所を教えてください。Antを使ってSOA堆肥を作る

答えて

0

使用Uptodate ant.apache.org/manual/Tasks/uptodate.html

<target name="anythingChanged"> 
    <uptodate property="xmlBuild.notRequired" targetfile="${deploy}\xmlClasses.jar"> 
     <srcfiles dir= "${src}/xml" includes="**/*.dtd"/> 
    </uptodate> 
</target> 

<target name="xmlBuild" depends="anythingChanged" unless="xmlBuild.notRequired"> 
    ... 
</target> 
関連する問題