ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: NEWBIE: problem initially says "Content is not allowed in prolog"
Date Tue, 12 Nov 2002 17:29:01 GMT

----- Original Message -----
From: "P.S.Mahesh" <psmahesh@cisco.com>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, November 12, 2002 7:10 AM
Subject: NEWBIE: problem initially says "Content is not allowed in prolog"


> Hi folks,
>
> I just downloaded ant. Installed it, wrote a sample build.xml and then
tried
> to run it when this error came. Can you kindly tell me where I can start
> correcting it.
>
> C:\>ant -verbose
> Apache Ant version 1.5.1 compiled on October 2 2002
> Buildfile: build.xml
> Detected Java version: 1.1 in: c:\jdk1.1.8
> Detected OS: Windows NT
> parsing buildfile build.xml with URI = file:C://build.xml
>
> BUILD FAILED
> file:C://build.xml:1: Content is not allowed in prolog.
>         at org.apache.tools.ant.helper.ProjectHelperImpl.parse(Compiled
> Code)
>         at
>
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
>         at org.apache.tools.ant.Main.runBuild(Compiled Code)
>         at org.apache.tools.ant.Main.start(Compiled Code)
>         at org.apache.tools.ant.Main.main(Main.java:235)

At a guess, I'd say it is unhappy with the build.xml, hinting it is not
valid XML.


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message