diff options
author | Pawel Piech | 2008-02-26 20:02:06 +0000 |
---|---|---|
committer | Pawel Piech | 2008-02-26 20:02:06 +0000 |
commit | e8d462f047bec91dfdbdbac1e519a67107d52183 (patch) | |
tree | d9ed20ee8ac8a13bebc23e3e2a690f66bb714c9a /plugins/org.eclipse.dd.examples.dsf/build_preprocess.xml | |
parent | 398f01e873b597835bac75a341c7d6f91de3fb0a (diff) | |
download | org.eclipse.cdt-e8d462f047bec91dfdbdbac1e519a67107d52183.tar.gz org.eclipse.cdt-e8d462f047bec91dfdbdbac1e519a67107d52183.tar.xz org.eclipse.cdt-e8d462f047bec91dfdbdbac1e519a67107d52183.zip |
[220446] Added and preprocessor for tutorial excercises.
Diffstat (limited to 'plugins/org.eclipse.dd.examples.dsf/build_preprocess.xml')
-rw-r--r-- | plugins/org.eclipse.dd.examples.dsf/build_preprocess.xml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/plugins/org.eclipse.dd.examples.dsf/build_preprocess.xml b/plugins/org.eclipse.dd.examples.dsf/build_preprocess.xml new file mode 100644 index 00000000000..eec661b4c5a --- /dev/null +++ b/plugins/org.eclipse.dd.examples.dsf/build_preprocess.xml @@ -0,0 +1,51 @@ +<?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.dd.examples.ant.tasks.PreProcessor" classpath="../bin" /> + <property name="workspace" location="c:\eclipse-dev\dev-3.4" /> + <property name="srcBase" location="${workspace}/org.eclipse.dd.examples.dsf/src_preprocess" /> + <property name="destBase" location="${workspace}/org.eclipse.dd.examples.dsf/src" /> + + <!-- ================================= + target: generateAll + ================================= --> + <target name="generateAll" description="--> Debug Tutorial Exercises"> + + <!-- = = = = = = = = = = = = = = = = = + macrodef: process + = = = = = = = = = = = = = = = = = --> + <macrodef name="process"> + <attribute name="packagedir"/> + <attribute name="symbols"/> + <sequential> + <delete dir="@{destBase}/${packagedir}/excercise"/> + <delete dir="@{destBase}/${packagedir}/answer"/> + <mkdir dir="@{destBase}/${packagedir}/excercise"/> + <mkdir dir="@{destBase}/${packagedir}/answer"/> + <preprocess destdir="@{destBase}/${packagedir}/excercise" symbols="@{symbols}"> + <fileset dir="@{destBase}/${packagedir}"/> + </preprocess> + </sequential> + </macrodef> + + <process packagedir="${srcBase}/org/eclipse/dd/examples/dsf/requestmonitor" symbols="request_monitors_ex1"/> + </target> + +</project> + |