Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (49 sloc) 2.571 kb
<project name="MultithreadedTC" default="distjar" basedir=".">
<property name="release.id" value="1.01" />
<property name="jarfile" value="MultithreadedTC-${release.id}.jar" />
<property name="jarfile14" value="MultithreadedTC-${release.id}-jdk14.jar" />
<property name="sourcename" value="MultithreadedTC-${release.id}-source" />
<property name="info.files" value="README.txt,LICENSE.txt,CHANGELOG.txt" />
<property name="all.info.files" value="${info.files},README-JDK14.txt" />
<!-- Create distribution jar -->
<target name="distjar">
<jar destfile="${jarfile}" update="true">
<fileset dir="bin" includes="edu/**/*class" />
<fileset dir="src" includes="edu/**/*.java" />
<fileset dir="." includes="${info.files}" />
</jar>
</target>
<!-- Create Source Distribution zip -->
<target name="sourcezip" depends="distjar,distjar-jdk14">
<zip destfile="${sourcename}.zip" update="true">
<zipfileset dir="." includes="src/**" excludes="**.svn**" prefix="${sourcename}"/>
<zipfileset dir="." includes="examples/**" excludes="**.svn**" prefix="${sourcename}"/>
<zipfileset dir="." includes="web/**" excludes="**.svn**,sanity/**" prefix="${sourcename}"/>
<zipfileset dir="." includes="${all.info.files}" prefix="${sourcename}"/>
<zipfileset dir="." includes=".project,.classpath,build.xml" prefix="${sourcename}"/>
<zipfileset dir="." includes="${jarfile}" prefix="${sourcename}"/>
<zipfileset dir="." includes="${jarfile14}" prefix="${sourcename}"/>
</zip>
</target>
<!-- Create Website distribution zip -->
<target name="webzip">
<zip destfile="MultithreadedTCWebsite.zip" update="true">
<fileset dir="web" includes="**" excludes="**.svn**" />
</zip>
</target>
<!-- Retro Tasks: Create a Jar for 1.4 -->
<!-- The 'retrotranslator' task creates a jar file with JDK 1.4 compatible class files.
This task requires all the jar files in the retrotranslator distribution to be in
the lib folder. Find these at http://retrotranslator.sourceforge.net/ -->
<target name="distjar-jdk14">
<path id="retroclasspath">
<fileset dir="lib" includes="**/*.jar"/>
</path>
<taskdef name="retrotranslator" classpathref="retroclasspath"
classname="net.sf.retrotranslator.transformer.RetrotranslatorTask" />
<retrotranslator destjar="${jarfile14}" verify="false">
<fileset dir="bin" includes="edu/**/*.class"/>
<fileset dir="." includes="${all.info.files}" />
</retrotranslator>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.