[jbosstools-commits] JBoss Tools SVN: r22802 - trunk/build/target-platform.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Jun 14 19:32:48 EDT 2010


Author: nickboldt
Date: 2010-06-14 19:32:48 -0400 (Mon, 14 Jun 2010)
New Revision: 22802

Added:
   trunk/build/target-platform/install.xml
Removed:
   trunk/build/target-platform/build.xml
Log:
https://jira.jboss.org/browse/JBDS-1247 rename to install.xml and add TODO re: p2.director to do installation (rather than just a p2 repo mirror)

Deleted: trunk/build/target-platform/build.xml
===================================================================
--- trunk/build/target-platform/build.xml	2010-06-14 23:28:55 UTC (rev 22801)
+++ trunk/build/target-platform/build.xml	2010-06-14 23:32:48 UTC (rev 22802)
@@ -1,33 +0,0 @@
-<project default="run" basedir="." name="Install a target platform into local Eclipse">
-	<!-- To fetch a number of features remote repo(s) and mirror them locally, run this in target/platform dir:
-	
-		~/eclipse/36clean/eclipse/eclipse -nosplash -data /tmp/workspace -consolelog \
-			-application org.eclipse.ant.core.antRunner -f build.xml | tee log.txt
-	-->
-
-	<!-- what target file should be installed? -->
-	<property name="target.to.install" value="e36-wtp32.target" />
-
-	<!-- where should this target be installed? Into ${eclipse.home} or /path/to/eclipse -->
-	<!-- <property name="eclipse.install.dir" value="${eclipse.home}" /> -->
-	<property name="eclipse.install.dir" value="/home/nboldt/eclipse/36clean2/eclipse" />
-
-	<target name="init" unless="eclipse.install.dir">
-		<fail>Must set -Declipse.install.dir=/path/to/install/</fail>
-	</target>
-
-	<target name="run" depends="init" if="eclipse.install.dir">
-
-		<!-- create p2.mirror ant script -->
-		<property name="mirror" value="p2.mirror.xml" />
-		<xslt style="target2ant.xsl" in="${target.to.install}" out="${mirror}" force="true" />
-
-		<!-- run generated p2.mirror ant script -->
-		<ant antfile="p2.mirror.xml">
-			<property name="eclipse.install.dir" value="${eclipse.install.dir}" />
-		</ant>
-
-		<!-- cleanup -->
-		<delete file="${mirror}" quiet="true" />
-	</target>
-</project>

Copied: trunk/build/target-platform/install.xml (from rev 22801, trunk/build/target-platform/build.xml)
===================================================================
--- trunk/build/target-platform/install.xml	                        (rev 0)
+++ trunk/build/target-platform/install.xml	2010-06-14 23:32:48 UTC (rev 22802)
@@ -0,0 +1,38 @@
+<project default="run" basedir="." name="Install a target platform into local Eclipse">
+	<!-- To fetch a number of features remote repo(s) and mirror them locally, run this in target/platform dir:
+	
+		~/eclipse/36clean/eclipse/eclipse -nosplash -data /tmp/workspace -consolelog \
+			-application org.eclipse.ant.core.antRunner -f install.xml \
+			-Dtarget.to.install=e36-wtp32.target \
+			-Declipse.install.dir=/path/to/install/dir | tee log.txt
+	-->
+
+	<!-- what target file should be installed? -->
+	<property name="target.to.install" value="e36-wtp32.target" />
+
+	<!-- where should this target be installed? Into ${eclipse.home} or /path/to/eclipse -->
+	<!-- <property name="eclipse.install.dir" value="${eclipse.home}" /> -->
+	<property name="eclipse.install.dir" value="/home/nboldt/eclipse/36clean2/eclipse" />
+
+	<target name="init" unless="eclipse.install.dir">
+		<fail>Must set -Declipse.install.dir=/path/to/install/</fail>
+	</target>
+
+	<target name="run" depends="init" if="eclipse.install.dir">
+
+		<!-- create p2.mirror ant script -->
+		<property name="mirror" value="p2.mirror.xml" />
+		<xslt style="target2ant.xsl" in="${target.to.install}" out="${mirror}" force="true" />
+
+		<!-- run generated p2.mirror ant script -->
+		<ant antfile="p2.mirror.xml">
+			<property name="eclipse.install.dir" value="${eclipse.install.dir}" />
+		</ant>
+
+		<!-- cleanup -->
+		<delete file="${mirror}" quiet="true" />
+
+		<!-- TODO: run p2.director to install from mirror into eclipse -->
+
+	</target>
+</project>


Property changes on: trunk/build/target-platform/install.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain



More information about the jbosstools-commits mailing list