Hi,

I would assume that drive E: is the current drive while you execute the script?
The filelist in the path is defined for the root directory of the current drive.
Try to replace the filelist with
<pathelement location="${apache_commons_net.framework.jar}" />

Ullrch.

> -----Original Message-----
> From: dsarris [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 23, 2005 4:30 PM
> To: user@ant.apache.org
> Subject: [[**SPAM**]] - Windows path problems - Bayesian 
> Filter detected
> spam
> 
> 
> Hi 
> 
> I tried to set a classpath ref in Windows, but ant keeps adding the
> drive letter.
> For example:
> 
> apache_commons_net.root.dir =
> C:/Java_Libraries/Apache/commons-net/commons-net-1.4.0
> apache_commons_net.framework.jar =
> ${apache_commons_net.root.dir}/commons-net-1.4.0.jar
> 
> is used in 
> 
>       <path id="framework.class.path">        
>               <filelist dir="/">
>                       <file 
> name="${apache_commons_net.framework.jar}" />
>               </filelist>             
>       </path>
> 
> Using ant with verbose enabled the following message appears:
>  [javac] Using modern compiler
> E:\C:\Java_Libraries\Apache\commons-net\commons-net-1.4.0\comm
> ons-net-1.4.0.jar
> from path as it doesn't exist
> 
> Of course nothing can be compiled.
> 
> ANy help would be appreciated
> 
> 
> -- 
> "I'm still here, you bastards!"
> -- Papillon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to