1
0
Fork 0
mirror of synced 2024-11-24 01:35:35 -05:00
ultimate-vim/sources_non_forked/snipmate-snippets/ant/skel/basic.snippet

30 lines
876 B
Text
Raw Normal View History

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