zarafa/net-nds/zarafa2ldap/files/build.xml
geos_one abe9650d64 net-nds/zarafa2ldap: inital commit
(Portage version: 2.1.10.3/svn/Linux x86_64)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/zarafa@2937 6952d904-891a-0410-993b-d76249ca496b
2011-06-19 07:44:20 +00:00

42 lines
1018 B
XML

<?xml version="1.0"?>
<project name="zarafa2ldap" default="jar">
<!-- some properties -->
<property name="src" value="src" />
<property name="build" value="build" />
<property name="dist" value="dist"/>
<property name="jarfile" value="${ant.project.name}.jar"/>
<property file="build.properties"/>
<!-- init -->
<target name="init">
<tstamp/>
<mkdir dir="${dist}"/>
<mkdir dir="${build}"/>
</target>
<!-- compile everything -->
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}" classpath="${classpath}"/>
</target>
<!-- build the jar file -->
<target name="jar" depends="compile">
<jar jarfile="${dist}/${jarfile}" basedir="${build}">
<fileset dir="${src}">
<include name="**/*.png"/>
<include name="**/*.ucd"/>
<include name="**/*.properties"/>
</fileset>
</jar>
</target>
<!-- clean up -->
<target name="clean">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>