Author: nickboldt
Date: 2010-10-01 20:32:13 -0400 (Fri, 01 Oct 2010)
New Revision: 25420
Added:
branches/jbosstools-3.2.0.Beta1/build/target-platform/README.txt
branches/jbosstools-3.2.0.Beta1/build/target-platform/contentXml2artifactVersions.xsl
branches/jbosstools-3.2.0.Beta1/build/target-platform/e361-wtp322.target
branches/jbosstools-3.2.0.Beta1/build/target-platform/e361-wtp322.target.p2mirror.xml
branches/jbosstools-3.2.0.Beta1/build/target-platform/target2p2mirror.xml
branches/jbosstools-3.2.0.Beta1/build/target-platform/target2p2mirrorXml.xsl
branches/jbosstools-3.2.0.Beta1/build/target-platform/target2targetTemplate.xsl
branches/jbosstools-3.2.0.Beta1/build/target-platform/targetUpdateFromRepo.xml
Removed:
branches/jbosstools-3.2.0.Beta1/build/target-platform/install.xml
branches/jbosstools-3.2.0.Beta1/build/target-platform/target2ant.xsl
Modified:
branches/jbosstools-3.2.0.Beta1/build/target-platform/e36-wtp32.target
branches/jbosstools-3.2.0.Beta1/build/target-platform/pom.xml
Log:
switch to e361-wtp322 target platform; port from trunk into branch
Added: branches/jbosstools-3.2.0.Beta1/build/target-platform/README.txt
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/README.txt
(rev 0)
+++ branches/jbosstools-3.2.0.Beta1/build/target-platform/README.txt 2010-10-02 00:32:13
UTC (rev 25420)
@@ -0,0 +1,52 @@
+== 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.
+
+
+== HOWTO: Publish local p2 repo (generated from .target) to
download.jboss.org ==
+
+1. Zip the repo
+
+ cd /tmp/REPO; zip -9r e361-wtp322.target.zip *
+
+2. Push to qa01
+
+ rsync e361-wtp322.target.zip nboldt@qa01:~/
+
+3. Ssh to qa01; sudo to hudson; unpack and push contents + zip to
download.jboss.org
+
+ sudo su - hudson
+ unzip /home/nboldt/e361-wtp322.target.zip -d /tmp/e361-wtp322.target
+ rsync -aPrz --rsh=ssh /tmp/e361-wtp322.target/* \
+ tools@filemgmt.jboss.org:/downloads_htdocs/tools/updates/target-platform/latest/
+ rsync -aPrz --rsh=ssh /home/nboldt/e361-wtp322.target.zip \
+ tools@filemgmt.jboss.org:/downloads_htdocs/tools/updates/target-platform
+
+
+== HOWTO: Update 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.
+
+
+== HOWTO: Install the contents of a repo into Eclipse (via script) ==
+
+1. See ../installation/README.txt
+
Added:
branches/jbosstools-3.2.0.Beta1/build/target-platform/contentXml2artifactVersions.xsl
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/contentXml2artifactVersions.xsl
(rev 0)
+++
branches/jbosstools-3.2.0.Beta1/build/target-platform/contentXml2artifactVersions.xsl 2010-10-02
00:32:13 UTC (rev 25420)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
+<!--
+ This XSLT is used by targetUpdateFromRepo.xml to update the versions on IUs in a .target
file
+ CAUTION: do not auto-format this file or line breaks will appear where they should not
be!
+-->
+<xsl:output method="text" indent="no" encoding="UTF-8"
version="1.0" />
+<xsl:template match="repository">
+<xsl:apply-templates select="//unit" />
+</xsl:template>
+<xsl:template match="//unit"><xsl:value-of select="@id"
/>.version=<xsl:value-of select="@version" />
+#
+</xsl:template>
+</xsl:stylesheet>
Modified: branches/jbosstools-3.2.0.Beta1/build/target-platform/e36-wtp32.target
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/e36-wtp32.target 2010-10-02
00:31:21 UTC (rev 25419)
+++ branches/jbosstools-3.2.0.Beta1/build/target-platform/e36-wtp32.target 2010-10-02
00:32:13 UTC (rev 25420)
@@ -21,6 +21,12 @@
<repository
location="http://download.eclipse.org/technology/subversive/0.7/upda...
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+<repository
location="http://download.eclipse.org/technology/subversive/0.7/week...
+</location>
+<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+<repository
location="http://download.eclipse.org/technology/subversive/0.7/head...
+</location>
+<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
@@ -81,17 +87,11 @@
<unit id="org.eclipse.help.feature.group"
version="1.2.0.v20100427-7e7jEKFEx2XlnZinYPtgz03"/>
<unit id="org.eclipse.jdt.feature.group"
version="3.6.0.v20100526-0800-7z8XFUJFMTfCWGoVuHImpms9H155"/>
<unit id="org.eclipse.platform.feature.group"
version="3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY"/>
-<unit id="org.eclipse.platform.ide"
version="3.6.0.I20100608-0911"/>
<unit id="org.eclipse.equinox.executable.feature.group"
version="3.4.0.v20100524-7M7K-FIhIez-egBko15H73"/>
-<unit id="org.eclipse.equinox.executable"
version="3.4.0.v20100524-7M7K-FIhIez-egBko15H73"/>
-<unit id="org.eclipse.platform.sdk"
version="3.6.0.I20100608-0911"/>
<unit id="org.eclipse.pde.feature.group"
version="3.6.0.v20100525-7b7mFKtFEx2XmfZ4_B7NUJA"/>
<unit id="org.eclipse.sdk.feature.group"
version="3.6.0.v20100427-7Q7m-DPY2dP0s7TnP1vxqsprbrvrHJwHMVz0mb8mhRXmu"/>
<unit id="org.eclipse.rcp.feature.group"
version="3.6.0.v20100519-9OArFKvFtsd7WLUKh-DcYTS"/>
-<unit id="org.eclipse.rcp.id" version="3.6.0.I20100608-0911"/>
-<unit id="org.eclipse.rcp.sdk.id"
version="3.6.0.I20100608-0911"/>
<unit id="org.eclipse.releng.tools.feature.group"
version="3.3.0.v20100427-44A77w31211642"/>
-<unit id="org.eclipse.sdk.ide"
version="3.6.0.I20100608-0911"/>
<unit id="org.eclipse.sdk.examples.feature.group"
version="3.3.0.v20100527-817fFcfFEdcVbpRlgyBRcVX"/>
<unit id="org.eclipse.sdk.examples.source.feature.group"
version="3.3.0.v20100527"/>
<unit id="org.eclipse.equinox.compendium.sdk.feature.group"
version="3.6.0.v20100421-7V7RFisFNObpCoqow"/>
@@ -105,10 +105,9 @@
<unit id="org.eclipse.equinox.server.jetty.feature.group"
version="1.0.0.v20100510-7I777iBgJ9DIARGH8IIQ"/>
<unit id="org.eclipse.equinox.server.p2.feature.group"
version="1.0.0.v20100503-7x7IFGFFT0z0-V-1UUj-XDpu"/>
<unit id="org.eclipse.pde.api.tools.ee.fragments.feature.group"
version="1.0.0.v20100427-7C-7BF9JgLWLMBMMAMsLL"/>
-<unit id="org.eclipse.equinox.p2.ui.admin.rcp.product"
version="1.1.0.I20100608-0911"/>
<unit id="org.eclipse.equinox.server.servletbridge.feature.group"
version="1.0.0.v20100510-42A79oB5855K5E"/>
<unit id="org.eclipse.equinox.server.simple.feature.group"
version="1.0.0.v20100510-44DF8s734C48662444"/>
-<repository
location="http://download.eclipse.org/eclipse/updates/3.6/"/>
+<repository
location="http://download.eclipse.org/eclipse/updates/3.6.x/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
<unit id="org.eclipse.birt.feature.group"
version="2.6.0.v20100617-9gF727DGKb0yl9AwWxpmbo35PwQ_"/>
@@ -138,7 +137,6 @@
<unit id="org.eclipse.wst.web_ui.feature.feature.group"
version="3.2.0.v201005241510-7O7CFb3EMf84nP-FHuc10NTz--M3"/>
<unit id="org.eclipse.wst.xml_ui.feature.feature.group"
version="3.2.0.v201005241510-7H7AFUIDxumQGOb7ocjUR2Pvz-28"/>
<unit id="org.eclipse.wst.xsl.feature.feature.group"
version="1.1.0.v201005241600-7S7WFAKFIpS---NRIS1pbfYBUIQ"/>
-<!-- <unit id="org.eclipse.jst.jsf.tests.feature.feature.group"
version="3.2.0.v20100524-7E7W1FBBoPbPQIiTa3454"/> -->
<unit id="org.eclipse.wst.jsdt.feature.feature.group"
version="1.2.0.v201005270528-7C78FGDF9JgLWLMBWz-Ose6"/>
<unit id="org.eclipse.jsf.feature.feature.group"
version="3.2.0.v20100526-7E7I-F9JgLWLMBYy3114"/>
<unit id="org.eclipse.jst.ws.jaxws.dom.feature.feature.group"
version="1.0.0.v201005241530-5--AkF7B77NBZBgBg"/>
@@ -161,8 +159,8 @@
<unit id="org.eclipse.wst.web_core.feature.feature.group"
version="3.2.0.v201005241510-7E7AFHkAJrn5NL_6wTQDqKL5RwiQ"/>
<unit id="org.eclipse.wst.ws_ui.feature.feature.group"
version="3.2.0.v201005241510-7I78FXbEtEoKvbtBtJ4fGNrH2oBH"/>
<unit id="org.eclipse.wst.xml_core.feature.feature.group"
version="3.2.0.v201005241510-7C7OFXTF7RZHQHHxO4IuKe"/>
-<!--repository
location="http://download.eclipse.org/webtools/downloads/drops/R3.2....
-->
-<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+<repository
location="http://download.eclipse.org/webtools/downloads/drops/R3.2....
+<!-- repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
-->
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
<repository
location="http://download.jboss.org/jbosstools/builds/staging/jbosst...
Added: branches/jbosstools-3.2.0.Beta1/build/target-platform/e361-wtp322.target
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/e361-wtp322.target
(rev 0)
+++ branches/jbosstools-3.2.0.Beta1/build/target-platform/e361-wtp322.target 2010-10-02
00:32:13 UTC (rev 25420)
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
+<?pde version="3.6"?>
+<target includeMode="feature" name="e36-wtp32">
+ <locations>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="org.maven.ide.eclipse.feature.feature.group"
version="0.10.2.20100623-1649"/>
+ <repository
location="http://m2eclipse.sonatype.org/sites/m2e/"/>
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="org.maven.ide.eclipse.wtp.feature.feature.group"
version="0.10.0.20100209-0800"/>
+ <repository
location="http://m2eclipse.sonatype.org/sites/m2e-extras/"/>
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <repository
location="http://eclipse.svnkit.com/1.3.x/"/>
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <repository
location="http://www.polarion.org/projects/subversive/download/eclip...
+ </location>
+ <!-- <location includeAllPlatforms="false"
includeMode="planner" type="InstallableUnit">
+<repository
location="http://download.eclipse.org/technology/subversive/0.7/upda...
+</location>
+<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+<repository
location="http://download.eclipse.org/technology/subversive/0.7/head...
+</location> -->
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <repository
location="http://download.eclipse.org/technology/subversive/0.7/week...
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="javax.wsdl.feature.feature.group"
version="1.6.2.v201005080631"/>
+ <unit id="org.apache.oro.feature.feature.group"
version="2.0.8.v201005080400"/>
+ <unit id="org.jdom.feature.feature.group"
version="1.0.0.v201005080400"/>
+ <repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+ </location>
+ <!-- <location includeAllPlatforms="false"
includeMode="planner" type="InstallableUnit">
+<unit id="org.mozilla.xulrunner.feature.feature.group"
version="1.9.2"/>
+<unit id="org.mozilla.xpcom.feature.feature.group"
version="1.9.2"/>
+<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+</location> -->
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="org.mozilla.xulrunner.feature.feature.group"
version="1.9.12.v20100909-1551-H34-M2"/>
+ <unit id="org.mozilla.xpcom.feature.feature.group"
version="1.9.12.v20100909-1551-H34-M2"/>
+ <repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <repository
location="http://download.eclipse.org/rt/ecf/3.2/3.6/site.p2"/>
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <repository
location="http://download.eclipse.org/tptp/updates/"/>
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="org.eclipse.emf.ecore.feature.group"
version="2.6.1.v20100914-1218"/>
+ <unit id="org.eclipse.emf.feature.group"
version="2.6.1.v20100914-1218"/>
+ <unit id="org.eclipse.emf.codegen.feature.group"
version="2.6.0.v20100914-1218"/>
+ <unit id="org.eclipse.emf.common.feature.group"
version="2.6.0.v20100914-1218"/>
+ <unit id="org.eclipse.emf.databinding.feature.group"
version="1.2.0.v20100914-1218"/>
+ <unit id="org.eclipse.emf.codegen.ecore.feature.group"
version="2.6.1.v20100914-1218"/>
+ <unit id="org.eclipse.emf.ecore.edit.feature.group"
version="2.6.0.v20100914-1218"/>
+ <unit id="org.eclipse.emf.ecore.editor.feature.group"
version="2.6.0.v20100914-1218"/>
+ <unit id="org.eclipse.emf.ecore.feature.group"
version="2.6.1.v20100914-1218"/>
+ <unit id="org.eclipse.emf.edit.feature.group"
version="2.6.0.v20100914-1218"/>
+ <unit id="org.eclipse.xsd.feature.group"
version="2.6.0.v20100914-1218"/>
+ <repository
location="http://download.eclipse.org/modeling/emf/emf/updates/2.6/R...
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="org.eclipse.swtbot.eclipse.feature.group"
version="2.0.0.595-dev-e36"/>
+ <unit id="org.eclipse.swtbot.eclipse.gef.feature.group"
version="2.0.0.595-dev-e36"/>
+ <unit id="org.eclipse.swtbot.ide.feature.group"
version="2.0.0.595-dev-e36"/>
+ <unit id="org.eclipse.swtbot.eclipse.test.junit4.feature.group"
version="2.0.0.595-dev-e36"/>
+ <unit id="org.eclipse.swtbot.feature.group"
version="2.0.0.595-dev-e36"/>
+ <repository
location="http://download.eclipse.org/technology/swtbot/helios/dev-b...
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="org.eclipse.birt.osgi.runtime.sdk.feature.group"
version="2.6.1.v20100617a-57B185wFfAqPz0Ef8mBsMkG-0hfS"/>
+ <unit id="org.eclipse.birt.feature.group"
version="2.6.1.v20100709a-9iF7A8FGLY4z0pxX3ORrsdrp6JXb"/>
+ <unit id="org.eclipse.birt.integration.wtp.feature.group"
version="2.6.1.v20100915-1750-35-7w31211A2602861"/>
+ <repository
location="http://download.eclipse.org/birt/update-site/2.6/"/>
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="com.ibm.icu.base.feature.group"
version="1.1.0.v20090119-79318s73533B57"/>
+ <unit id="org.eclipse.equinox.server.core.feature.group"
version="1.0.0.v20100510-7K7QErDzbb9z-yqHb55T7I"/>
+ <unit id="org.eclipse.cvs.feature.group"
version="1.2.0.v20100427-7B77FKt90GE5h0SBT5FV9A01911"/>
+ <unit id="org.eclipse.help.feature.group"
version="1.2.0.v20100427-7e7jEQFEp4jsWcboLU9l93"/>
+ <unit id="org.eclipse.jdt.feature.group"
version="3.6.1.r361_v20100714-0800-7z8XFUSFLFlmgLc5z-Bvrt8-HVkH"/>
+ <unit id="org.eclipse.platform.feature.group"
version="3.6.1.r361_v20100910-9gF78GroFrD9Uh-LhvxMFCV2hCz01p6896L"/>
+ <unit id="org.eclipse.platform.ide"
version="3.6.1.M20100929-0800"/>
+ <unit id="org.eclipse.equinox.executable.feature.group"
version="3.4.1.R36x_v20100823-7M7K7JF90dnJ-WLf3cf4yi"/>
+ <unit id="org.eclipse.equinox.executable"
version="3.4.1.R36x_v20100823-7M7K7JF90dnJ-WLf3cf4yi"/>
+ <unit id="org.eclipse.platform.sdk"
version="3.6.1.M20100909-0800"/>
+ <unit id="org.eclipse.pde.feature.group"
version="3.6.1.r361_v20100727-7b7mFL-FET3dhESDgE5_bkJ"/>
+ <unit id="org.eclipse.sdk.feature.group"
version="3.6.1.r361_v20100714-0800-7Q7m6DDaKf5o53L9dz-d8n-yz-tWdHTE5xVLpsrf4c764"/>
+ <unit id="org.eclipse.rcp.feature.group"
version="3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T"/>
+ <unit id="org.eclipse.rcp.id"
version="3.6.0.M20100909-0800"/>
+ <unit id="org.eclipse.rcp.sdk.id"
version="3.6.0.M20100929-0800"/>
+ <unit id="org.eclipse.releng.tools.feature.group"
version="3.3.0.v20100427-44A77w31211642"/>
+ <unit id="org.eclipse.sdk.ide"
version="3.6.1.M20100929-0800"/>
+ <unit id="org.eclipse.sdk.examples.feature.group"
version="3.3.0.v20100527-817fFcfFEdcVcRZlgyBRcVX"/>
+ <unit id="org.eclipse.sdk.examples.source.feature.group"
version="3.3.0.v20100527"/>
+ <unit id="org.eclipse.equinox.compendium.sdk.feature.group"
version="3.6.0.v20100421-7V7RFiwFLSgEt4Pctn77c7J"/>
+ <unit id="org.eclipse.equinox.core.sdk.feature.group"
version="3.6.0.v20100603-7sF99FsHFTw8HQBta4g33J3F"/>
+ <unit id="org.eclipse.equinox.p2.discovery.feature.feature.group"
version="1.0.0.v20100510-4--9oB5855K7P"/>
+ <unit id="org.eclipse.equinox.p2.user.ui.feature.group"
version="2.0.1.r361_v20100903-897HFZFFZRuSD2LMtVxyz0Vr"/>
+ <unit id="org.eclipse.equinox.p2.sdk.feature.group"
version="3.6.0.v20100503-9I7VGAeG8tz-BY6jz0w2HLRYr"/>
+ <unit id="org.eclipse.equinox.serverside.sdk.feature.group"
version="3.6.0.v20100421-7u7NFVgFN5JdPKPhDHd_6Yqc54uw"/>
+ <unit id="org.eclipse.equinox.sdk.feature.group"
version="3.6.1.r361_v20100903-7H7R07v8rtOZyYbv1I6aZgou5z07"/>
+ <unit id="org.eclipse.equinox.weaving.sdk.feature.group"
version="1.0.0.v20100421-79--EVVFNFFsFc"/>
+ <unit id="org.eclipse.equinox.server.jetty.feature.group"
version="1.0.0.v20100510-7I777iBgJ9DIARGH8IIQ"/>
+ <unit id="org.eclipse.equinox.server.p2.feature.group"
version="1.0.0.v20100503-7x7IFGOFQ74dz0POCNUBjA6L"/>
+ <unit id="org.eclipse.pde.api.tools.ee.fragments.feature.group"
version="1.0.0.v20100427-7C-7BF9JgLWLMBMMAMsLL"/>
+ <unit id="org.eclipse.equinox.p2.ui.admin.rcp.product"
version="1.1.0.M20100929-0800"/>
+ <unit id="org.eclipse.equinox.server.servletbridge.feature.group"
version="1.0.0.v20100510-42A79oB5855K5E"/>
+ <unit id="org.eclipse.equinox.server.simple.feature.group"
version="1.0.0.v20100510-44DF8s734C48662444"/>
+ <repository
location="http://download.eclipse.org/eclipse/updates/3.6.x/"/>
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="org.eclipse.birt.feature.group"
version="2.6.1.v20100709a-9iF7A8FGLY4z0pxX3ORrsdrp6JXb"/>
+ <unit id="org.eclipse.datatools.connectivity.feature.feature.group"
version="1.8.0.v201005280400-7C7b8cEt1ZvsifWcrT8a-F-sz05R"/>
+ <unit id="org.eclipse.datatools.enablement.feature.feature.group"
version="1.8.0.v201005280400-7J8x0BWwUK6x2yoco_A-q71HMuLt"/>
+ <unit id="org.eclipse.datatools.sdk.feature.feature.group"
version="1.8.0.v201005280400-7P9i0FDxNYrk4QYG-9qpz0N-vbEp"/>
+ <unit id="org.eclipse.datatools.enablement.jdt.feature.feature.group"
version="1.8.0.v201005280400-2-07w31211518181A"/>
+ <unit id="org.eclipse.datatools.modelbase.feature.feature.group"
version="1.8.0.v201005280400-77077CcNBGKBWJ_HWVi"/>
+ <unit
id="org.eclipse.datatools.enablement.apache.derby.feature.feature.group"
version="1.8.1.v20100618-77778eBmKDNOMgJvJ8Of7QBR"/>
+ <unit id="org.eclipse.draw2d.feature.group"
version="3.6.0.v20100519-2050-45-7w3121163602336"/>
+ <unit id="org.eclipse.gef.feature.group"
version="3.6.0.v20100519-2050-777B-81A2Bz-69793A8B83447"/>
+ <unit id="org.eclipse.zest.feature.group"
version="1.2.0.v20100519-2050-678-8yE4F-8HAH4DFEF3447"/>
+ <unit id="org.eclipse.uml2.feature.group"
version="3.1.0.v201006071150"/>
+ <unit id="org.eclipse.rse.feature.group"
version="3.2.1.v201008191400-7L78FA-8wqbPcNj4qa8R0eViy7vZ"/>
+ <repository
location="http://download.eclipse.org/releases/helios/"/>
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="org.eclipse.jst.jee"
version="1.0.301.v201007151900"/>
+ <unit id="org.eclipse.wst.common.frameworks"
version="1.2.0.v201003040800"/>
+ <unit id="org.eclipse.wst.common.project.facet.ui"
version="1.4.102.v201008170019"/>
+ <unit id="org.eclipse.jst.jee.web"
version="1.0.301.v201007070907"/>
+ <unit id="org.eclipse.jst.common.fproj.enablement.jdt.feature.group"
version="3.2.2.v201008170019-377AB8s73533J5J759F"/>
+
+ <unit id="org.eclipse.jst.ws.axis2tools.feature.feature.group"
version="1.1.100.v201005241530-78-FF0DZRDKDDePSKwHj"/>
+ <unit id="org.eclipse.jst.ws.cxf.feature.feature.group"
version="1.0.2.v201008232129-7H777DFAKlRiOX8lGdRoz0878J"/>
+ <unit id="org.eclipse.jpt.feature.feature.group"
version="2.3.2.v201008242310-7N7UF75FD3wTgbUpoff0aT"/>
+ <unit id="org.eclipse.wst.common.fproj.feature.group"
version="3.2.2.v201008170019-377AB8s73533J5H335L"/>
+ <unit id="org.eclipse.jst.enterprise_ui.feature.feature.group"
version="3.2.2.v201008190400-7b7GHf2FSK2WBLQ2D-mrubYEOrRh"/>
+ <unit id="org.eclipse.wst.web_ui.feature.feature.group"
version="3.2.2.v201008100100-7O7CFbKEMf84nUlEJyX7-SPQjhYZ"/>
+ <unit id="org.eclipse.wst.xml_ui.feature.feature.group"
version="3.2.2.v201008170029-7H7AFUQDxumQGOpBqffOY2f1qxDZ"/>
+ <unit id="org.eclipse.wst.xsl.feature.feature.group"
version="1.1.2.v201009091745-7S7WFAPFIpS-1-NbCE6tnacCXKP"/>
+ <unit id="org.eclipse.wst.jsdt.feature.feature.group"
version="1.2.2.v201008170101-7C78FGMF9JgLWLMUUEMtXc"/>
+ <unit id="org.eclipse.jsf.feature.feature.group"
version="3.2.2.v201008231400-7E7I6F9JgLWLMUW3"/>
+ <unit id="org.eclipse.jst.ws.jaxws.dom.feature.feature.group"
version="1.0.0.v201005241530-5--AkF7B77NBZBgBg"/>
+ <unit id="org.eclipse.jst.ws.jaxws.feature.feature.group"
version="1.0.1.v201008232129-7E777CF8NcJSSK-UBTwXn"/>
+ <unit id="org.eclipse.jst.enterprise_core.feature.feature.group"
version="3.2.1.v201007070821-52FMTAkF7B77UBR7W98"/>
+ <unit id="org.eclipse.jst.server_adapters.ext.feature.feature.group"
version="3.2.2.v20100818b-777HFGRCcNBDiBjIbhBA8"/>
+ <unit id="org.eclipse.jst.server_adapters.feature.feature.group"
version="3.2.0.v201005241530-208Z7w31211419"/>
+ <unit id="org.eclipse.jst.server_core.feature.feature.group"
version="3.2.0.v201005241530-31FA28s73533C66"/>
+ <unit id="org.eclipse.jst.server_ui.feature.feature.group"
version="3.2.2.v20100908-7A5FEi9xFc7RCJMToAIOJC43A"/>
+ <unit id="org.eclipse.jst.web_ui.feature.feature.group"
version="3.2.2.v201008170029-7F77FJSC25Tkdy1nqglPjqLAoDgh"/>
+ <unit id="org.eclipse.jsf.feature.source.feature.group"
version="3.2.2.v201008231400-7E7I6F9JgLWLMUW3"/>
+ <unit id="org.eclipse.wst.xml.xpath2.processor.feature.feature.group"
version="1.1.5.v201009091745-67K2BgJ9DIAXCbBWJO"/>
+ <unit id="org.eclipse.jst.webpageeditor.feature.feature.group"
version="2.3.1.v20100906-4609oB5855L6N"/>
+ <unit id="org.eclipse.wst.ws_wsdl15.feature.feature.group"
version="1.5.300.v201005241450-2407w312116191741"/>
+ <unit id="org.eclipse.wst.common_core.feature.feature.group"
version="3.2.2.v201008091400-7B7DFElF7RZHOZJ6W0PsNJ"/>
+ <unit id="org.eclipse.wst.common_ui.feature.feature.group"
version="3.2.2.v201008091400-7C78FPhEdhO_mXde7kbap_K7X1Qt"/>
+ <unit id="org.eclipse.wst.server_adapters.feature.feature.group"
version="3.2.0.v201005241510-51EoAkF77g8HBSc"/>
+ <unit id="org.eclipse.wst.server_core.feature.feature.group"
version="3.2.2.v20100908-30F8V8s734C3I3K"/>
+ <unit id="org.eclipse.wst.server_ui.feature.feature.group"
version="3.2.2.v20100908-7B4FBrAtJb1nESKmCJHPGQ347"/>
+ <unit id="org.eclipse.wst.web_core.feature.feature.group"
version="3.2.2.v201008100100-7E7AFHwAJrn5PM15pUYBwJLkSG8j"/>
+ <unit id="org.eclipse.wst.ws_ui.feature.feature.group"
version="3.2.2.v201008211705-7I78FZFEtEoO2c5BlJ4jPNvNC-yS"/>
+ <unit id="org.eclipse.wst.xml_core.feature.feature.group"
version="3.2.2.v201008170029-7C7OFXYF7RZHQHI5PyJwPT"/>
+ <repository
location="http://download.eclipse.org/webtools/repository/helios/&qu...
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <repository
location="http://download.jboss.org/jbosstools/builds/staging/jbosst...
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <unit id="com.google.gdt.eclipse.suite.e36.feature.feature.group"
version="1.3.3.v201006111317"/>
+ <repository
location="http://dl.google.com/eclipse/plugin/3.6/"/>
+ </location>
+
+ <!-- additional
JBoss.org mirrors -->
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+ </location>
+ <location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+ <repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+ </location>
+ </locations>
+ <includeBundles>
+ <feature id="org.drools.eclipse.feature"/>
+ <feature id="org.drools.eclipse.task.feature"/>
+ <feature id="org.guvnor.tools.feature"/>
+ <feature id="org.mozilla.xulrunner.feature"/>
+ <feature id="org.mozilla.xpcom.feature"/>
+ </includeBundles>
+ <targetJRE
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+</target>
Added:
branches/jbosstools-3.2.0.Beta1/build/target-platform/e361-wtp322.target.p2mirror.xml
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/e361-wtp322.target.p2mirror.xml
(rev 0)
+++
branches/jbosstools-3.2.0.Beta1/build/target-platform/e361-wtp322.target.p2mirror.xml 2010-10-02
00:32:13 UTC (rev 25420)
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
xmlns:xs="http://www.w3.org/2001/XMLSchema"
default="download.target.platform" name="Download target
platform">
+<target name="help">
+<echo>
+ Generated with useLatest = true
+
+ ---
+
+ Use followStrict="true" to prevent downloading all
+ requirements not included in the target platform
+ or
+ followStrict="false" to fetch everything
+
+ To run this script:
+
+ /abs/path/to/eclipse -vm /opt/jdk1.6.0/bin/java -nosplash -data \
+ /tmp/workspace -consolelog -application \
+ org.eclipse.ant.core.antRunner -f *.target.p2mirror.xml \
+ -Ddebug=true \
+ -DfollowStrict=true \
+ -Drepo.dir=/tmp/REPO/
+</echo>
+</target>
+<target unless="repo.dir" name="init">
+<fail>Must set -Drepo.dir=/abs/path/to/download/artifacts/</fail>
+</target>
+<target if="repo.dir" description="Download from target platform
definition" depends="init" name="download.target.platform">
+<property value="false" name="verbose"/>
+<property value="false" name="followStrict"/>
+<echo level="info">Download features/plugins into
${repo.dir}</echo>
+<p2.mirror verbose="${verbose}"
destination="file:${repo.dir}">
+<slicingOptions followStrict="${followStrict}"
includeFeatures="true"/>
+<source>
+<repository
location="http://m2eclipse.sonatype.org/sites/m2e/"/>
+<repository
location="http://m2eclipse.sonatype.org/sites/m2e-extras/"/>
+<repository
location="http://eclipse.svnkit.com/1.3.x/"/>
+<repository
location="http://www.polarion.org/projects/subversive/download/eclip...
+<repository
location="http://download.eclipse.org/technology/subversive/0.7/week...
+<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+<repository
location="http://download.eclipse.org/rt/ecf/3.2/3.6/site.p2"/>
+<repository
location="http://download.eclipse.org/tptp/updates/"/>
+<repository
location="http://download.eclipse.org/modeling/emf/emf/updates/2.6/R...
+<repository
location="http://download.eclipse.org/technology/swtbot/helios/dev-b...
+<repository
location="http://download.eclipse.org/birt/update-site/2.6/"/>
+<repository
location="http://download.eclipse.org/eclipse/updates/3.6.x/"/>
+<repository
location="http://download.eclipse.org/releases/helios/"/>
+<repository
location="http://download.eclipse.org/webtools/repository/helios/&qu...
+<repository
location="http://download.jboss.org/jbosstools/builds/staging/jbosst...
+<repository
location="http://dl.google.com/eclipse/plugin/3.6/"/>
+<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+</source>
+<iu version=""
id="org.maven.ide.eclipse.feature.feature.group"/>
+<iu version=""
id="org.maven.ide.eclipse.wtp.feature.feature.group"/>
+<iu version="" id="javax.wsdl.feature.feature.group"/>
+<iu version="" id="org.apache.oro.feature.feature.group"/>
+<iu version="" id="org.jdom.feature.feature.group"/>
+<iu version=""
id="org.mozilla.xulrunner.feature.feature.group"/>
+<iu version="" id="org.mozilla.xpcom.feature.feature.group"/>
+<iu version="" id="org.eclipse.emf.ecore.feature.group"/>
+<iu version="" id="org.eclipse.emf.feature.group"/>
+<iu version="" id="org.eclipse.emf.codegen.feature.group"/>
+<iu version="" id="org.eclipse.emf.common.feature.group"/>
+<iu version=""
id="org.eclipse.emf.databinding.feature.group"/>
+<iu version=""
id="org.eclipse.emf.codegen.ecore.feature.group"/>
+<iu version="" id="org.eclipse.emf.ecore.edit.feature.group"/>
+<iu version=""
id="org.eclipse.emf.ecore.editor.feature.group"/>
+<iu version="" id="org.eclipse.emf.ecore.feature.group"/>
+<iu version="" id="org.eclipse.emf.edit.feature.group"/>
+<iu version="" id="org.eclipse.xsd.feature.group"/>
+<iu version="" id="org.eclipse.swtbot.eclipse.feature.group"/>
+<iu version=""
id="org.eclipse.swtbot.eclipse.gef.feature.group"/>
+<iu version="" id="org.eclipse.swtbot.ide.feature.group"/>
+<iu version=""
id="org.eclipse.swtbot.eclipse.test.junit4.feature.group"/>
+<iu version="" id="org.eclipse.swtbot.feature.group"/>
+<iu version=""
id="org.eclipse.birt.osgi.runtime.sdk.feature.group"/>
+<iu version="" id="org.eclipse.birt.feature.group"/>
+<iu version=""
id="org.eclipse.birt.integration.wtp.feature.group"/>
+<iu version="" id="com.ibm.icu.base.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.server.core.feature.group"/>
+<iu version="" id="org.eclipse.cvs.feature.group"/>
+<iu version="" id="org.eclipse.help.feature.group"/>
+<iu version="" id="org.eclipse.jdt.feature.group"/>
+<iu version="" id="org.eclipse.platform.feature.group"/>
+<iu version="" id="org.eclipse.platform.ide"/>
+<iu version=""
id="org.eclipse.equinox.executable.feature.group"/>
+<iu version="" id="org.eclipse.equinox.executable"/>
+<iu version="" id="org.eclipse.platform.sdk"/>
+<iu version="" id="org.eclipse.pde.feature.group"/>
+<iu version="" id="org.eclipse.sdk.feature.group"/>
+<iu version="" id="org.eclipse.rcp.feature.group"/>
+<iu version="" id="org.eclipse.rcp.id"/>
+<iu version="" id="org.eclipse.rcp.sdk.id"/>
+<iu version="" id="org.eclipse.releng.tools.feature.group"/>
+<iu version="" id="org.eclipse.sdk.ide"/>
+<iu version="" id="org.eclipse.sdk.examples.feature.group"/>
+<iu version=""
id="org.eclipse.sdk.examples.source.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.compendium.sdk.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.core.sdk.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.p2.discovery.feature.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.p2.user.ui.feature.group"/>
+<iu version="" id="org.eclipse.equinox.p2.sdk.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.serverside.sdk.feature.group"/>
+<iu version="" id="org.eclipse.equinox.sdk.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.weaving.sdk.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.server.jetty.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.server.p2.feature.group"/>
+<iu version=""
id="org.eclipse.pde.api.tools.ee.fragments.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.p2.ui.admin.rcp.product"/>
+<iu version=""
id="org.eclipse.equinox.server.servletbridge.feature.group"/>
+<iu version=""
id="org.eclipse.equinox.server.simple.feature.group"/>
+<iu version="" id="org.eclipse.birt.feature.group"/>
+<iu version=""
id="org.eclipse.datatools.connectivity.feature.feature.group"/>
+<iu version=""
id="org.eclipse.datatools.enablement.feature.feature.group"/>
+<iu version=""
id="org.eclipse.datatools.sdk.feature.feature.group"/>
+<iu version=""
id="org.eclipse.datatools.enablement.jdt.feature.feature.group"/>
+<iu version=""
id="org.eclipse.datatools.modelbase.feature.feature.group"/>
+<iu version=""
id="org.eclipse.datatools.enablement.apache.derby.feature.feature.group"/>
+<iu version="" id="org.eclipse.draw2d.feature.group"/>
+<iu version="" id="org.eclipse.gef.feature.group"/>
+<iu version="" id="org.eclipse.zest.feature.group"/>
+<iu version="" id="org.eclipse.uml2.feature.group"/>
+<iu version="" id="org.eclipse.rse.feature.group"/>
+<iu version="" id="org.eclipse.jst.jee"/>
+<iu version="" id="org.eclipse.wst.common.frameworks"/>
+<iu version="" id="org.eclipse.wst.common.project.facet.ui"/>
+<iu version="" id="org.eclipse.jst.jee.web"/>
+<iu version=""
id="org.eclipse.jst.common.fproj.enablement.jdt.feature.group"/>
+<iu version=""
id="org.eclipse.jst.ws.axis2tools.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jst.ws.cxf.feature.feature.group"/>
+<iu version="" id="org.eclipse.jpt.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.common.fproj.feature.group"/>
+<iu version=""
id="org.eclipse.jst.enterprise_ui.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.web_ui.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.xml_ui.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.xsl.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.jsdt.feature.feature.group"/>
+<iu version="" id="org.eclipse.jsf.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jst.ws.jaxws.dom.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jst.ws.jaxws.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jst.enterprise_core.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jst.server_adapters.ext.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jst.server_adapters.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jst.server_core.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jst.server_ui.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jst.web_ui.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jsf.feature.source.feature.group"/>
+<iu version=""
id="org.eclipse.wst.xml.xpath2.processor.feature.feature.group"/>
+<iu version=""
id="org.eclipse.jst.webpageeditor.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.ws_wsdl15.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.common_core.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.common_ui.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.server_adapters.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.server_core.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.server_ui.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.web_core.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.ws_ui.feature.feature.group"/>
+<iu version=""
id="org.eclipse.wst.xml_core.feature.feature.group"/>
+<iu version=""
id="com.google.gdt.eclipse.suite.e36.feature.feature.group"/>
+<iu version="" id="org.drools.eclipse.feature.feature.group"/>
+<iu version=""
id="org.drools.eclipse.task.feature.feature.group"/>
+<iu version="" id="org.guvnor.tools.feature.feature.group"/>
+<iu version=""
id="org.mozilla.xulrunner.feature.feature.group"/>
+<iu version="" id="org.mozilla.xpcom.feature.feature.group"/>
+</p2.mirror>
+</target>
+</project>
Deleted: branches/jbosstools-3.2.0.Beta1/build/target-platform/install.xml
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/install.xml 2010-10-02 00:31:21
UTC (rev 25419)
+++ branches/jbosstools-3.2.0.Beta1/build/target-platform/install.xml 2010-10-02 00:32:13
UTC (rev 25420)
@@ -1,172 +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 -vm /opt/sun-java2-6.0/bin/java -nosplash \
- -data /tmp/workspace -consolelog -application org.eclipse.ant.core.antRunner \
- -f ./install.xml \
- -Dtarget.to.install=e36-wtp32.target \
- -Drepo.dir=/tmp/p2.mirror \
- -Dinstall.dir=/home/nboldt/eclipse/36clean2/eclipse \
- | tee log.txt
-
- ALTERNATIVE PLAN:
-
- generate metadata (content.xml) for
file:/home/nboldt/eclipse/workspace-clean36/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/
- install from there (already on disk)
- -->
-
- <!-- what target file to be installed -->
- <property name="target.to.install" value="e36-wtp32.target"
/>
-
- <!-- where to download and create mirror repo -->
- <property name="repo.dir" value="${java.io.tmpdir}/p2.mirror"
/>
-
- <!-- where to install target: into ${eclipse.home} or /path/to/eclipse -->
- <!-- <property name="install.dir" value="${eclipse.home}"
/> -->
- <!-- <property name="install.dir"
value="/home/nboldt/eclipse/36clean2/eclipse" /> -->
-
- <target name="init" unless="install.dir">
- <fail>Must set these properties:
- -Dtarget.to.install=e36-wtp32.target
- -Drepo.dir=${java.io.tmpdir}/p2.mirror
- -Dinstall.dir=/home/nboldt/eclipse/36clean2/eclipse
-</fail>
- </target>
-
- <target name="run" depends="init" if="install.dir">
- <mkdir dir="${repo.dir}" />
-
- <!-- create p2.mirror ant script -->
- <property name="mirror" value="${java.io.tmpdir}/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="repo.dir" value="${repo.dir}" />
- </ant>
-
- <!-- generate a site.xml for all the features available -->
- <antcall target="buildSiteXml" />
-
- <!-- TODO: delete existing metadata in ${repo.dir} before regenerating it? -->
- <delete dir="${repo.dir}" includes="artifacts.xml, artifacts.jar,
content.xml, content.jar" />
-
- <!-- generate metadata -->
- <!-- TODO: switch to use Publisher:
http://wiki.eclipse.org/Equinox/p2/Publisher#Features_and_Bundles_Publish...
- <p2.publish.featuresAndBundles
- metadataRepository="file:/repository/location"
- artifactRepository="file:/repository/location"
- publishArtifacts="true"
- compress="true"
- source="/bundles/and/features/location/">
- -->
- <java classname="org.eclipse.equinox.launcher.Main"
- fork="true"
- timeout="10800000"
- jvm="${java.home}/bin/java"
- failonerror="false"
- maxmemory="512m"
- taskname="p2"
- >
- <classpath>
- <fileset dir="${eclipse.home}/plugins"
- includes="org.eclipse.equinox.launcher_*.jar,
org.eclipse.equinox.p2.metadata.generator_*.jar"
- />
- <pathelement location="${eclipse.home}/plugins" />
- </classpath>
- <arg line="-application
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator" />
- <arg line=" -updateSite ${repo.dir}/ -site file:${repo.dir}/site.xml"
/>
- <arg line="-metadataRepository file://${repo.dir} -metadataRepositoryName
"Local Mirror Repo"" />
- <arg line="-artifactRepository file://${repo.dir} -artifactRepositoryName
"Local Mirror Artifacts""
- />
- <arg line="-compress -noDefaultIUs -reusePack200Files" />
- </java>
-
- <!-- cleanup -->
- <delete file="${mirror}" quiet="true" />
-
- <!-- run p2.director to install from repo.dir into install.dir -->
- <chmod perm="+x" file="${eclipse.home}/eclipse" />
- <exec executable="${eclipse.home}/eclipse"
- failonerror="true"
- dir="${eclipse.home}"
- timeout="900000"
- taskname="p2.dir"
- >
- <arg line=" -vm ${java.home}/bin/java" />
- <arg line=" -application org.eclipse.equinox.p2.director" />
- <arg line=" -nosplash --launcher.suppressErrors -consoleLog -flavor tooling
-roaming -profile SDKProfile" />
- <!-- <arg line=" -installIU ... -installIU ... " /> -->
- <arg line=" -destination ${install.dir} -bundlepool ${install.dir}"
/>
- <arg line=" -metadataRepository file://${repo.dir} -artifactRepository
file://${repo.dir}" />
- <arg line=" -profileProperties org.eclipse.update.install.features=true"
/>
- <arg line=" -vmargs -Declipse.p2.data.area=${install.dir}/p2
-Declipse.p2.MD5Check=false" />
- </exec>
- </target>
-
- <target name="buildSiteXml" description="Generate a site.xml to
contain the features in a category">
- <echo level="info">Generating site.xml for use with p2 repo / update
site categories...</echo>
- <echo file="${repo.dir}/site.xml"><?xml version="1.0"
encoding="UTF-8"?></echo>
- <if>
- <equals arg1="${pack200Files}" arg2="-reusePack200Files" />
- <then>
- <echo append="true"
file="${repo.dir}/site.xml"><site
pack200="true"></echo>
- </then>
- <else>
- <echo append="true"
file="${repo.dir}/site.xml"><site></echo>
- </else>
- </if>
-
- <property name="category.name" value="Subversive Repo" />
-
- <echo append="true"
file="${repo.dir}/site.xml"> <description>To install these
features, point Eclipse at this site.</description>
-
- <!-- ${category.name} -->
- <category-def label="${category.name}"
name="${category.name}">
- <description>${category.name}: contains all features in this
build.</description>
- </category-def>
- </echo>
-
- <for param="featureJar">
- <path>
- <fileset dir="${repo.dir}/features" includes="*.jar" />
- </path>
- <sequential>
- <var name="feature.jarfile" unset="true" />
- <var name="feature.id" unset="true" />
- <var name="feature.version" unset="true" />
- <propertyregex property="feature.jarfile"
- defaultvalue="@{featureJar}"
- input="@{featureJar}"
- regexp=".+/features/([^/]+\.jar)"
- replace="\1"
- override="true"
- />
- <propertyregex property="feature.id"
- defaultvalue="${feature.jarfile}"
- input="${feature.jarfile}"
- regexp="([^_]+)_(\d+\.\d+\.\d+\..+)\.jar"
- replace="\1"
- override="true"
- />
- <propertyregex property="feature.version"
- defaultvalue="${feature.jarfile}"
- input="${feature.jarfile}"
- regexp="([^_]+)_(\d+\.\d+\.\d+\..+)\.jar"
- replace="\2"
- override="true"
- />
- <echo append="true"
file="${repo.dir}/site.xml"> <feature id="${feature.id}"
version="${feature.version}" url="features/${feature.jarfile}"
patch="false">
- <category name="${category.name}"/>
- </feature>
- </echo>
- <var name="feature.jarfile" unset="true" />
- <var name="feature.id" unset="true" />
- <var name="feature.version" unset="true" />
- </sequential>
- </for>
- <echo append="true" file="${repo.dir}/site.xml">
- </site>
- </echo>
- </target>
-</project>
Modified: branches/jbosstools-3.2.0.Beta1/build/target-platform/pom.xml
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/pom.xml 2010-10-02 00:31:21 UTC
(rev 25419)
+++ branches/jbosstools-3.2.0.Beta1/build/target-platform/pom.xml 2010-10-02 00:32:13 UTC
(rev 25420)
@@ -2,16 +2,17 @@
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-<!-- <parent>
- <groupId>org.jboss.tools</groupId>
- <artifactId>org.jboss.tools.parent.pom</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </parent> -->
+ <!-- <parent> <groupId>org.jboss.tools</groupId>
<artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version> </parent> -->
<groupId>org.jboss.tools</groupId>
<artifactId>target-platform</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>JBoss Tools Target Platform Definition</name>
<packaging>pom</packaging>
+
+ <properties>
+ <targetFile>e361-wtp322.target</targetFile>
+ </properties>
<build>
<plugins>
@@ -30,7 +31,7 @@
<artifacts>
<!-- add more artifacts if want more target platforms -->
<artifact>
- <file>e36-wtp32.target</file>
+ <file>${targetFile}</file>
<type>target</type>
<classifier>e36-wtp32</classifier>
</artifact>
Deleted: branches/jbosstools-3.2.0.Beta1/build/target-platform/target2ant.xsl
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/target2ant.xsl 2010-10-02
00:31:21 UTC (rev 25419)
+++ branches/jbosstools-3.2.0.Beta1/build/target-platform/target2ant.xsl 2010-10-02
00:32:13 UTC (rev 25420)
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
- <xsl:output method="xml" indent="yes" encoding="UTF-8"
- version="1.0" />
- <xsl:decimal-format decimal-separator="."
- grouping-separator="," />
-
- <xsl:param name="verbose" select="'${verbose}'" />
- <xsl:param name="followStrict" select="'${followStrict}'"
/>
- <xsl:param name="destination" select="'file:${repo.dir}'"
/>
-
- <xsl:variable name="platformFilter"
- select="concat(/target/environment/os/text(), ',',
/target/environment/ws/text(), ',', /target/environment/arch/text())" />
-
- <xsl:template match="target">
- <project name="Download target platform"
default="download.target.platform">
- <target name="help">
- <echo>
- Use followStrict="true" to prevent downloading all
- requirements not included in the target platform
- or
- followStrict="false" to fetch everything
-
- To run this script:
-
- ./eclipse -vm /opt/jdk1.6.0/bin/java -nosplash
- -data \
- /tmp/workspace -consolelog -application \
- org.eclipse.ant.core.antRunner -f out.xml \
- -Ddebug=true \
- -DfollowStrict=false \
- -Drepo.dir=/tmp/REPO/
-</echo>
- </target>
- <target name="init" unless="repo.dir">
- <fail>Must set -Drepo.dir=/path/to/download/artifacts/</fail>
- </target>
- <target name="download.target.platform" depends="init"
- description="Download from target platform definition"
if="repo.dir">
- <property name="verbose" value="false" />
- <property name="followStrict" value="false" />
- <echo level="info">Download features/plugins into
${repo.dir}</echo>
- <p2.mirror destination="{$destination}"
verbose="{$verbose}">
- <slicingOptions includeFeatures="true"
followStrict="{$followStrict}" />
- <source>
- <xsl:apply-templates select="//repository" />
- </source>
- <xsl:apply-templates select="//unit" />
- <xsl:apply-templates select="//feature" />
- <xsl:apply-templates select="//plugin" />
- </p2.mirror>
- </target>
- </project>
- </xsl:template>
-
- <xsl:template match="//repository">
- <xsl:variable name="locationUrl" select="./@location" />
- <repository location="{$locationUrl}" />
- </xsl:template>
-
- <xsl:template match="//unit">
- <iu id="{@id}" version="{@version}" />
- </xsl:template>
-
- <xsl:template match="//plugin">
- <iu id="{@id}" version="" />
- </xsl:template>
-
- <xsl:template match="//feature">
- <iu id="{(a)id}.feature.group" version="" />
- </xsl:template>
-
- <!-- ignore anything else -->
- <xsl:template match="environment|targetJRE|launcherArgs|includeBundles"
/>
-
-</xsl:stylesheet>
\ No newline at end of file
Added: branches/jbosstools-3.2.0.Beta1/build/target-platform/target2p2mirror.xml
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/target2p2mirror.xml
(rev 0)
+++ branches/jbosstools-3.2.0.Beta1/build/target-platform/target2p2mirror.xml 2010-10-02
00:32:13 UTC (rev 25420)
@@ -0,0 +1,29 @@
+<project default="custom.build" name="jbosstools target platform
p2.mirror generator">
+ <property name="targetFile" value="e361-wtp322.target" />
+
+ <!-- if useLatest = true, omit versions from p2.mirror script to fetch latest version
available;
+ if useLatest = false, include versions and fetch specific versions requested. -->
+ <property name="useLatest" value="true" />
+
+ <target name="custom.build" depends="gen.p2mirror.script" />
+
+ <target name="gen.p2mirror.script" description="use XSLT to generate a
p2.mirror script from .target">
+ <echo level="verbose">Generate ${targetFile}.p2mirror.xml from
${targetFile} using useLatest=${useLatest}" />
+</echo>
+ <delete file="${targetFile}.p2mirror.xml" quiet="true" />
+ <xslt style="target2p2mirrorXml.xsl" in="${targetFile}"
out="${targetFile}.p2mirror.xml" processor="trax">
+ <param name="useLatest" expression="${useLatest}" />
+ </xslt>
+ <echo>-----------
+
+ Next, be sure to run the resulting p2.mirror script.
+ You may need to run it a few times for it to complete
+ successfully (due to network timeouts and invalid mirrors).
+
+ For instructions on running the script, do this:
+
+ ant -f ${targetFile}.p2mirror.xml help
+ </echo>
+ </target>
+
+</project>
Added: branches/jbosstools-3.2.0.Beta1/build/target-platform/target2p2mirrorXml.xsl
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/target2p2mirrorXml.xsl
(rev 0)
+++
branches/jbosstools-3.2.0.Beta1/build/target-platform/target2p2mirrorXml.xsl 2010-10-02
00:32:13 UTC (rev 25420)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ version="2.0">
+<!--
+ This XSLT is used by target2p2mirror.xml to generate a p2.mirror ant script from a
.target file
+-->
+ <xsl:output method="xml" indent="yes" encoding="UTF-8"
+ version="1.0" />
+
+ <!-- if useLatest = true, omit versions from p2.mirror script to fetch latest version
available;
+ if useLatest = false, include versions and fetch specific versions requested. -->
+ <xsl:param name="useLatest" select="'true'"
as="xs:string"/>
+
+ <xsl:param name="verbose" select="'${verbose}'"
as="xs:string"/>
+ <xsl:param name="followStrict" select="'${followStrict}'"
as="xs:string"/>
+ <xsl:param name="destination" select="'file:${repo.dir}'"
as="xs:string"/>
+
+ <xsl:template match="target">
+ <project name="Download target platform"
default="download.target.platform">
+ <target name="help">
+ <echo>
+ Generated with useLatest = <xsl:value-of select="$useLatest"/>
+
+ ---
+
+ Use followStrict="true" to prevent downloading all
+ requirements not included in the target platform
+ or
+ followStrict="false" to fetch everything
+
+ To run this script:
+
+ /abs/path/to/eclipse -vm /opt/jdk1.6.0/bin/java -nosplash -data \
+ /tmp/workspace -consolelog -application \
+ org.eclipse.ant.core.antRunner -f *.target.p2mirror.xml \
+ -Ddebug=true \
+ -DfollowStrict=true \
+ -Drepo.dir=/tmp/REPO/
+</echo>
+ </target>
+ <target name="init" unless="repo.dir">
+ <fail>Must set -Drepo.dir=/abs/path/to/download/artifacts/</fail>
+ </target>
+ <target name="download.target.platform" depends="init"
+ description="Download from target platform definition"
if="repo.dir">
+ <property name="verbose" value="false" />
+ <property name="followStrict" value="false" />
+ <echo level="info">Download features/plugins into
${repo.dir}</echo>
+ <p2.mirror destination="{$destination}"
verbose="{$verbose}">
+ <!-- should we add latestVersionOnly="true" to <slicingOptions> ?
-->
+ <slicingOptions includeFeatures="true"
followStrict="{$followStrict}"/>
+ <source>
+ <xsl:apply-templates select="//repository" />
+ </source>
+ <xsl:apply-templates select="//unit" />
+ <xsl:apply-templates select="//feature" />
+ <xsl:apply-templates select="//plugin" />
+ </p2.mirror>
+ </target>
+ </project>
+ </xsl:template>
+
+ <xsl:template match="//repository">
+ <xsl:variable name="locationUrl" select="./@location" />
+ <repository location="{$locationUrl}" />
+ </xsl:template>
+
+ <xsl:template match="//unit">
+ <xsl:choose>
+ <xsl:when test="$useLatest='true'">
+ <iu id="{@id}" version="" />
+ </xsl:when>
+ <xsl:otherwise>
+ <iu id="{@id}" version="{@version}" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="//plugin">
+ <iu id="{@id}" version="" />
+ </xsl:template>
+
+ <xsl:template match="//feature">
+ <iu id="{(a)id}.feature.group" version="" />
+ </xsl:template>
+
+ <!-- ignore anything else -->
+ <xsl:template match="environment|targetJRE|launcherArgs|includeBundles"
/>
+
+</xsl:stylesheet>
Added: branches/jbosstools-3.2.0.Beta1/build/target-platform/target2targetTemplate.xsl
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/target2targetTemplate.xsl
(rev 0)
+++
branches/jbosstools-3.2.0.Beta1/build/target-platform/target2targetTemplate.xsl 2010-10-02
00:32:13 UTC (rev 25420)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
+<!--
+ This XSLT is used by targetUpdateFromRepo.xml to update the versions on IUs in a .target
file
+ CAUTION: do not auto-format this file or line breaks will appear where they should not
be!
+-->
+
+<!-- Copy unit nodes and templatize their version attributes -->
+<xsl:template match="unit">
+<unit id="{@id}" version="${{{(a)id}.version}}">
+<xsl:apply-templates/>
+</unit>
+</xsl:template>
+
+<!-- Copy everything else unchanged -->
+<xsl:template match="@*|node()">
+<xsl:copy>
+<xsl:apply-templates select="@*|node()"/>
+</xsl:copy>
+</xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file
Added: branches/jbosstools-3.2.0.Beta1/build/target-platform/targetUpdateFromRepo.xml
===================================================================
--- branches/jbosstools-3.2.0.Beta1/build/target-platform/targetUpdateFromRepo.xml
(rev 0)
+++
branches/jbosstools-3.2.0.Beta1/build/target-platform/targetUpdateFromRepo.xml 2010-10-02
00:32:13 UTC (rev 25420)
@@ -0,0 +1,51 @@
+<project default="custom.build" name="jbosstools target platform
pom.xml + site.xml generator">
+ <property name="tmpDir"
value="${java.io.tmpdir}/targetUpdateFromRepo" />
+ <property name="targetFile" value="e361-wtp322.target" />
+ <property name="repoDir" value="./REPO_SR1" />
+ <property name="outputDir" value="${basedir}" />
+ <!-- Instead of overwriting, can also create a new .target file in a different
outputDir
+ <property name="outputDir" value="${tmpDir}" />
+ -->
+
+ <target name="custom.build" depends="check.content.xml,
get.content.xml, copy.content.xml, contentXml2artifactVersions.xsl,
target2targetTemplate.xsl, updateTargetFile, cleanup" />
+
+ <target name="check.content.xml" description="if content.jar, unpack
to get content.xml">
+ <condition property="content.xml.exists" value="true">
+ <available file="${repoDir}/content.xml" />
+ </condition>
+ </target>
+ <target name="get.content.xml" unless="content.xml.exists">
+ <echo level="verbose">Unzip ${tmpDir}/content.xml</echo>
+ <unzip src="${repoDir}/content.jar" dest="${tmpDir}" />
+ </target>
+ <target name="copy.content.xml" if="content.xml.exists">
+ <echo level="verbose">Copy ${tmpDir}/content.xml</echo>
+ <copy file="${repoDir}/content.xml" todir="${tmpDir}" />
+ </target>
+
+ <target name="contentXml2artifactVersions.xsl">
+ <echo level="verbose">Generate
${tmpDir}/artifactVersions.properties</echo>
+ <xslt style="contentXml2artifactVersions.xsl"
in="${tmpDir}/content.xml" out="${tmpDir}/artifactVersions.properties"
processor="trax" />
+ </target>
+
+ <target name="target2targetTemplate.xsl" description="run
target2targetTemplate.xsl to templatize .target file">
+ <echo level="verbose">Generate
${tmpDir}/${targetFile}.template</echo>
+ <xslt style="target2targetTemplate.xsl" in="${targetFile}"
out="${tmpDir}/${targetFile}.template" processor="trax" />
+ </target>
+
+ <target name="updateTargetFile" description="load generated properties
and resolve them in the template to create a new .target file">
+ <property file="${tmpDir}/artifactVersions.properties" />
+ <copy todir="${outputDir}" overwrite="true">
+ <fileset file="${tmpDir}/${targetFile}.template" />
+ <mapper type="merge" to="${targetFile}" />
+ <filterchain>
+ <expandproperties />
+ </filterchain>
+ </copy>
+ </target>
+
+ <target name="cleanup" description="purge temporary dir">
+ <delete dir="${tmpDir}" includeemptydirs="true"
quiet="true" />
+ </target>
+
+</project>