Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-09-17 13:39:33 +0000
committerEike Stepper2012-09-17 13:39:33 +0000
commit3014e5c7c2488e3103f3b67df7087577a664f6d2 (patch)
treeffe422fb6bc316de3d65f6aff198222600ab3278 /plugins/org.eclipse.emf.cdo.examples.clone/.externalToolBuilders/copyExample.ant
parent4410a81b1e9943fcf886386f462de2c964bfb8fe (diff)
downloadcdo-3014e5c7c2488e3103f3b67df7087577a664f6d2.tar.gz
cdo-3014e5c7c2488e3103f3b67df7087577a664f6d2.tar.xz
cdo-3014e5c7c2488e3103f3b67df7087577a664f6d2.zip
Make example installer builds automatic
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.examples.clone/.externalToolBuilders/copyExample.ant')
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.clone/.externalToolBuilders/copyExample.ant29
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.clone/.externalToolBuilders/copyExample.ant b/plugins/org.eclipse.emf.cdo.examples.clone/.externalToolBuilders/copyExample.ant
new file mode 100644
index 0000000000..48fab35278
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.clone/.externalToolBuilders/copyExample.ant
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<!--
+ Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) 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:
+ Eike Stepper - initial API and implementation
+-->
+<project name="copyExample" default="main" basedir="../..">
+
+ <property name="installer" value="org.eclipse.emf.cdo.examples.installer" />
+ <import file="../../${installer}/copyExampleLib.ant" optional="true" />
+ <basename file="${build.project}" property="project" />
+
+ <target name="main">
+ <copyExample project="${project}" />
+ <copy todir="${installer}/examples/${project}/src" overwrite="true">
+ <fileset dir="org.eclipse.emf.cdo.examples/src">
+ <include name="**/AbstractOfflineExampleServer.java" />
+ <include name="**/OfflineExampleClone.java" />
+ <include name="**/OfflineExampleUtil.java" />
+ </fileset>
+ </copy>
+ </target>
+
+</project>

Back to the top