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 36513] - Ant not support path including chinese words
Date Thu, 13 Jul 2006 01:24:47 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=36513>.
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=36513





------- Additional Comments From long.jianglei3@zte.com.cn  2006-07-13 01:24 -------
(In reply to comment #2)
> This looks like it is being raised in ProjectHelper.parse
> Can you give us a full stack trace so we can get more details on where it 
happened.
> Please can you run ant in a path with chinese words, with the -d option and
> paste the output in as a comment.

J:\ums\uep3.01.03P005c\ums-svr≤‚ ‘\docs\dbscript\install-db\tools\bin>ant -d  -
buildfile ../../uep/impl/install-db-mssql.xml
ANT_HOME=J:\ums\uep3.01.03P005c\ums-svr≤‚ ‘\docs\dbscript\install-
db\tools\bin\\..

Warning: JAVA_HOME environment variable is not set.
  If build fails because sun.* classes could not be found
  you will need to set the JAVA_HOME environment variable
  to the installation directory of java.

Apache Ant version 1.6.1 compiled on February 12 2004
Buildfile: ..\..\uep\impl\install-db-mssql.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.4 in: F:\jdk\j2sdk1.4.2_01_win\jre
Detected OS: Windows 2000
Adding reference: ant.ComponentHelper
Setting ro project property: ant.version -> Apache Ant version 1.6.1 compiled 
on February 12 2004
Setting ro project property: ant.file -> J:\ums\uep3.01.03P005c\ums-svr≤‚ ‘
\docs\dbscript\install-db\tools\bin\..\..\uep\impl\install-db-mssql.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile J:\ums\uep3.01.03P005c\ums-svr≤‚ ‘\docs\dbscript\install-
db\tools\bin\..\..\uep\impl\install-db-mssql.xml with URI = 
file:///J:/ums/uep3.01.03P
Setting ro project property: ant.project.name -> install-db-uep
Adding reference: install-db-uep
Setting ro project property: ant.file.install-db-uep -> 
J:\ums\uep3.01.03P005c\ums-svr≤‚ ‘\docs\dbscript\install-
db\tools\bin\..\..\uep\impl\install-db-mssql.xml
Project base dir set to: J:\ums\uep3.01.03P005c\ums-svr≤‚ ‘
\docs\dbscript\install-db\uep\impl
 +Target:
resolving systemId: ./install-db-common.xml

BUILD FAILED
Error reading project file J:\ums\uep3.01.03P005c\ums-svr≤‚ ‘
\docs\dbscript\install-db\tools\bin\..\..\uep\impl\install-db-mssql.xml: no 
protocol: ./install-db-c
        at org.apache.tools.ant.helper.ProjectHelper2.parse
(ProjectHelper2.java:238)
        at org.apache.tools.ant.helper.ProjectHelper2.parse
(ProjectHelper2.java:133)
        at org.apache.tools.ant.ProjectHelper.configureProject
(ProjectHelper.java:89)
        at org.apache.tools.ant.Main.runBuild(Main.java:617)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.Main.start(Main.java:147)
        at org.apache.tools.ant.Main.main(Main.java:230)
Caused by: java.net.MalformedURLException: no protocol: ./install-db-common.xml
        at java.net.URL.<init>(URL.java:537)
        at java.net.URL.<init>(URL.java:434)
        at java.net.URL.<init>(URL.java:383)
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown 
Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference
(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.tools.ant.helper.ProjectHelper2.parse
(ProjectHelper2.java:210)
        ... 6 more
--- Nested Exception ---
java.net.MalformedURLException: no protocol: ./install-db-common.xml
        at java.net.URL.<init>(URL.java:537)
        at java.net.URL.<init>(URL.java:434)
        at java.net.URL.<init>(URL.java:383)
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown 
Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference
(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.tools.ant.helper.ProjectHelper2.parse
(ProjectHelper2.java:210)
        at org.apache.tools.ant.helper.ProjectHelper2.parse
(ProjectHelper2.java:133)
        at org.apache.tools.ant.ProjectHelper.configureProject
(ProjectHelper.java:89)
        at org.apache.tools.ant.Main.runBuild(Main.java:617)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.Main.start(Main.java:147)
        at org.apache.tools.ant.Main.main(Main.java:230)


-- 
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