ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jtnews <jtn...@bellatlantic.net>
Subject Re: is ant supposed to compile java sources in order?
Date Wed, 27 Sep 2000 00:38:47 GMT
Never mind, it was cockpit error on my part. Things are
working fine.

jtnews wrote:
> 
> when I use
> 
>   <target name="compile" depends="prepare">
>     <javac srcdir="src" destdir="${build}/classes"
>            classpath="lib/xerces.jar"
>     />
>   </target>
> 
> is ant supposed to compile my java sources in order automatically
> so A.java compiles before B.java when B.java depends on A.java?
> 
> With the above target I keep getting can't find "A" class, I assume
> it's not being compiled before B.
> 
> Is there anyway to get Ant to compile stuff in order without explicitly
> specifying all the dependencies by hand in build.xml?

Mime
View raw message