Author: nickboldt
Date: 2010-09-30 17:39:43 -0400 (Thu, 30 Sep 2010)
New Revision: 25364
Added:
trunk/build/target-platform/README.txt
Log:
Document how to use xml/xsl scripts for 1. target to local p2 repo; 2. updating .target
from repo versions; 3. installing from repo via script (p2.director)
Added: trunk/build/target-platform/README.txt
===================================================================
--- trunk/build/target-platform/README.txt (rev 0)
+++ trunk/build/target-platform/README.txt 2010-09-30 21:39:43 UTC (rev 25364)
@@ -0,0 +1,32 @@
+== HOWTO: Download the contents of a .target file to a local p2 repo on disk ==
+
+1. Run target2p2mirror.xml at a target file, eg.
+
+ ant -f target2p2mirror.xml -DtargetFile=e361-wtp322.target
+
+2. Run the resulting *.p2mirror.xml, eg., e361-wtp322.target.p2mirror.xml
+
+ /abs/path/to/eclipse -vm /opt/jdk1.6.0/bin/java -nosplash -data \
+ /tmp/workspace -consolelog -application \
+ org.eclipse.ant.core.antRunner -f e361-wtp322.target.p2mirror.xml \
+ -Ddebug=true \
+ -DfollowStrict=true \
+ -Drepo.dir=/tmp/REPO/
+
+3. Resulting repo can be added to Eclipse and from there, *uncategorized* features can be
installed.
+
+
+== Updating an existing .target file from newer versions of IUs in a repo ==
+
+1. Run targetUpdateFromRepo.xml against a given repo folder on disk, eg.
+
+ant -v -f targetUpdateFromRepo.xml -DtargetFile=e361-wtp322.target -DrepoDir=./REPO_SR1
+
+2. Resulting targetFile will be overwritten with updated version values from what was
found in the
+ repo's content.xml file.
+
+
+== Installing the contents of a repo into Eclipse (via script) ==
+
+1. See ../installation/README.txt
+
Property changes on: trunk/build/target-platform/README.txt
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Show replies by date