Trouble with getting the target file

Hi friends,

I am able to compile the following build file using Ant. But I am not getting the target file.anybody can help me?

<project name="hibernate_programs" default="compile">

<property name="sourcedir" value="${basedir}/src"/>

<property name="targetdir" value="${basedir}/bin"/>

<property name="librarydir" value="${basedir}/lib"/>

<path id="libraries">

<fileset dir= "${librarydir}">

<include name="*.jar"/>

</fileset>

</path>

<target name="clean">

<delete dir="${targetdir}"/>

<mkdir dir="${targetdir}"/>

</target>

<target name="compile" depends="clean, copy-resources">

<javac srcdir="${sourcedir}"

destdir="${targetdir}"

classpathref="libraries"/>

</target>

<target name="copy-resources">

<copy todir="${targetdir}">

<fileset dir="${sourcedir}">

<exclude name="**/*.java"/>

</fileset>

</copy>

</target>

<target name="run" depends="compile">

<java fork="true" classname="events.EventManager" classpathref="libraries">

<classpath path="${targetdir}"/>

<arg value="${action}"/>

</java>

</target>

<target name="war" depends="compile">

<war destfile="hibernate_programs.war" webxml="web.xml">

<lib dir="${librarydir}">

<exclude name="jsdk*.jar"/>

</lib>

<classes dir="${targetdir}"/>

</war>

</target>

</project>

After compiling, I am getting the following message.

compile:

[javac] Compiling 5 source files to C:\hibernate_programs\bin

[javac] Note: C:\hibernate_programs\src\events\EventManager.java uses unchecked or unsafe operations.

[javac] Note: Recompile with -Xlint:unchecked for details.

BUILD SUCCESSFUL

thanks in advance.

[2076 byte] By [Ranjith_Clta] at [2007-11-27 5:45:58]
# 1
> I am able to compile the following build file using> Ant. But I am not getting the target file.anybody> can help me?So have you looked in C:\hibernate_programs\bin ? Have you invoked target 'war' ?Message was edited by: sabre150
sabre150a at 2007-7-12 15:28:10 > top of Java-index,Java Essentials,Java Programming...
# 2
Yes. I have checked.But no War file anywhere. ranjith.
Ranjith_Clta at 2007-7-12 15:28:10 > top of Java-index,Java Essentials,Java Programming...