ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Stulsky" <vitaly_stul...@yahoo.com>
Subject Re: Ant - Error message-related (New User)
Date Wed, 26 Jul 2000 20:07:29 GMT

----- Original Message -----
From: Srinivas Veeravalli <Srinivas.Veeravalli@EBay.Sun.COM>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, July 26, 2000 6:53 PM
Subject: Ant - Error message-related (New User)


> 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"/>
                             ^^^^^^^

Here you're close tag improperly.


>     <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.

Vitaly


Mime
View raw message