Author: nickboldt
Date: 2010-09-28 00:59:04 -0400 (Tue, 28 Sep 2010)
New Revision: 25244
Modified:
trunk/build/target-platform/e361-wtp322.target
trunk/build/target-platform/target2ant.xsl
Log:
https://jira.jboss.org/browse/JBIDE-6756 update URLs to latest for Helios SR1 release
Modified: trunk/build/target-platform/e361-wtp322.target
===================================================================
--- trunk/build/target-platform/e361-wtp322.target 2010-09-28 04:50:37 UTC (rev 25243)
+++ trunk/build/target-platform/e361-wtp322.target 2010-09-28 04:59:04 UTC (rev 25244)
@@ -49,7 +49,7 @@
<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/4.7.0/TPTP-4.7.0/repo/&qu...
+<repository
location="http://download.eclipse.org/tptp/4.7.1/TPTP-4.7.1/repo/&qu...
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
<unit id="org.eclipse.emf.ecore.feature.group"
version="2.6.0.v20100614-1136"/>
@@ -63,7 +63,7 @@
<unit id="org.eclipse.emf.ecore.feature.group"
version="2.6.0.v20100614-1136"/>
<unit id="org.eclipse.emf.edit.feature.group"
version="2.6.0.v20100614-1136"/>
<unit id="org.eclipse.xsd.feature.group"
version="2.6.0.v20100614-1136"/>
-<repository
location="http://download.eclipse.org/modeling/emf/emf/updates/2.6/R...
+<repository
location="http://download.eclipse.org/modeling/emf/emf/updates/2.6/&...
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
<unit id="org.eclipse.swtbot.eclipse.feature.group"
version="2.0.0.595-dev-e36"/>
@@ -166,7 +166,7 @@
<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.eclipse.org/webtools/repository/helios/&qu...
<!-- repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
-->
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
Modified: trunk/build/target-platform/target2ant.xsl
===================================================================
--- trunk/build/target-platform/target2ant.xsl 2010-09-28 04:50:37 UTC (rev 25243)
+++ trunk/build/target-platform/target2ant.xsl 2010-09-28 04:59:04 UTC (rev 25244)
@@ -6,6 +6,10 @@
<xsl:decimal-format decimal-separator="."
grouping-separator="," />
+ <!-- should we include {@version} for specific ver, or 0.0.0 for latest
+ avail? -->
+ <xsl:param name="useLatest" select="'true'" />
+
<xsl:param name="verbose" select="'${verbose}'" />
<xsl:param name="followStrict" select="'${followStrict}'"
/>
<xsl:param name="destination" select="'file:${repo.dir}'"
/>
@@ -24,13 +28,13 @@
To run this script:
- ./eclipse -vm /opt/jdk1.6.0/bin/java -nosplash
+ /path/to/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/
+ -Drepo.dir=./REPO/
</echo>
</target>
<target name="init" unless="repo.dir">
@@ -60,7 +64,14 @@
</xsl:template>
<xsl:template match="//unit">
- <iu id="{@id}" version="{@version}" />
+ <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">