Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ui.externaltools/buildfiles/updateTarget.xml')
-rw-r--r--org.eclipse.ui.externaltools/buildfiles/updateTarget.xml78
1 files changed, 0 insertions, 78 deletions
diff --git a/org.eclipse.ui.externaltools/buildfiles/updateTarget.xml b/org.eclipse.ui.externaltools/buildfiles/updateTarget.xml
deleted file mode 100644
index 22c0307b6..000000000
--- a/org.eclipse.ui.externaltools/buildfiles/updateTarget.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-<!--
-
- For use in development of the External tools plugin
- This script can be used to update a target for testing/debugging
- Export a jar of .class files for the org.eclipse.ant.core Eclipse plugin
- along with other important plugin files to the "plugin-export" subdirectory
- of the target Eclipse installation
- As well the export of the plugin is copied to a target installation.
- -->
-<project name="Update target" default="export" basedir="..">
-
- <!-- Set the timestamp and important properties -->
- <target name="init">
- <tstamp/>
- <property name="bootclasspath" value=""/>
- <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
- <property name="destdir" value="../../plugin-export" />
- <property name="pluginName" value= "org.eclipse.ui.externaltools_2.1.0"/>
- <property name="destBin" value="${destdir}/${pluginName}" />
- <property name="destSrc" value="${destdir}/org.eclipse.platform.source/src/org.eclipse.ui.externaltools_2.1.0" />
- <property name="temp.folder" value="${destdir}/temp.folder"/>
- <property name="swt.jar" value="${basedir}/../org.eclipse.swt.win32/ws/win32/swt.jar"/>
-
- <property name="currentBuild" value="../../Debugger/Ant/eclipse"/>
- <property name="currentBuildPlugins" value="${currentBuild}/plugins/${pluginName}"/>
- </target>
-
- <!-- Create the jar of .class files, and copy other important files to export dir -->
- <target name="export" depends="init">
- <mkdir dir="${destdir}" />
- <delete dir="${destBin}" />
- <mkdir dir="${destBin}" />
- <delete dir="${destSrc}" />
- <mkdir dir="${destSrc}" />
- <delete dir="${destBin}/lib" />
- <jar
- jarfile="${destBin}/externaltools.jar"
- basedir="bin"
- excludes="bin/org/eclipse/ui/externaltools/internal/ui/ant"
- />
- <!-- Create the source zip -->
- <zip zipfile="${destSrc}/externaltoolssrc.zip">
- <fileset dir="External Tools Base"/>
- <fileset dir="Program Tools Support"/>
- <fileset dir="Ant Tools Support"/>
- </zip>
- <copy file="plugin.xml" todir="${destBin}"/>
- <copy file="plugin.properties" todir="${destBin}"/>
- <copy file="about.html" todir="${destBin}"/>
- <copy file=".classpath" todir="${destBin}"/>
- <copy file=".options" todir="${destBin}"/>
- <copy todir="${destBin}/icons">
- <fileset dir="icons" />
- </copy>
-
- <delete dir="${temp.folder}/lib/antrunner.jar.bin"/>
- <mkdir dir="${temp.folder}/lib/antrunner.jar.bin"/>
- <!-- compile the source code -->
- <javac target="1.3" source="1.3" destdir="${temp.folder}/lib/antrunner.jar.bin" failonerror="false" verbose="false" debug="on" includeAntRuntime="no" bootclasspath="${bootclasspath}" classpath="${basedir}/../org.eclipse.core.runtime/runtime.jar;${basedir}/../org.apache.ant/ant.jar;${basedir}/../org.apache.xerces/xercesImpl.jar;${basedir}/../org.apache.xerces/xmlParserAPIs.jar;${basedir}/bin;${basedir}/../org.eclipse.core.boot/boot.jar;${swt.jar};${basedir}/../org.eclipse.ant.core/bin">
- <src path="Ant Runner Support/"/>
- </javac>
- <!-- copy any necessary resources -->
- <copy todir="${temp.folder}/lib/antrunner.jar.bin">
- <fileset dir="Ant Runner Support/" excludes="**/*.java"/>
- </copy>
- <mkdir dir="${destBin}/lib"/>
- <jar jarfile="${destBin}/lib/antrunner.jar" basedir="${temp.folder}/lib/antrunner.jar.bin"/>
- <delete dir="${temp.folder}"/>
-
- </target>
-
- <target name="copy" depends="init">
- <delete dir="${currentBuildPlugins}/${pluginName}" />
- <copy todir="${currentBuildPlugins}">
- <fileset dir="${destBin}"/>
- </copy>
- </target>
-</project>

Back to the top