ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel L. Boxwell" <Boxwel...@C-IV.org>
Subject RE: javac task: referencing dependent classes
Date Wed, 18 Sep 2002 17:30:29 GMT
That did the trick. Thanks Conor!

--Dan

-----Original Message-----
From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
Sent: Tuesday, September 17, 2002 8:28 PM
To: Ant Users List
Subject: Re: javac task: referencing dependent classes


Daniel L. Boxwell wrote:
> Unfortunately the behavior isn't the same. Here is the output from ANT showing that the
directory is in the classpath. 
> 

Strictly speaking the behaviour is the same but you would not typically drive javac from the
command line in the same way Ant would do internally. The important difference is in the use
of the sourcepath option. To get the behaviour you wish, you need to force Ant not to use
the sourcepath option. This is possible in Ant 1.5 by setting the sourcepath attribute to
"" (checkout the documentation for that)

You can always use -debug to see how Ant is driving javac.

Conor



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message