ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Voytitsky <>
Subject Re[2]: <javac>
Date Wed, 05 Jun 2002 09:01:54 GMT
Hello Stefan,

Tuesday, June 04, 2002, 5:12:57 PM, you wrote:

>> Is it possible to tune <javac srcdir="${src_dir}"> task such that:
>> * in case of build.compiler==(classic||modern)
>>   Ant WON'T pass compilation argument
>>   '-sourcepath ${src_dir}' to javac.exe
>> * in case of build.compiler==jikes
>>   Ant WON'T append '${src_dir}' to -classpath
>> ???

SB> Use Ant 1.5beta2 and set the sourcepath attribute to "".

Thanks a lot.
Why I didn't read 1.5b2 docs at first? I don't know :)

sourcepath="" works great with build.compiler==(classic||modern)
BUT with build.compiler==jikes I still have a problem:
'${src_dir}' is appended to the end of classpath passed to jikes.

Is there a way to solve problem with jikes too?

PS. As I understood there isn't solution for Ant 1.4.1 at all?

Best regards,
Eugene Voytitsky                  

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message