Author: nickboldt
Date: 2012-01-05 09:02:34 -0500 (Thu, 05 Jan 2012)
New Revision: 37651
Added:
trunk/download.jboss.org/jbosstools/updates/requirements/bpmn2-modeler/
trunk/download.jboss.org/jbosstools/updates/requirements/bpmn2-modeler/bu...
Log:
new requirements builder for bpmn2 metamodel and modeler from
eclipse.org
Added:
trunk/download.jboss.org/jbosstools/updates/requirements/bpmn2-modeler/bu...
===================================================================
---
trunk/download.jboss.org/jbosstools/updates/requirements/bpmn2-modeler/bu...
(rev 0)
+++
trunk/download.jboss.org/jbosstools/updates/requirements/bpmn2-modeler/bu... 2012-01-05
14:02:34 UTC (rev 37651)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="mirror">
+ <!-- run locally in Eclipse (to resolve p2 tasks) using these commandline options:
+
+ -os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl}
+ -consoleLog -nosplash -data /tmp
+ -application org.eclipse.ant.core.antRunner
+ -f
"/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/bpmn2-modeler/build.xml"
+
+ or, run headless on qa01 server, where Eclipse is installed into ~/eclipse:
+
+ export JAVA_HOME=/opt/jdk1.6.0; \
+ ${JAVA_HOME}/bin/java -cp ~/eclipse/plugins/org.eclipse.equinox.launcher_*.jar \
+ org.eclipse.equinox.launcher.Main -vm ${JAVA_HOME} -consoleLog -nosplash -data /tmp \
+ -application org.eclipse.ant.core.antRunner \
+ -f ~/RHDS/updates/requirements/bpmn2-modeler/build.xml -Ddestination=/tmp/bpmn-repo
+
+ or, headless on local:
+
+ java -cp /home/nboldt/eclipse/eclipse371/plugins/org.eclipse.equinox.launcher_*.jar \
+ org.eclipse.equinox.launcher.Main -consoleLog -nosplash -data /tmp \
+ -application org.eclipse.ant.core.antRunner -f build.xml
+
+ -->
+ <target name="mirror">
+ <!-- 0.7.0 and 0.0.1, nightly versions -->
+ <property name="URL1"
value="https://hudson.eclipse.org/hudson/job/bpmn2-nightly/ws/org.ec...
/>
+ <property name="URL2"
value="https://hudson.eclipse.org/hudson/job/tycho-bpmn2modeler-0.0....
/>
+ <!-- 0.7.0 and 0.0.1, published versions -->
+ <property name="URL1"
value="http://download.eclipse.org/bpmn2-modeler/bpmn2/site/" />
+ <property name="URL2"
value="http://download.eclipse.org/bpmn2-modeler/site/" />
+ <property name="destination"
value="/home/nboldt/tru/download.jboss.org/jbosstools/updates/requir...
/>
+ <property name="compress" value="true" />
+
+ <p2.mirror>
+ <repository location="file:${destination}/20120105-0830/"
name="Eclipse BPEL for Eclipse 3.7 (Not in Indigo)" />
+ <source>
+ <repository location="${URL1}" />
+ <repository location="${URL2}" />
+ </source>
+
+ <slicingOptions includeFeatures="true" followStrict="true"
latestversiononly="true" />
+ </p2.mirror>
+
+ <delete>
+ <fileset dir="${destination}/20120105-0830/"
includes="**/artifacts.jar, **/contents.jar"/>
+ </delete>
+
+ <p2.publish.featuresAndBundles
metadataRepository="file:${destination}/20120105-0830/"
artifactRepository="file:${destination}/20120105-0830/"
publishartifacts="true" source="${destination}/20120105-0830/"
compress="${compress}" />
+ </target>
+</project>