ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kazandjian Erik <Erik.Kazandj...@siemens.atea.be>
Subject RE: DTD and always compiling
Date Tue, 26 Jun 2001 11:20:56 GMT
Stefan,

I don't find the FAQs when I follow the links you gave me. Anyway I have
been doing some tests with an external DTD file (the one generate by
AntStructure) and it seems that emacs is accepting the DTD (it shows me all
attributes I can include etc.) but when I run ant I get : 

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.maybeDoctypeDecl(Parser.java:1100)
	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 org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
	at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
	at org.apache.tools.ant.Main.runBuild(Main.java:403)
	at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 1 second

This is what I wrote at the begining of the ANT file

<?xml version="1.0"?>
  <!DOCTYPE project SYSTEM "/home/erik/square/dtd/ant.dtd">

Regards 

Erik 
-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: dinsdag 26 juni 2001 11:42
To: ant-user@jakarta.apache.org
Subject: Re: DTD and always compiling


I knew that I missed some FAQ entries when we switched to the static
version ...

Erik,

do those two (new) FAQ entries answer your questions?  If not, help us
improving them. 8-)

Kazandjian Erik <Erik.Kazandjian@siemens.atea.be> wrote:

> Is there a DTD available to validate my build.xml ?

<http://jakarta.apache.org/ant/faq.html#dtd>

> Secondly, apparently my build.xml always recompiles everything in my
> project,

<http://jakarta.apache.org/ant/faq.html#always-recompiles>

Stefan

Mime
View raw message