ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "D'Elia, Kevin" <kevin.de...@tfn.com>
Subject RE: Can't open build.xml
Date Wed, 22 Nov 2000 20:48:57 GMT
Max - 

These are my settings:

ANT_HOME=d:\ant-1.2
JAXPHOME=C:\Program Files\JavaSoft\Jaxp1.0.1
in my PATH => d:\ant-1.2\bin

I don't have CLASSPATH set and the JAXP stuff is still in the installation
directories...interestingly enough, even though the docs tell you to have
the JAXP stuff installed, when you look at ant.bat, it calls lcp with all of
the stuff in .\lib, which already has a jaxp and parser.jar!  I have a
build.xml at the top level of my source tree, and I am able to run just fine
with this setup (I get errors, of course, but only because of my careless
programming!! :-> )

Wish I could be of more help...viel glueck!

-----Original Message-----
From: Maximilian Rehm [mailto:m.rehm@netnolix.com]
Sent: Wednesday, November 22, 2000 2:50 PM
To: ant-user@jakarta.apache.org
Subject: AW: Can't open build.xml


Yes, I've installed the JAXP 1.0.1 and I installed the parser.jar and
jaxp.jar files as extensions of Java 2 SDK, in the jre/lib/ext directory.

-----Urspr√ľngliche Nachricht-----
Von: D'Elia, Kevin [mailto:kevin.delia@tfn.com]
Gesendet: Mittwoch, 22. November 2000 20:42
An: 'ant-user@jakarta.apache.org'
Betreff: RE: Can't open build.xml


do you have the xml parser installed??

-----Original Message-----
From: Maximilian Rehm [mailto:m.rehm@netnolix.com]
Sent: Wednesday, November 22, 2000 2:16 PM
To: ant-user@jakarta.apache.org
Subject: Can't open build.xml


I've installed the jdk1.3, tomcat 3.1 and ant 1.2 on Win2K Prof and I
believe that I have set the envrironment variables correctly.  However, when
executing ant from the c prompt in my current development directory I get
the following error message.

Buildfile: build.xml
BUILD CONFIG ERROR: Can't open config file: build.xml due to:
org.xml.sax.SAXParseException: com.sun.xml.parser/P-031 <
org.apache.tools.ant.BuildException: Can't open config file: build.xml due
to:
org.xml.sax.SAXParseException: com.sun.xml.parser/P-031 <
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
        at org.apache.tools.ant.Main.runBuild(Main.java:223)
        at org.apache.tools.ant.Main.main(Main.java:191)

Can anyone help?  I used the build.xml file supplied with Tomcat's sample
app.

Thanks in advance
Max

Mime
View raw message