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 42275] New: - running ant off a network share can cause Ant to fail
Date Fri, 27 Apr 2007 11:41:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42275>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42275

           Summary: running ant off a network share can cause Ant to fail
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: stevel@apache.org


This is from Ant User...someone is running ant in their own bat file, with a
classpath containing entries like 
 \\PC03\jclasses\lib\ant-1.7.0.jar
on the classpath.

Ant is failing while trying to create the URI of the file
java.lang.IllegalArgumentException: URI has an authority component
       at java.io.File.<init>(Unknown Source)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
       at java.lang.reflect.Constructor.newInstance(Unknown Source)
       at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:165)
       at org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:119)
       at org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90)
       at org.apache.tools.ant.Project.setAntLib(Project.java:313)
       at org.apache.tools.ant.Project.initProperties(Project.java:309)
       at org.apache.tools.ant.Project.init(Project.java:295)
       at org.apache.tools.ant.Main.runBuild(Main.java:663)
       at org.apache.tools.ant.Main.startAnt(Main.java:199)
       at org.apache.tools.ant.Main.start(Main.java:161)
       at org.apache.tools.ant.Main.main(Main.java:250)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message