ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hwa.N.S...@jci.com
Subject Handling Circular Dependency
Date Mon, 24 Apr 2006 13:29:31 GMT




How do you handle circular dependency in Ant? The following is a build.xml
snippet:

      <target name="DocUpdate"
depends="DirFilterImpl,DocUpdateClientProc,FileThread,FileTSThread,HTTPfileDownload"
 description="Build DocUpdate">
            <echo>Doing DocUpdate</echo>
            <javac srcdir="${src}" destdir="${build}" debug="yes"
includes="DocUpdate.java"/>
      </target>

      <target name="HTTPfileDownload" depends="DocUpdate"
description="Build HTTPfileDownload">
            <echo>Doing HTTPfileDownload</echo>
            <javac srcdir="${src}" destdir="${build}" debug="yes"
includes="HTTPfileDownload.java"/>
      </target>

HTTPfileDownload uses a static method in DocUpdate. Any pointer would be
appreciated!

Hwa Shen
Johnson Controls, Inc.
(414)524-4307


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message