Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-09-17 11:33:04 +0000
committerEike Stepper2012-09-17 11:33:04 +0000
commit9a7246a8f0eb951349e4fb80b616b6cfd8a87426 (patch)
treed2a02765a3a41ff1128550da86562f691e5213cd /plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/copyExample.ant
parenta0ff8689e231b70edaed471cc194ad4ab0f1ead7 (diff)
downloadcdo-9a7246a8f0eb951349e4fb80b616b6cfd8a87426.tar.gz
cdo-9a7246a8f0eb951349e4fb80b616b6cfd8a87426.tar.xz
cdo-9a7246a8f0eb951349e4fb80b616b6cfd8a87426.zip
Make example installer builds automatic
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/copyExample.ant')
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/copyExample.ant29
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/copyExample.ant b/plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/copyExample.ant
new file mode 100644
index 0000000000..48fab35278
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.installer.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