You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/07/07 16:07:13 UTC

[Bug 381] - Jar-archives added to the class can cause a "Build Failed" error BugRat Report#673

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=381

*** shadow/381	Sun May 20 17:20:03 2001
--- shadow/381.tmp.153	Sat Jul  7 07:07:13 2001
***************
*** 1,19 ****
! Bug#: 381
! Product: Ant
! Version: unspecified
! Platform: All
! OS/Version: All
! Status: UNCONFIRMED   
! Resolution: 
! Severity: Normal
! Priority: High
! Component: Core
! AssignedTo: ant-dev@jakarta.apache.org                            
! ReportedBy: andreas.schaefer@madplanet.com               
! URL: 
! Cc: 
! Summary: Jar-archives added to the class can cause a "Build Failed" error BugRat Report#673
! 
  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
  
--- 1,19 ----
! +============================================================================+
! | Jar-archives added to the class can cause a "Build Failed" error BugRat Re |
! +----------------------------------------------------------------------------+
! |        Bug #: 381                         Product: Ant                     |
! |       Status: RESOLVED                    Version: unspecified             |
! |   Resolution: FIXED                      Platform: All                     |
! |     Severity: Normal                   OS/Version: All                     |
! |     Priority: High                      Component: Core                    |
! +----------------------------------------------------------------------------+
! |  Assigned To: ant-dev@jakarta.apache.org                                   |
! |  Reported By: andreas.schaefer@madplanet.com                               |
! |      CC list: Cc:                                                          |
! +----------------------------------------------------------------------------+
! |          URL:                                                              |
! +============================================================================+
! |                              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
  
***************
*** 28,30 ****
--- 28,33 ----
  
  Talking about CLASSPATH, well at leat on Unix relative entries in a PATH are
  interpreted at runtime - relative to the current working directory.
+ 
+ ------- Additional Comments From conor@cortexebusiness.com.au  2001-07-07 07:07 -------
+ Fixed this by ignore path components which are invalid relative to the project