ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20939] New: - BuildExcpetion being logged when a path does not exist.
Date Fri, 20 Jun 2003 07:13:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20939>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

BuildExcpetion being logged when a path does not exist.

           Summary: BuildExcpetion being logged when a path does not exist.
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: nick@svana.org


When a path like structure is defined, but does not yet exist, a BuildExcpetion
will be logged before it is even referenced. Would a warning be better? In 
fact, in my situation it would be better that the warning occurs only when the 
path is first referenced and still does exist.

My build file has a dist target that depends on a build target. The build 
target creates the directory 
(D:\work\mindmatics\packages\sessionpkg\build\tar\lib) that causes the 
exception when the dist target is called.

dist:
Caught exception (org.apache.tools.ant.BuildException) while expanding 
project.run.classpath: D:\work\mindmatics\packages\sessionpkg\build\tar\lib not 
found.

Using: Apache Ant version 1.6alpha compiled on June 6 2003

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


Mime
View raw message