Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Windows path problems

Windows path problems

2005-06-23       - By dsarris
Reply:     1     2     3     4  

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\commons-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)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.