ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Davies <tomdav...@optushome.com.au>
Subject Re: "include" equivalent in ant?
Date Sat, 02 Dec 2000 03:47:44 GMT
Thanks for that description -- I was just about to ask that question!

I find that if I use an absolute pathname, i.e.

<!ENTITY buildFW SYSTEM "/foo/bar/buildFW.inc">

I get an exception:

java.lang.InternalError
        at com.sun.xml.parser.Parser.parseSystemId(Parser.java:2421)
        at com.sun.xml.parser.Parser.maybeExternalID(Parser.java:2390)
        at com.sun.xml.parser.Parser.maybeEntityDecl(Parser.java:2301)
        at com.sun.xml.parser.Parser.maybeMarkupDecl(Parser.java:1181)
        at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1113)
        at com.sun.xml.parser.Parser.parseInternal(Parser.java:481)
        at com.sun.xml.parser.Parser.parse(Parser.java:284)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:126)
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:104)
        at 
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
        at org.apache.tools.ant.Main.runBuild(Main.java:402)
        at org.apache.tools.ant.Main.main(Main.java:149)    


It works fine if I just use a filename.

Any ideas?

Tom

-- 
Tom Davies -- tomdavies@optushome.com.au

http://members.optushome.com.au/tomdavies

Mime
View raw message