Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2009-07-01 14:50:54 +0000
committerSilenio Quarti2009-07-01 14:50:54 +0000
commit093c579a4ffd9551acb901bba9617e7aa776989d (patch)
tree71cf23798b651ef92f188390841a8d130908fb11 /bundles/org.eclipse.swt/build.xml
parentf664d297f7bb009784868bf3fcf0b3e3bb9a646b (diff)
downloadeclipse.platform.swt-093c579a4ffd9551acb901bba9617e7aa776989d.tar.gz
eclipse.platform.swt-093c579a4ffd9551acb901bba9617e7aa776989d.tar.xz
eclipse.platform.swt-093c579a4ffd9551acb901bba9617e7aa776989d.zip
restore HEAD after accidental deletion by error in automated build script
Diffstat (limited to 'bundles/org.eclipse.swt/build.xml')
-rw-r--r--bundles/org.eclipse.swt/build.xml85
1 files changed, 85 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/build.xml b/bundles/org.eclipse.swt/build.xml
new file mode 100644
index 0000000000..c01fe7aa00
--- /dev/null
+++ b/bundles/org.eclipse.swt/build.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Copyright (c) 2009 IBM Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ IBM Corporation - initial API and implementation
+ -->
+
+<project name="org.eclipse.swt" default="build.update.jar" basedir=".">
+
+ <target name="init">
+ <property name="plugin" value="org.eclipse.swt" />
+ <property name="version.suffix" value="3.5.0" />
+ <property name="full.name" value="${plugin}_${version.suffix}" />
+ <property name="temp.folder" value="${basedir}/temp.folder" />
+ <property name="plugin.destination" value="${basedir}" />
+ <property name="build.result.folder" value="${basedir}" />
+ <condition property="p2.publish.parts" value="true">
+ <istrue value="${p2.gathering}" />
+ </condition>
+ </target>
+
+ <target name="build.update.jar" depends="init">
+ <delete dir="${temp.folder}" />
+ <mkdir dir="${temp.folder}" />
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${temp.folder}/" />
+ </antcall>
+ <zip zipfile="${plugin.destination}/${full.name}.jar" basedir="${temp.folder}/${full.name}" filesonly="false" />
+ <delete dir="${temp.folder}" />
+ </target>
+
+ <target name="publish.bin.parts" depends="init" if="p2.publish.parts">
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${build.result.folder}" />
+ </antcall>
+ <eclipse.gatherBundle metadataRepository="${p2.build.repo}" artifactRepository="${p2.build.repo}" buildResultFolder="${build.result.folder}" targetFolder="${build.result.folder}/${full.name}" />
+ </target>
+
+ <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
+ <mkdir dir="${destination.temp.folder}/${full.name}" />
+ <antcall target="apitools.generation">
+ <param name="target.folder" value="${destination.temp.folder}/${full.name}"/>
+ <param name="projectLocation" value="${basedir}"/>
+ <param name="binary.folders" value="${build.result.folder}"/>
+ <param name="projectName" value="${full.name}"/>
+ </antcall>
+ <copy todir="${destination.temp.folder}/${full.name}">
+ <fileset dir="${basedir}" includes="plugin.properties,about.html,about_files/,META-INF/" />
+ </copy>
+ <eclipse.versionReplacer path="${destination.temp.folder}/${full.name}" version="${version.suffix}" />
+ </target>
+
+ <target name="build.jars" />
+ <target name="gather.sources" />
+ <target name="build.sources" />
+ <target name="gather.logs" />
+
+ <target name="copy.classpath" unless="haveclasspath">
+ <copy file=".classpath_${osgi.ws}" tofile=".classpath" />
+ <eclipse.refreshLocal resource="." depth="infinite" />
+ </target>
+
+ <target name="setup.classpath">
+ <available file=".classpath" property="haveclasspath" />
+ <antcall target="copy.classpath" />
+ <copy file=".project_normal" tofile=".project" overwrite="yes" />
+ </target>
+
+ <target name="clean" depends="init">
+ </target>
+
+ <target name="apitools.generation" if="generateAPIDescription">
+ <apitooling.apigeneration
+ projectName="${projectName}"
+ project="${projectLocation}"
+ binary="${binary.folders}"
+ target="${target.folder}"/>
+ </target>
+</project> \ No newline at end of file

Back to the top