[jbosstools-commits] JBoss Tools SVN: r35821 - trunk/download.jboss.org/jbosstools/updates/requirements/swt.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Oct 19 14:26:23 EDT 2011


Author: nickboldt
Date: 2011-10-19 14:26:23 -0400 (Wed, 19 Oct 2011)
New Revision: 35821

Added:
   trunk/download.jboss.org/jbosstools/updates/requirements/swt/build.xml
Log:
add build.xml script, though deprecated, for reference should we need to revisit this solution in future (JBIDE-9853)

Added: trunk/download.jboss.org/jbosstools/updates/requirements/swt/build.xml
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/requirements/swt/build.xml	                        (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/requirements/swt/build.xml	2011-10-19 18:26:23 UTC (rev 35821)
@@ -0,0 +1,35 @@
+<?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/swt/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/swt/build.xml -Ddestination=/tmp/swt-repo
+
+		or, headless on local:
+	
+		java -cp /home/nboldt/eclipse/eclipse37/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">
+		<property name="destination" value="/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/swt/" />
+		<property name="compress" value="false" />
+
+		<delete>
+			<fileset dir="${destination}/3.7.0.v3735b-201106220-1614/" includes="**/artifacts.jar, **/contents.jar"/>
+		</delete>
+
+		<p2.publish.featuresAndBundles metadataRepository="file:${destination}/3.7.0.v3735b-201106220-1614/" artifactRepository="file:${destination}/3.7.0.v3735b-201106220-1614/" publishartifacts="true" source="${destination}/3.7.0.v3735b-201106220-1614/" compress="${compress}" />
+	</target>
+</project>



More information about the jbosstools-commits mailing list