ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "P.S.Mahesh" <psmah...@cisco.com>
Subject NEWBIE: problem initially says "Content is not allowed in prolog"
Date Tue, 12 Nov 2002 15:10:47 GMT
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)

Total time: 0 seconds

regards,
Mahesh

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message