Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.examples.core/scripts/build.xml')
-rw-r--r--org.eclipse.debug.examples.core/scripts/build.xml66
1 files changed, 66 insertions, 0 deletions
diff --git a/org.eclipse.debug.examples.core/scripts/build.xml b/org.eclipse.debug.examples.core/scripts/build.xml
new file mode 100644
index 000000000..df434e655
--- /dev/null
+++ b/org.eclipse.debug.examples.core/scripts/build.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<!-- ======================================================================
+ Copyright (c) 2005, 2008 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
+
+ EclipseCon
+ Debug Tutorial Exercises
+ ====================================================================== -->
+<project name="EclipseCon" default="generateAll">
+ <description>
+ Debug Tutorial Exercises
+ </description>
+
+ <taskdef name="preprocess" classname="org.eclipse.debug.examples.ant.tasks.PreProcessor" classpath="../bin" />
+ <property name="destBase" location="c:\temp\example" />
+ <property name="workspace" location="c:\eclipse-dev\dev-3.4" />
+ <property name="coreSource" location="${workspace}\org.eclipse.debug.examples.core" />
+ <property name="uiSource" location="${workspace}\org.eclipse.debug.examples.ui" />
+
+ <!-- =================================
+ target: generateAll
+ ================================= -->
+ <target name="generateAll" description="--> Debug Tutorial Exercises">
+
+ <!-- = = = = = = = = = = = = = = = = =
+ macrodef: process
+ = = = = = = = = = = = = = = = = = -->
+ <macrodef name="process">
+ <attribute name="destdir"/>
+ <attribute name="symbols"/>
+ <sequential>
+ <delete dir="@{destdir}"/>
+ <mkdir dir="@{destdir}\org.eclipse.debug.examples.core"/>
+ <mkdir dir="@{destdir}\org.eclipse.debug.examples.ui"/>
+ <preprocess destdir="@{destdir}\org.eclipse.debug.examples.core" symbols="@{symbols}">
+ <fileset dir="${coreSource}">
+ <exclude name="**/*.class"/>
+ <exclude name="**/PreProcessor.java"/>
+ </fileset>
+ </preprocess>
+ <preprocess destdir="@{destdir}\org.eclipse.debug.examples.ui" symbols="@{symbols}">
+ <fileset dir="${uiSource}">
+ <exclude name="**/*.class"/>
+ </fileset>
+ </preprocess>
+ </sequential>
+ </macrodef>
+
+ <process destdir="${destBase}\exercise1.1" symbols="ex1"/>
+ <process destdir="${destBase}\exercise2.1" symbols="ex2"/>
+ <process destdir="${destBase}\exercise3.1" symbols="ex3"/>
+ <process destdir="${destBase}\exercise4.1" symbols="ex4"/>
+ <process destdir="${destBase}\exercise5.1" symbols="ex5"/>
+ <process destdir="${destBase}\exercise6.1" symbols="ex6"/>
+ <process destdir="${destBase}\exercise7.1" symbols="ex7"/>
+ <process destdir="${destBase}\answer" symbols="answer"/>
+ </target>
+
+</project>
+

Back to the top