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=17163>.
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=17163

Referring to external XML entity in build.xml laying in path with spaces 
results in error.

           Summary: Referring to external XML entity in build.xml laying in
                    path with spaces results in error.
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If in build.xml i refer in doctype to external entity,
at the begging of file:

<!DOCTYPE ant-script [
 <!ENTITY simple-test-list SYSTEM "tests-simple.xml">
]>

and then later use it:
&simple-test-list;

And if I have laying it in folder with spaces,
for example: 
C:\Document and Settings\ruslan\My Documents\Projects\test\build.xml

Running ant will result in the following error message:

Buildfile: build.xml

BUILD FAILED
Error reading project file: no protocol: tests-composite.xml

I understand this is not ant.jar error, more XML parser`s problems.

Reply via email to