| <!-- build script to create JUnit Plugin --> | |
| <project name="org.eclipse.jdt.junit" default="export" basedir=".."> | |
| <target name="init"> | |
| <tstamp/> | |
| <property name="destdir" value="../../plugin-export" /> | |
| <property name="plugin" value="org.eclipse.jdt.junit" /> | |
| <property name="version" value="_2.0.0" /> | |
| <property name="dest" value="${destdir}/${plugin}${version}" /> | |
| </target> | |
| <target name="build" depends="init"> | |
| <eclipse.incrementalBuild project="${plugin}" kind="incr"/> | |
| </target> | |
| <target name="export" depends="build"> | |
| <mkdir dir="${destdir}" /> | |
| <delete dir="${dest}" /> | |
| <mkdir dir="${dest}" /> | |
| <jar | |
| jarfile="${dest}/junitsupport.jar" | |
| basedir="bin" | |
| /> | |
| <jar | |
| jarfile="${dest}/junitsupportsrc.jar" | |
| basedir="src" | |
| /> | |
| <copy file="plugin.xml" todir="${dest}"/> | |
| <copy file="plugin.properties" todir="${dest}"/> | |
| <copy file="about.html" todir="${dest}"/> | |
| <copy todir="${dest}/icons"> | |
| <fileset dir="icons" /> | |
| </copy> | |
| </target> | |
| </project> |