[jboss-svn-commits] JBL Code SVN: r31100 - in labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin: as4/src/main/resources/META-INF and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Jan 15 06:07:31 EST 2010


Author: kevin.conner at jboss.com
Date: 2010-01-15 06:07:31 -0500 (Fri, 15 Jan 2010)
New Revision: 31100

Modified:
   labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/as4/src/main/resources/META-INF/rhq-plugin.xml
   labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/as5/src/main/resources/META-INF/rhq-plugin.xml
   labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/build.xml
Log:
Updated plugin version automatically: JBESB-3127

Modified: labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/as4/src/main/resources/META-INF/rhq-plugin.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/as4/src/main/resources/META-INF/rhq-plugin.xml	2010-01-15 10:45:56 UTC (rev 31099)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/as4/src/main/resources/META-INF/rhq-plugin.xml	2010-01-15 11:07:31 UTC (rev 31100)
@@ -4,7 +4,7 @@
         displayName="JBossESB"
         package="org.jbosson.plugins.jbossesb"
         description="Provides monitoring of JBoss ESB"
-        version="2.0"
+        version="@VERSION@"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="urn:xmlns:rhq-plugin"
         xmlns:c="urn:xmlns:rhq-configuration">

Modified: labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/as5/src/main/resources/META-INF/rhq-plugin.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/as5/src/main/resources/META-INF/rhq-plugin.xml	2010-01-15 10:45:56 UTC (rev 31099)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/as5/src/main/resources/META-INF/rhq-plugin.xml	2010-01-15 11:07:31 UTC (rev 31100)
@@ -4,7 +4,7 @@
         displayName="JBossESB"
         package="org.jbosson.plugins.jbossesb"
         description="Provides monitoring of JBoss ESB"
-        version="2.0"
+        version="@VERSION@"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="urn:xmlns:rhq-plugin"
         xmlns:c="urn:xmlns:rhq-configuration">

Modified: labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/build.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/build.xml	2010-01-15 10:45:56 UTC (rev 31099)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/tools/jonplugin/build.xml	2010-01-15 11:07:31 UTC (rev 31100)
@@ -22,6 +22,10 @@
     <property name="classes.as4.dir" location="${classes.dir}/as4"/>
     <property name="classes.as5.dir" location="${classes.dir}/as5"/>
 
+    <property name="resources.dir" location="${build.dir}/resources"/>
+    <property name="resources.as4.dir" location="${resources.dir}/as4"/>
+    <property name="resources.as5.dir" location="${resources.dir}/as5"/>
+
     <patternset id="jonserver.patternset">
         <include name="**/rhq-jbossas-plugin*.jar"/>
         <include name="**/rhq-core-domain-*.jar"/>
@@ -49,6 +53,9 @@
         <mkdir dir="${classes.dir}"/>
         <mkdir dir="${classes.as4.dir}"/>
         <mkdir dir="${classes.as5.dir}"/>
+        <mkdir dir="${resources.dir}"/>
+        <mkdir dir="${resources.as4.dir}"/>
+        <mkdir dir="${resources.as5.dir}"/>
     </target>
 
     <target name="clean">
@@ -143,18 +150,30 @@
     </target>
 
     <target name="jar-as4-plugin" depends="compile-as4-plugin">	
+	<copy todir="${resources.as4.dir}">
+	    <fileset dir="${basedir}/as4/src/main/resources"/>
+	    <filterset>
+	        <filter token="VERSION" value="${esb.plugin.jar.version}"/>
+	    </filterset>
+	</copy>
 	<echo message="Plugin version is ${esb.plugin.jar.version}"/>
         <jar destfile="${build.dir}/${esb.plugin.jar.name}-as4.jar">
             <fileset dir="${classes.as4.dir}"/>
-	    <fileset dir="${basedir}/as4/src/main/resources"/>
+	    <fileset dir="${resources.as4.dir}"/>
         </jar>
     </target>
 
     <target name="jar-as5-plugin" depends="compile-as5-plugin">
+	<copy todir="${resources.as5.dir}">
+	    <fileset dir="${basedir}/as5/src/main/resources"/>
+	    <filterset>
+	        <filter token="VERSION" value="${esb.plugin.jar.version}"/>
+	    </filterset>
+	</copy>
         <echo message="Plugin version is ${esb.plugin.jar.version}"/>
         <jar destfile="${build.dir}/${esb.plugin.jar.name}-as5.jar">
             <fileset dir="${classes.as5.dir}"/>
-	    <fileset dir="${basedir}/as5/src/main/resources"/>
+	    <fileset dir="${resources.as5.dir}"/>
         </jar>
     </target>
 



More information about the jboss-svn-commits mailing list