diff options
author | Eike Stepper | 2011-07-15 04:57:50 +0000 |
---|---|---|
committer | Eike Stepper | 2011-07-15 04:57:50 +0000 |
commit | e85b5804ee746409c8974711f0cbcd3178d6832e (patch) | |
tree | 577343f709a293a8b45c02a72478c754cc208330 | |
parent | d2d1b4394e5bbb3c3656b709f4c17bda53ee0ab6 (diff) | |
download | cdo-e85b5804ee746409c8974711f0cbcd3178d6832e.tar.gz cdo-e85b5804ee746409c8974711f0cbcd3178d6832e.tar.xz cdo-e85b5804ee746409c8974711f0cbcd3178d6832e.zip |
[351616] [releng] Provide platform-specific CDOServer + CDOExplorer downloads
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351616
3 files changed, 72 insertions, 39 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng/build.xml b/plugins/org.eclipse.emf.cdo.releng/build.xml index c3d108d1a5..1ecb291ba2 100644 --- a/plugins/org.eclipse.emf.cdo.releng/build.xml +++ b/plugins/org.eclipse.emf.cdo.releng/build.xml @@ -182,7 +182,7 @@ <property name="buckminster.output.root" location="${result}/output" /> <property name="buckminster.temp.root" location="${result}/temp" /> - </target > + </target> <!-- ========== --> <!-- Init Clean --> @@ -205,7 +205,7 @@ <delete dir="${buckminster.temp.root}" includeemptydirs="true" failonerror="true" quiet="true" /> <mkdir dir="${result}" /> - </target > + </target> <!-- ========== --> <!-- Init Tools --> @@ -272,24 +272,31 @@ </eclipse.launch> </then> </if> - </target > + </target> <!-- ================ --> <!-- Init Build Infos --> <!-- ================ --> <target name="-init.buildinfos" depends="-init.clean"> - <xmlproperty keeproot="false"> - <url url="${hudson.BUILD_URL}/api/xml?tree=actions[causes[shortDescription]]" /> - </xmlproperty> - <loadresource property="build.trigger"> - <propertyresource name="action.cause.shortDescription" /> - <filterchain> - <replaceregex pattern="^Started by " replace="" /> - <replaceregex pattern="^Gestartet durch " replace="" /> - <replaceregex pattern="Benutzer" replace="user" /> - </filterchain> - </loadresource> + <if> + <not> + <isset property="build.trigger" /> + </not> + <then> + <xmlproperty keeproot="false"> + <url url="${hudson.BUILD_URL}/api/xml?tree=actions[causes[shortDescription]]" /> + </xmlproperty> + <loadresource property="build.trigger"> + <propertyresource name="action.cause.shortDescription" /> + <filterchain> + <replaceregex pattern="^Started by " replace="" /> + <replaceregex pattern="^Gestartet durch " replace="" /> + <replaceregex pattern="Benutzer" replace="user" /> + </filterchain> + </loadresource> + </then> + </if> <echo message="build.trigger = ${build.trigger}" /> <if> @@ -376,7 +383,7 @@ <echoproperties destfile="${result}/all.properties" /> <echo message="${hudson.JOB_URL}ws/result/all.properties" /> - </target > + </target> <!-- ============== --> <!-- Init Workspace --> @@ -488,7 +495,12 @@ </fileset> </copy> - <antcall target="-generate.all" /> + <if> + <equals arg1="${hudson.GENERATE_PRODUCTS}" arg2="true" /> + <then> + <antcall target="-generate.all" /> + </then> + </if> </target> <!-- ==== --> diff --git a/plugins/org.eclipse.emf.cdo.releng/hudson/Simulate Hudson Build.launch b/plugins/org.eclipse.emf.cdo.releng/hudson/Simulate Hudson Build.launch new file mode 100644 index 0000000000..364d437abd --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.releng/hudson/Simulate Hudson Build.launch @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="true"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:<?xml version="1.0" encoding="UTF-8"?> <resources> <item path="/hudson" type="4"/> </resources>}"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.eclipse.emf.cdo.releng/hudson/hudson.ant"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_23"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.emf.cdo.releng"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/org.eclipse.emf.cdo.releng/hudson/hudson.ant}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
diff --git a/plugins/org.eclipse.emf.cdo.releng/hudson/hudson.ant b/plugins/org.eclipse.emf.cdo.releng/hudson/hudson.ant index 9ecc0fdc88..2313722d16 100644 --- a/plugins/org.eclipse.emf.cdo.releng/hudson/hudson.ant +++ b/plugins/org.eclipse.emf.cdo.releng/hudson/hudson.ant @@ -9,30 +9,30 @@ Contributors: Eike Stepper - initial API and implementation --> -<project name="Hudson" basedir="."> +<project name="Hudson" basedir=".." default="hudson"> - <target name="-init.properties"> - <!-- Build Parameters --> - <property name="BUILD_TYPE" value="N" /> - <property name="LOGLEVEL" value="INFO" /> - <property name="CLEAN_TOOLS" value="false" /> - <property name="CLEAN_TP" value="false" /> + <property name="hudson.root" location="/develop/ws/cdo/releng/hudson" /> + <property name="checkout" location="/develop/ws/cdo" /> + <property name="platform" value="Windows" /> - <!-- Job Settings --> - <property name="checkout" location="/develop/ws/cdo" /> - <property name="platform" value="Windows" /> - - <!-- Hudson Variables --> - <property name="hudson.root" location="temp" /> - - <property name="WORKSPACE" location="hudson" /> - <property name="HUDSON_URL" value="value" /> - <property name="JOB_URL" value="value" /> - <property name="JOB_NAME" value="value" /> - <property name="BUILD_URL" value="value" /> - <property name="BUILD_ID" value="value" /> - <property name="BUILD_NUMBER" value="value" /> - <property name="SVN_REVISION" value="value" /> - </target > + <target name="hudson"> + <ant antfile="${basedir}/build.xml" target="site.p2" inheritall="true" dir="${basedir}"> + <property name="build.trigger" value="user estepper" /> + + <property name="hudson.BUILD_TYPE" value="N" /> + <property name="hudson.LOGLEVEL" value="INFO" /> + <property name="hudson.CLEAN_TOOLS" value="false" /> + <property name="hudson.CLEAN_TP" value="false" /> + <property name="hudson.GENERATE_PRODUCTS" value="false" /> + <property name="hudson.JOB_NAME" value="emf-cdo-integration" /> + <property name="hudson.BUILD_NUMBER" value="1" /> + <property name="hudson.WORKSPACE" location="${hudson.root}" /> + <property name="hudson.HUDSON_URL" value="file://${hudson.root}" /> + <property name="hudson.JOB_URL" value="${HUDSON_URL}/jobs/${JOB_NAME}" /> + <property name="hudson.BUILD_URL" value="${JOB_URL}/${BUILD_NUMBER}" /> + <property name="hudson.BUILD_ID" value="2011-07-14_23-29-20" /> + <property name="hudson.SVN_REVISION" value="0815" /> + </ant> + </target> </project> |