ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Building files in a package in order
Date Wed, 23 May 2001 12:43:08 GMT
Rajkumar Seth <> wrote:

> <javac srcdir="${build.classes}" 
>        destdir="${build.classes}"
>        classpath="${classpath}" 
>        debug="on" deprecation="on"> 
>   <src path="${build.classes}"/> 
>   <src path="${build.classes}"/> 
>   <include name="com/gerrard/equities/reconciliationserver/utils/"/>
>   <include name="com/gerrard/equities/reconciliationserver/utils/"
> </javac>

OK, quite a few build.classes references here 8-) You can drop both
src elements as they do the same as the srcdir attribute.

Is this the javac task that doesn't do anything? If so, does srcdir
point to the correct directory, i.e. is there a Java file named 

If this task compiles more than just the two classes you want to
compile, do they depend on other classes (that have not been
included)?  If so, javac (the JDK one, not the task) is going to
compile them as well and there is nothing you can do to prevent it -
well, you could, but let's first see whether this is the problem.


View raw message