Camron Shimy wrote:

> Here is the code I am trying to run.  Every time I run 'ant', ConfigA 
> and ConfigB is recompiled, even though the class file has the same 
> timestamp as the java file.  Is there something I am doing wrong with 
> these dependencies?  Any tips would be greatly appreciated.  Here is 
> the code:
>
>
>   <target name="ConfigA">
>     <javac srcdir="."
>            destdir="../classes"
>            includes="ConfigA.java"
>            classpath="../classes"
>     />
>   </target>
>
>   <target name="ConfigB" depends="ConfigA">
>     <javac srcdir="."
>            destdir="../classes"
>            includes="ConfigB.java"
>            classpath="../classes"
>     />
>
>   </target>
>
PS:  see the optional "depend" task.


-- 
Matt Inger ([EMAIL PROTECTED])
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
 as yet, is suspicious." -H.L. Mencken 



Reply via email to