istack-commons.build.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ehcache Show documentation
Show all versions of ehcache Show documentation
Ehcache is an open source, standards-based cache used to boost performance,
offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
this has made it the most widely-used Java-based cache.
<?xml version="1.0"?> <project name="istack-commons-runtime" basedir="." default="dist"> <property name="name" value="istack-commons-runtime" /> <property file="../project.properties" /> <!-- default build id --> <tstamp> <format property="now" pattern="MM/dd/yyyy hh:mm aa" unit="hour"/> </tstamp> <property name="build.id" value="${now}(${user.name})" /> <target name="compile"> <mkdir dir="build/classes"/> <javac srcdir="src/main/java" source="1.5" target="1.5" destdir="build/classes" debug="on"> <classpath> <fileset dir="." includes="lib/*.jar" /> </classpath> </javac> </target> <target name="jar" depends="compile"> <jar jarfile="build/${name}.jar"> <manifest> <attribute name="Build-Id" value="${build.id}" /> </manifest> <fileset dir="build/classes" /> </jar> </target> <target name="src-zip"> <jar jarfile="build/${name}-src.zip"> <fileset dir="src/main/java" /> </jar> </target> <target name="clean"> <delete dir="build" /> </target> <target name="dist" depends="jar, src-zip" /> </project>