diff options
author | Eike Stepper | 2012-09-18 07:21:45 +0000 |
---|---|---|
committer | Eike Stepper | 2012-09-18 07:21:45 +0000 |
commit | 733ffc9d9022f188a3c7295305dc5111ec87ab68 (patch) | |
tree | beadd1401f0bf708e58fc86740c215d693cd8d1f /plugins/org.eclipse.net4j.jms.tests | |
parent | 35ae246a8fee581dbb5dd2f63555c13da9998386 (diff) | |
download | cdo-733ffc9d9022f188a3c7295305dc5111ec87ab68.tar.gz cdo-733ffc9d9022f188a3c7295305dc5111ec87ab68.tar.xz cdo-733ffc9d9022f188a3c7295305dc5111ec87ab68.zip |
Make example installer builds automatic
Diffstat (limited to 'plugins/org.eclipse.net4j.jms.tests')
4 files changed, 56 insertions, 2 deletions
diff --git a/plugins/org.eclipse.net4j.jms.tests/.externalToolBuilders/copyExample.ant b/plugins/org.eclipse.net4j.jms.tests/.externalToolBuilders/copyExample.ant new file mode 100644 index 0000000000..5e36b468fd --- /dev/null +++ b/plugins/org.eclipse.net4j.jms.tests/.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.net4j.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.net4j.jms.tests/.externalToolBuilders/org.eclipse.net4j.jms.tests.launch b/plugins/org.eclipse.net4j.jms.tests/.externalToolBuilders/org.eclipse.net4j.jms.tests.launch new file mode 100644 index 0000000000..5a4c564e1b --- /dev/null +++ b/plugins/org.eclipse.net4j.jms.tests/.externalToolBuilders/org.eclipse.net4j.jms.tests.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:<?xml version="1.0" encoding="UTF-8"?> <resources> <item path="/org.eclipse.net4j.examples.installer/examples" type="2"/> </resources>}"/> +<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:<?xml version="1.0" encoding="UTF-8"?> <resources> <item path="/org.eclipse.net4j.examples.installer/examples/org.eclipse.net4j.jms.tests" type="2"/> <item path="/org.eclipse.net4j.jms.tests" type="4"/> </resources>}"/> +<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.net4j.jms.tests/.project b/plugins/org.eclipse.net4j.jms.tests/.project index 2bcf12a0d8..9aa43b7825 100644 --- a/plugins/org.eclipse.net4j.jms.tests/.project +++ b/plugins/org.eclipse.net4j.jms.tests/.project @@ -24,6 +24,19 @@ </dictionary> </arguments> </buildCommand> + <buildCommand> + <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name> + <arguments> + <dictionary> + <key>LaunchConfigHandle</key> + <value><project>/.externalToolBuilders/org.eclipse.net4j.jms.tests.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.net4j.jms.tests/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.net4j.jms.tests/.settings/org.eclipse.core.resources.prefs index a0de641104..f06cc0ffca 100644 --- a/plugins/org.eclipse.net4j.jms.tests/.settings/org.eclipse.core.resources.prefs +++ b/plugins/org.eclipse.net4j.jms.tests/.settings/org.eclipse.core.resources.prefs @@ -1,3 +1,3 @@ -#Mon Jul 04 12:55:53 CEST 2011 eclipse.preferences.version=1 - +encoding/.project=UTF-8 +encoding//model/org.eclipse.emf.cdo.defs.ecorediag=UTF-8 |