< prev index next >
make/nashorn/buildtools/nashorntask/build.xml
Print this page
*** 25,55 ****
<target name="init">
<loadproperties srcFile="project.properties"/>
</target>
<target name="prepare" depends="init">
! <mkdir dir="${build.classes.dir}"/>
! <mkdir dir="${dist.dir}"/>
</target>
<target name="clean" depends="init">
! <delete dir="${build.dir}"/>
! <delete dir="${dist.dir}"/>
</target>
<target name="compile" depends="prepare" description="Compiles the nashorn ant tag sources">
<javac srcdir="${src.dir}"
! destdir="${build.classes.dir}"
debug="${javac.debug}"
includeantruntime="true">
<compilerarg value="-Xlint:unchecked"/>
<compilerarg value="-Xlint:deprecation"/>
</javac>
</target>
<target name="jar" depends="compile" description="Creates nashorntask.jar">
! <jar jarfile="${dist.jar}" basedir="${build.classes.dir}"/>
</target>
<target name="dist" depends="jar"/>
<target name="all" depends="dist"
--- 25,55 ----
<target name="init">
<loadproperties srcFile="project.properties"/>
</target>
<target name="prepare" depends="init">
! <mkdir dir="${nashorntask.build.classes.dir}"/>
! <mkdir dir="${nashorntask.dist.dir}"/>
</target>
<target name="clean" depends="init">
! <delete dir="${nashorntask.build.dir}"/>
! <delete dir="${nashorntask.dist.dir}"/>
</target>
<target name="compile" depends="prepare" description="Compiles the nashorn ant tag sources">
<javac srcdir="${src.dir}"
! destdir="${nashorntask.build.classes.dir}"
debug="${javac.debug}"
includeantruntime="true">
<compilerarg value="-Xlint:unchecked"/>
<compilerarg value="-Xlint:deprecation"/>
</javac>
</target>
<target name="jar" depends="compile" description="Creates nashorntask.jar">
! <jar jarfile="${nashorntask.dist.jar}" basedir="${nashorntask.build.classes.dir}"/>
</target>
<target name="dist" depends="jar"/>
<target name="all" depends="dist"
< prev index next >