Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.examples.installer.clone')
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/copyExample.ant (renamed from plugins/org.eclipse.emf.cdo.examples.installer.clone/update.ant)15
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/org.eclipse.emf.cdo.examples.installer.clone.launch19
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer.clone/.project14
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer.clone/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer.clone/build.properties3
5 files changed, 43 insertions, 10 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer.clone/update.ant b/plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/copyExample.ant
index ace37d4e4c..48fab35278 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer.clone/update.ant
+++ b/plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/copyExample.ant
@@ -9,16 +9,15 @@
Contributors:
Eike Stepper - initial API and implementation
-->
-<project name="ExampleCloneServer" default="ExampleCloneServer" basedir="..">
+<project name="copyExample" default="main" basedir="../..">
- <!--
- Called by /org.eclipse.emf.cdo.examples.installer/update.ant
- -->
+ <property name="installer" value="org.eclipse.emf.cdo.examples.installer" />
+ <import file="../../${installer}/copyExampleLib.ant" optional="true" />
+ <basename file="${build.project}" property="project" />
- <property name="example.name" value="clone" />
-
- <target name="ExampleCloneServer">
- <copy todir="org.eclipse.emf.cdo.examples.installer.${example.name}/src" overwrite="true">
+ <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" />
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/org.eclipse.emf.cdo.examples.installer.clone.launch b/plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/org.eclipse.emf.cdo.examples.installer.clone.launch
new file mode 100644
index 0000000000..711da89354
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.installer.clone/.externalToolBuilders/org.eclipse.emf.cdo.examples.installer.clone.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/src&quot; type=&quot;2&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.installer.clone&quot; type=&quot;2&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.emf.cdo.examples.installer.clone&quot; type=&quot;4&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>
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer.clone/.project b/plugins/org.eclipse.emf.cdo.examples.installer.clone/.project
index 3467fb069d..b22cb1adcb 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer.clone/.project
+++ b/plugins/org.eclipse.emf.cdo.examples.installer.clone/.project
@@ -24,6 +24,20 @@
</dictionary>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>auto,full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.emf.cdo.examples.installer.clone.launch</value>
+ </dictionary>
+ <dictionary>
+ <key>incclean</key>
+ <value>true</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer.clone/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.emf.cdo.examples.installer.clone/.settings/org.eclipse.core.resources.prefs
index 90b20414ac..f06cc0ffca 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer.clone/.settings/org.eclipse.core.resources.prefs
+++ b/plugins/org.eclipse.emf.cdo.examples.installer.clone/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Mon Jul 04 12:57:50 CEST 2011
eclipse.preferences.version=1
+encoding/.project=UTF-8
encoding//model/org.eclipse.emf.cdo.defs.ecorediag=UTF-8
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer.clone/build.properties b/plugins/org.eclipse.emf.cdo.examples.installer.clone/build.properties
index e01f0735c8..62c9fab0f3 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer.clone/build.properties
+++ b/plugins/org.eclipse.emf.cdo.examples.installer.clone/build.properties
@@ -19,6 +19,7 @@ bin.includes = META-INF/,\
source.. = src/
jars.compile.order = .
src.includes = about.html,\
- copyright.txt
+ copyright.txt,\
+ ExampleCloneServer.launch
generateSourceReferences = true

Back to the top