Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem building ant

Status
Not open for further replies.

JaiBalani

Programmer
Jan 13, 2006
1
US
Hello all,
I am facing a problem while building ant
when i do ./ant after creating the build.xml file i get this error
/root/apache-ant-1.6.5/bin/build.xml:1: The processing instruction target matching "[xX][mM][lL]" is not allowed.
my build.xml file contains

<?xml version="1.0"?>

<!-- Build file for our first application -->

<project name="Ant Open Office Project" default="build" basedir="/usr/bin">

<target name="build">

<javac srcdir="src" destdir="build/src" debug="true" includes="**/*.java"/>

</target>

</project>


CAN ANYONE HELP BY FINDING SOME ERROR OR GIVING SOME OTHER WAY TO BUILD ANT ON FEDORA CORE 3

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top