ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 381] Changed - Jar-archives added to the class can cause a "Build Failed" error BugRat Report#673
Date Thu, 15 Mar 2001 13:28:14 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=381

*** shadow/381	Thu Feb  1 04:04:43 2001
--- shadow/381.tmp.17324	Thu Mar 15 05:28:14 2001
***************
*** 16,18 ****
--- 16,30 ----
  |                              DESCRIPTION                                   |
  If you add a relative path of jar-archives to the classpath when you start ANT (let's say
..\..\lib\ant.jar) and your project base directory is on the drive level (c:) or in the first
subdirectory (c:\jboss) then you get an BUILD FAILED error with this message:
  The file or path you specified (..\..\lib\ant.jar) is invalid relative to P:\jboss
+ 
+ 
+ ------- Additional Comments From bodewig@apache.org  2001-03-15 05:28 -------
+ Are you talking about a <classpath> data type or your system CLASSPATH?
+ 
+ If you mean <classpath>, well relative paths in Ant are (almost) always
+ interpreted as relative to your project's basedir. If this is not correct for
+ your current application, you'll have to change the basedir attribute or
+ use an absolute path.
+ 
+ Talking about CLASSPATH, well at leat on Unix relative entries in a PATH are
+ interpreted at runtime - relative to the current working directory.

Mime
View raw message