Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJudy N. Green2002-09-04 15:15:41 +0000
committerJudy N. Green2002-09-04 15:15:41 +0000
commite99b0450b572108a6915db26b39787b46f7bbf90 (patch)
tree3fa88b4916de89799a0e7c8ff3c9e5aeb60502d3 /core
parent35b1ad68fff29ab3fb06ccc70d776284947a55af (diff)
downloadorg.eclipse.cdt-e99b0450b572108a6915db26b39787b46f7bbf90.tar.gz
org.eclipse.cdt-e99b0450b572108a6915db26b39787b46f7bbf90.tar.xz
org.eclipse.cdt-e99b0450b572108a6915db26b39787b46f7bbf90.zip
Add a build.xml file for CDT Core
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.core/build.xml78
1 files changed, 78 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/build.xml b/core/org.eclipse.cdt.core/build.xml
new file mode 100644
index 00000000000..0a669b719da
--- /dev/null
+++ b/core/org.eclipse.cdt.core/build.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="org.eclipse.cdt.core" default="plugin.zip" basedir=".">
+ <target name="init">
+ <initTemplate/>
+ <property name="plugin" value="org.eclipse.cdt.core"/>
+ <property name="version" value="0.5.4"/>
+ </target>
+
+ <target name="plugin.zip" depends="init">
+ <property name="destroot" value="${basedir}/_temp___"/>
+ <delete dir="${destroot}"/>
+ <mkdir dir="${destroot}"/>
+ <antcall target="jar"/>
+ <antcall target="bin"/>
+ <zip zipfile="${plugin}_${version}.zip" basedir="${destroot}"/>
+ <delete dir="${destroot}"/>
+ </target>
+
+ <target name="cdt.jar" depends="init">
+ <property name="out" value="${basedir}/cdt.jar.bin"/>
+ <delete dir="${out}"/>
+ <mkdir dir="${out}"/>
+ <ant antfile="${template}" target="jar">
+ <property name="includes" value="CDTPlugin/"/>
+ <property name="excludes" value=""/>
+ <property name="compilePath" value="/export/WebSphere/eclipse/plugins/org.eclipse.core.boot/bin;/export/WebSphere/eclipse/plugins/org.eclipse.jdt.debug/jdimodel.jar;/export/WebSphere/eclipse/plugins/org.eclipse.ui/workbench.jar;/export/WebSphere/eclipse/plugins/org.eclipse.jdt.core/bin;/export/WebSphere/eclipse/plugins/org.eclipse.help/bin;/export/WebSphere/eclipse/plugins/org.eclipse.ui/bin;/export/WebSphere/eclipse/plugins/org.eclipse.debug.ui/dtui.jar;/export/WebSphere/eclipse/plugins/org.eclipse.jdt.launching/bin;/export/WebSphere/eclipse/plugins/org.apache.xerces/bin;/export/WebSphere/eclipse/plugins/org.eclipse.compare/bin;/export/WebSphere/eclipse/plugins/org.eclipse.swt/bin;/export/WebSphere/eclipse/plugins/org.eclipse.jdt.ui/bin;/export/WebSphere/eclipse/plugins/org.eclipse.jdt.core/jdtcore.jar;/export/WebSphere/eclipse/plugins/org.eclipse.debug.core/dtcore.jar;/export/WebSphere/eclipse/plugins/org.apache.xerces/xerces.jar;/export/WebSphere/eclipse/plugins/org.eclipse.jdt.debug/bin;/export/WebSphere/eclipse/plugins/org.eclipse.help/help.jar;/export/WebSphere/eclipse/plugins/org.eclipse.search/bin;/export/WebSphere/eclipse/plugins/org.eclipse.jdt.ui/jdt.jar;/export/WebSphere/eclipse/plugins/org.eclipse.swt/swt.jar;/export/WebSphere/eclipse/plugins/org.eclipse.core.runtime/runtime.jar;/export/WebSphere/eclipse/plugins/org.eclipse.core.resources/resources.jar;/export/WebSphere/eclipse/plugins/org.eclipse.core.runtime/bin;/export/WebSphere/eclipse/plugins/org.eclipse.jdt.debug/jdi.jar;/export/WebSphere/eclipse/plugins/org.eclipse.debug.core/bin;/export/WebSphere/eclipse/plugins/org.eclipse.jdt.launching/launching.jar;/export/WebSphere/eclipse/plugins/org.eclipse.core.boot/boot.jar;/export/WebSphere/eclipse/plugins/org.eclipse.search/search.jar;/export/WebSphere/eclipse/plugins/org.eclipse.debug.ui/bin;/export/WebSphere/eclipse/plugins/org.eclipse.compare/compare.jar;/export/WebSphere/eclipse/plugins/org.eclipse.core.resources/bin"/>
+ </ant>
+ <copy todir="${out}">
+ <fileset dir="CDTPlugin">
+ <include name="**"/>
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
+ <property name="dest" value="${destroot}/plugins/${plugin}_${version}"/>
+ <jar jarfile="cdt.jar" basedir="${out}"/>
+ <delete dir="${out}"/>
+ </target>
+
+ <target name="jar" depends="init,cdt.jar">
+ </target>
+
+ <target name="cdt.src" depends="init">
+ <property name="auto.includes" value="CDTPlugin/**/*.java"/>
+ <property name="auto.excludes" value=""/>
+ <ant antfile="${template}" target="src">
+ <property name="includes" value="${auto.includes}"/>
+ <property name="excludes" value="${auto.excludes}"/>
+ <property name="dest" value="${destroot}/plugins/${plugin}_${version}"/>
+ </ant>
+ </target>
+
+ <target name="src" depends="init,cdt.src">
+ </target>
+
+ <target name="bin" depends="init">
+ <property name="auto.includes" value="**"/>
+ <property name="auto.excludes" value="CDTPlugin/"/>
+ <ant antfile="${template}" target="bin">
+ <property name="includes" value="${auto.includes}"/>
+ <property name="excludes" value="${auto.excludes}"/>
+ <property name="dest" value="${destroot}/plugins/${plugin}_${version}"/>
+ </ant>
+ </target>
+
+ <target name="log" depends="init">
+ <ant antfile="${template}" target="log">
+ <property name="dest" value="${destroot}/plugins/${plugin}_${version}"/>
+ </ant>
+ </target>
+
+ <target name="clean" depends="init">
+ <ant antfile="${template}" target="clean">
+ <property name="jar" value="cdt.jar"/>
+ <property name="srczips" value="cdtsource.jar"/>
+ </ant>
+ <delete file="${plugin}_${version}.zip"/>
+ </target>
+</project>

Back to the top