ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivas Veeravalli <Srinivas.Veerava...@EBay.Sun.COM>
Subject Ant - Error message-related (New User)
Date Wed, 26 Jul 2000 22:53:30 GMT
Hi,

I am a new user of Ant, and I get this error message when executing Ant:


---------------------------------------

FILE:

<project name="AntTest" default="A" basedir=".">
  <target name="A" depends="B">
    <javac srcdir="." destdir="."/>
  </target>

  <target name="B" depends="C">
    <javac srcdir="." destdir="."/>
  </target>

  <target name="C"/>
    <javac srcdir="." destdir="."/>
  </target>
</project>



ERROR:

make.xml:11: Unexpected element "javac"

---------------------------------------

(My project has 3 files: A.java, B.java and C.java)

I have set the CLASSPATH to point to JDK's "tools.jar", "ant.jar" and XML 
parser's "parser.jar". I am using JDK 1.2.1 and JAXP 1.0.1 on Solaris.


Mime
View raw message