At 02:54 PM 7/16/2001 +0200, Steffen Euch wrote:

>I don't want Ant to search missing source files automatically.

Ant isn't the program that is finding those files, it's javac (or Jikes) 
that is finding them. Java compilers look in the classpath for files to 
compile that the given files may be dependent upon. You should take any 
files that should not be found by the compiler out of the classpath. Or 
restructure your source directories so that they don't need to be under the 
same classpath.


>This is the code I use:
>
><target name="genericCompileAndCopy">
>   <javac srcdir="${PRJ_SOURCE}"
>       destdir="${PRJ_CLASSES}"
>       classpath="."
>       debug="on"
>       deprecation="off"
>       optimize="off"
>       failonerror="yes"
>       includeantruntime="no"
>       depend="no"
>       verbose="yes"
>   >
>     <patternset refid="${generic.patternset}"/>
>   </javac>
>...
></target>

Bernie Bernstein
Liveworld Inc.
[EMAIL PROTECTED]

Reply via email to