Author: nickboldt
Date: 2012-02-10 12:16:42 -0500 (Fri, 10 Feb 2012)
New Revision: 38612
Modified:
trunk/download.jboss.org/jbosstools/updates/requirements/indigo/build.xml
Log:
update mirror script to remove **/org.eclipse.jdt.core_*OTDT*.jar* before regenerating
metadata
Modified:
trunk/download.jboss.org/jbosstools/updates/requirements/indigo/build.xml
===================================================================
---
trunk/download.jboss.org/jbosstools/updates/requirements/indigo/build.xml 2012-02-10
17:14:29 UTC (rev 38611)
+++
trunk/download.jboss.org/jbosstools/updates/requirements/indigo/build.xml 2012-02-10
17:16:42 UTC (rev 38612)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project default="mirror">
+<project default="run">
<!-- run locally in Eclipse (to resolve p2 tasks) using these commandline options:
-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl}
@@ -15,6 +15,7 @@
-application org.eclipse.ant.core.antRunner \
-f ~/RHDS/updates/requirements/indigo/build.xml -Ddestination=/tmp/indigo-repo
-->
+ <target name="run" depends="mirror,regen"/>
<target name="mirror">
<!-- <property name="URL"
value="http://download.eclipse.org/releases/indigo/201202012328-SR1-... />
-->
<!-- must include BOTH Indigo and Eclipse in the same repo now, since the Indigo
site is broken (refs an old Eclipse build which is gone) -->
@@ -33,7 +34,12 @@
<slicingOptions includeFeatures="true" followStrict="true"
/>
</p2.mirror>
-
+ </target>
+ <target name="regen">
+ <!-- remove OTDT patched version of o.e.jdt.core -->
+ <delete>
+ <fileset dir="${destination}/201202012328-SR1-M/"
includes="**/org.eclipse.jdt.core_*OTDT*.jar*"/>
+ </delete>
<p2.publish.featuresAndBundles
metadataRepository="file:${destination}/201202012328-SR1-M/"
artifactRepository="file:${destination}/201202012328-SR1-M/"
publishartifacts="true" source="${destination}/201202012328-SR1-M/"
compress="${compress}" />
</target>
</project>