<project name="hello2-example" default="build" basedir=".">

  <!-- Configure the context path for this application -->
  <property name="example" value="hello2" />

  <!-- Configure properties -->
  <property file="../../common/build.properties"/>
  <property file="../common/build.properties"/>

  &targets;
  &webtargets;

  <target name="build" depends="copy"
     description="Compile app Java files" >
    <javac srcdir="src" destdir="${build}">
        <include name="**/*.java" />
         <classpath refid="classpath"/>
    </javac>
  </target>
 
  <target name="deploy1-war">
    <antcall target="admin_command_common">
      <param name="admin.command"
        value="deploy ${j2ee.tutorial.home}/examples/web/${example}/${war.file}" />
    </antcall>
  </target>

  <target name="undeploy1-war">
    <antcall target="admin_command_common">
      <param name="admin.command"
        value="undeploy ${j2ee.tutorial.home}/examples/web/${example}/${war.file}" />
    </antcall>
  </target>

</project>