You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eugene Voytitsky <vi...@sunbay.com> on 2002/06/05 11:01:54 UTC

Re[2]:

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                            mailto:viy@sunbay.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Re[4]:

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 13 Jun 2002, Eugene Voytitsky <vi...@sunbay.com> wrote:

> Evidently this (and <javadoc>) fixes not included in last
> nightly build at
> http://cvs.apache.org/~bodewig/gump/ant1.5beta/20020613/

correct, I fixed them after the build (they'll be there tomorrow).

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re[4]:

Posted by Eugene Voytitsky <vi...@sunbay.com>.
Hello Stefan,

Thursday, June 13, 2002, 3:14:07 PM, you wrote:

>> 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.

SB> Fixed in the 1.5 branch now.

Evidently this (and <javadoc>) fixes not included in last
nightly build at
http://cvs.apache.org/~bodewig/gump/ant1.5beta/20020613/

Because it doesn't work correctly...

-- 
Best regards,
Eugene Voytitsky                            mailto:viy@sunbay.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Re[2]:

Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 5 Jun 2002, Eugene Voytitsky <vi...@sunbay.com> wrote:

> 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.

Fixed in the 1.5 branch now.

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

Correct.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>