| Windows path problems | Windows path problems 2005-06-23 - By Poll?hne. Ullrich
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@(protected)] > Sent: Thursday, June 23, 2005 4:30 PM > To: user@(protected) > 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@(protected) > For additional commands, e-mail: user-help@(protected) > >
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |