diff options
author | Michael Valenta | 2002-08-12 18:05:21 +0000 |
---|---|---|
committer | Michael Valenta | 2002-08-12 18:05:21 +0000 |
commit | 4f0e0045a24334f10e989215ea914957a980cd7d (patch) | |
tree | 9d45c5f2a637ef6e9de3fbb20f268e9f371bbd45 /tests/org.eclipse.team.tests.core | |
parent | 04c329dff481666dac36f02805a204da44979447 (diff) | |
download | eclipse.platform.team-4f0e0045a24334f10e989215ea914957a980cd7d.tar.gz eclipse.platform.team-4f0e0045a24334f10e989215ea914957a980cd7d.tar.xz eclipse.platform.team-4f0e0045a24334f10e989215ea914957a980cd7d.zip |
Added script to build test plugins
Diffstat (limited to 'tests/org.eclipse.team.tests.core')
-rw-r--r-- | tests/org.eclipse.team.tests.core/build-tests.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/org.eclipse.team.tests.core/build-tests.xml b/tests/org.eclipse.team.tests.core/build-tests.xml new file mode 100644 index 000000000..9a16b11eb --- /dev/null +++ b/tests/org.eclipse.team.tests.core/build-tests.xml @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<project name="Build Team Sniff" basedir="." default="init"> + + <property name="root" value="${basedir}/.."/> + <property name="temp" value="${root}/__temp"/> + <property name="plugins" value="${temp}/eclipse/plugins"/> + + <target name="init"> + <tstamp/> + + <delete dir="${temp}"/> + <mkdir dir="${plugins}"/> + + <antcall target="buildPlugin"> + <param name="pluginName" value="org.eclipse.core.tests.harness" /> + <param name="jarName" value="testharness.jar" /> + </antcall> + + <antcall target="buildPlugin"> + <param name="pluginName" value="org.eclipse.team.tests.core" /> + <param name="jarName" value="teamtests.jar" /> + </antcall> + + <zip zipfile="${basedir}/teamSniff${DSTAMP}.zip" + basedir="${temp}" + /> + + <delete dir="${temp}"/> + <eclipse.refreshLocal resource="org.eclipse.team.tests.core"/> + </target> + + <target name="buildPlugin"> + <copy todir="${plugins}/${pluginName}"> + <fileset dir="${root}/${pluginName}"/> + </copy> + <jar jarfile="${plugins}/${pluginName}/${jarName}" + basedir="${plugins}/${pluginName}/bin" + /> + <delete dir="${plugins}/${pluginName}/bin"/> + </target> + +</project>
\ No newline at end of file |