1
0
Fork 0
mirror of synced 2024-12-26 00:33:20 -05:00
ultimate-vim/bundle/snipmate-snippets/ant/skel/basic.snippet
2014-05-09 21:28:39 +02:00

29 lines
876 B
Text

<project name="PROJECT NAME" default="dist" basedir=".">
<description>
</description>
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init" description="compile the source " >
<javac srcdir="${src}" destdir="${build}"/>
</target>
<target name="dist" depends="compile" description="generate the distribution" >
<mkdir dir="${dist}/lib"/>
<jar jarfile="${dist}/lib/MyProject-${DSTAMP}.jar" basedir="${build}"/>
</target>
<target name="clean"
description="clean up" >
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>