Dear Ant Developer,
w.r.t. the Bug "Report ID = 54" I will send you a possible patch.
If there are any questions feel free to send me an email.
Bye
Achim
--
Achim Dannecker email: [EMAIL PROTECTED]
MediaLift AG http: www.medialift.com
Eschenstrasse 13 mobil: ++49 (0) 177 7975098
D-44225 Dortmund fax: ++49 (0) 177 99 7975098
Corrupted freemen are the worst of slaves.
Prologue to the Gamesters.
David Garrick. 1716-1779.Index: ProjectHelper.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/ProjectHelper.java,v
retrieving revision 1.24
diff -u -r1.24 ProjectHelper.java
--- ProjectHelper.java 2000/08/22 15:38:32 1.24
+++ ProjectHelper.java 2000/08/31 09:37:25
@@ -97,9 +97,9 @@
*/
private void parse() throws BuildException {
try {
- parser = getParserFactory().newSAXParser().getParser();
- parser.setDocumentHandler(new RootHandler());
- parser.parse(new InputSource(new FileReader(buildFile)));
+ SAXParser saxParser = getParserFactory().newSAXParser();
+ parser = saxParser.getParser();
+ saxParser.parse(buildFile, new RootHandler());
}
catch(ParserConfigurationException exc) {
throw new BuildException("Parser has not been configured
correctly", exc);