[jbosstools-commits] JBoss Tools SVN: r43561 - trunk/download.jboss.org/jbosstools/updates/requirements/pmd.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Sep 10 13:14:08 EDT 2012


Author: nickboldt
Date: 2012-09-10 13:14:08 -0400 (Mon, 10 Sep 2012)
New Revision: 43561

Added:
   trunk/download.jboss.org/jbosstools/updates/requirements/pmd/.gitignore
   trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build-3.2.4.xml
Removed:
   trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build-3.2.6.xml
Modified:
   trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build.xml
Log:
new build script for pmd - exclude all older features/plugins -- only want 3.2.6; refactor old 3.2.4 script to new name

Added: trunk/download.jboss.org/jbosstools/updates/requirements/pmd/.gitignore
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/requirements/pmd/.gitignore	                        (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/requirements/pmd/.gitignore	2012-09-10 17:14:08 UTC (rev 43561)
@@ -0,0 +1 @@
+3.2*

Copied: trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build-3.2.4.xml (from rev 43560, trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build.xml)
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build-3.2.4.xml	                        (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build-3.2.4.xml	2012-09-10 17:14:08 UTC (rev 43561)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="mirror">
+	<!-- run locally in Eclipse (to resolve p2 tasks) using these commandline options:
+	
+		-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} 
+		-consoleLog -nosplash -data /tmp
+		-application org.eclipse.ant.core.antRunner
+		-f "/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/pmd/build.xml"
+		
+		or, run headless on qa01 server, where Eclipse is installed into ~/eclipse:
+		
+		export JAVA_HOME=/opt/jdk1.6.0; \
+		${JAVA_HOME}/bin/java -cp ~/eclipse/plugins/org.eclipse.equinox.launcher_*.jar \
+			org.eclipse.equinox.launcher.Main -vm ${JAVA_HOME} -consoleLog -nosplash -data /tmp \
+			-application org.eclipse.ant.core.antRunner \
+			-f ~/RHDS/updates/requirements/pmd/build.xml -Ddestination=/tmp/pmd-repo
+	-->
+	<target name="mirror">
+
+		<!-- get PMD 3.2.4 from Sourceforge - download the zip and unpack it here, then use p2.publish to regen metadata -->
+
+		<property name="destination" value="/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/pmd/3.2.4/" />
+		<property name="compress" value="true" />
+
+		<p2.publish.featuresAndBundles metadataRepository="file:${destination}/3.2.4/" artifactRepository="file:${destination}/3.2.4/" publishartifacts="true" source="${destination}/3.2.4/" compress="${compress}" />
+	</target>
+</project>

Deleted: trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build-3.2.6.xml
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build-3.2.6.xml	2012-09-10 17:13:41 UTC (rev 43560)
+++ trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build-3.2.6.xml	2012-09-10 17:14:08 UTC (rev 43561)
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project default="mirror">
-	<!-- run locally in Eclipse (to resolve p2 tasks) using these commandline options:
-	
-		-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} 
-		-consoleLog -nosplash -data /tmp
-		-application org.eclipse.ant.core.antRunner
-		-f "/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/pmd/build.xml"
-		
-		or, run headless on qa01 server, where Eclipse is installed into ~/eclipse:
-		
-		export JAVA_HOME=/opt/jdk1.6.0; \
-		${JAVA_HOME}/bin/java -cp ~/eclipse/plugins/org.eclipse.equinox.launcher_*.jar \
-			org.eclipse.equinox.launcher.Main -vm ${JAVA_HOME} -consoleLog -nosplash -data /tmp \
-			-application org.eclipse.ant.core.antRunner \
-			-f ~/RHDS/updates/requirements/pmd/build.xml -Ddestination=/tmp/pmd-repo
-	-->
-	<target name="mirror">
-		<property name="URL" value="http://pmd.sourceforge.net/eclipse" />
-		<property name="destination" value="/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/pmd/3.2.6/" />
-		<property name="compress" value="true" />
-
-		<p2.mirror>
-			<repository location="file:${destination}/3.2.6/" name="pmd plugins for Eclipse 3.6 - 3.7" />
-			<source>
-				<repository location="${URL}" />
-			</source>
-
-			<slicingoptions includefeatures="true" followstrict="true" latestversiononly="true" />
-		</p2.mirror>
-
-		<p2.publish.featuresAndBundles metadataRepository="file:${destination}/3.2.6/" artifactRepository="file:${destination}/3.2.6/" publishartifacts="true" source="${destination}/3.2.6/" compress="${compress}" />
-	</target>
-</project>

Modified: trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build.xml
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build.xml	2012-09-10 17:13:41 UTC (rev 43560)
+++ trunk/download.jboss.org/jbosstools/updates/requirements/pmd/build.xml	2012-09-10 17:14:08 UTC (rev 43561)
@@ -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,13 +15,23 @@
 			-application org.eclipse.ant.core.antRunner \
 			-f ~/RHDS/updates/requirements/pmd/build.xml -Ddestination=/tmp/pmd-repo
 	-->
+	<property name="destination" value="/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/pmd/3.2.6/" />
+	<property name="compress" value="true" />
+	<property name="URL1" value="http://pmd.sourceforge.net/eclipse" />
+	<target name="run" depends="mirror,regen"/>
 	<target name="mirror">
+		<p2.mirror>
+			<repository location="file:${destination}/3.2.6/" name="pmd plugin for Eclipse" />
+			<source>
+				<repository location="${URL1}" />
+			</source>
 
-		<!-- get PMD 3.2.4 from Sourceforge - download the zip and unpack it here, then use p2.publish to regen metadata -->
+			<slicingoptions includefeatures="true" followstrict="true" latestversiononly="true" />
+			<iu id="net.sourceforge.pmd.eclipse.feature.group" />
+		</p2.mirror>
+	</target>
+	<target name="regen">
 
-		<property name="destination" value="/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/pmd/3.2.4/" />
-		<property name="compress" value="true" />
-
-		<p2.publish.featuresAndBundles metadataRepository="file:${destination}/3.2.4/" artifactRepository="file:${destination}/3.2.4/" publishartifacts="true" source="${destination}/3.2.4/" compress="${compress}" />
+		<p2.publish.featuresAndBundles metadataRepository="file:${destination}/3.2.6/" artifactRepository="file:${destination}/3.2.6/" publishartifacts="true" source="${destination}/3.2.6/" compress="${compress}" />
 	</target>
 </project>



More information about the jbosstools-commits mailing list