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.company/.externalToolBuilders
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.company/.externalToolBuilders')
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.company/.externalToolBuilders/copyExample.ant22
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.company/.externalToolBuilders/org.eclipse.emf.cdo.examples.company.launch19
2 files changed, 41 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.company/.externalToolBuilders/copyExample.ant b/plugins/org.eclipse.emf.cdo.examples.company/.externalToolBuilders/copyExample.ant
new file mode 100644
index 0000000000..344747b637
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.company/.externalToolBuilders/copyExample.ant
@@ -0,0 +1,22 @@
+<?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}" />
+ </target>
+
+</project>
diff --git a/plugins/org.eclipse.emf.cdo.examples.company/.externalToolBuilders/org.eclipse.emf.cdo.examples.company.launch b/plugins/org.eclipse.emf.cdo.examples.company/.externalToolBuilders/org.eclipse.emf.cdo.examples.company.launch
new file mode 100644
index 0000000000..f1503c2d14
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.company/.externalToolBuilders/org.eclipse.emf.cdo.examples.company.launch
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<booleanAttribute key="org.eclipse.ant.uiSET_INPUTHANDLER" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.emf.cdo.examples.installer/examples&quot; type=&quot;2&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
+<booleanAttribute key="org.eclipse.debug.core.capture_output" value="false"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON" value="false"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value=""/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.emf.cdo.examples.company&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.company&quot; type=&quot;2&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${build_project}/.externalToolBuilders/copyExample.ant"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="incremental,auto,"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Dbuild.project=${build_project}"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+</launchConfiguration>

Back to the top