ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pollähne. Ullrich <U.Pollae...@seeburger.de>
Subject RE: Windows path problems
Date Thu, 23 Jun 2005 14:34:32 GMT
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:chipix@gmail.com]
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

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


Mime
View raw message