You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2009/06/22 17:43:11 UTC

svn commit: r787280 - in /qpid/branches/jmx_mc_gsoc09/qpid/java: ./ management/common/ management/common/src/main/java/ management/eclipse-plugin/ management/eclipse-plugin/src/main/resources/qpid-management-common-plugin/

Author: robbie
Date: Mon Jun 22 15:43:11 2009
New Revision: 787280

URL: http://svn.apache.org/viewvc?rev=787280&view=rev
Log:
QPID-1926: modify management-common module to output osgi bundle, have JMX MC use this jar
directly instead of wrapping with an RCP plugin manifest

Added:
    qpid/branches/jmx_mc_gsoc09/qpid/java/management/common/src/main/java/management-common.bnd
Removed:
    qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/src/main/resources/qpid-management-common-plugin/MANIFEST.MF
Modified:
    qpid/branches/jmx_mc_gsoc09/qpid/java/build.xml
    qpid/branches/jmx_mc_gsoc09/qpid/java/management/common/build.xml
    qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/build-release-macosx.xml
    qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/build-release.xml

Modified: qpid/branches/jmx_mc_gsoc09/qpid/java/build.xml
URL: http://svn.apache.org/viewvc/qpid/branches/jmx_mc_gsoc09/qpid/java/build.xml?rev=787280&r1=787279&r2=787280&view=diff
==============================================================================
--- qpid/branches/jmx_mc_gsoc09/qpid/java/build.xml (original)
+++ qpid/branches/jmx_mc_gsoc09/qpid/java/build.xml Mon Jun 22 15:43:11 2009
@@ -102,7 +102,7 @@
     <iterate target="bundle"/>
   </target>
   
-  <target name="release-bin" description="build a binary release artifact" depends="build">
+  <target name="release-bin" description="build a binary release artifact" depends="build,bundle">
       <iterate  target="release-bin"/>
   </target>
 

Modified: qpid/branches/jmx_mc_gsoc09/qpid/java/management/common/build.xml
URL: http://svn.apache.org/viewvc/qpid/branches/jmx_mc_gsoc09/qpid/java/management/common/build.xml?rev=787280&r1=787279&r2=787280&view=diff
==============================================================================
--- qpid/branches/jmx_mc_gsoc09/qpid/java/management/common/build.xml (original)
+++ qpid/branches/jmx_mc_gsoc09/qpid/java/management/common/build.xml Mon Jun 22 15:43:11 2009
@@ -22,4 +22,5 @@
 
     <import file="../../module.xml"/>
 
+    <target name="bundle" depends="bundle-tasks"/>
 </project>

Added: qpid/branches/jmx_mc_gsoc09/qpid/java/management/common/src/main/java/management-common.bnd
URL: http://svn.apache.org/viewvc/qpid/branches/jmx_mc_gsoc09/qpid/java/management/common/src/main/java/management-common.bnd?rev=787280&view=auto
==============================================================================
--- qpid/branches/jmx_mc_gsoc09/qpid/java/management/common/src/main/java/management-common.bnd (added)
+++ qpid/branches/jmx_mc_gsoc09/qpid/java/management/common/src/main/java/management-common.bnd Mon Jun 22 15:43:11 2009
@@ -0,0 +1,8 @@
+ver: 0.5.0
+
+Bundle-SymbolicName: qpid-management-common
+Bundle-Version: ${ver}
+Export-Package: *;version=${ver}
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: jmxremote.sasl;resolution:=optional
+

Modified: qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/build-release-macosx.xml
URL: http://svn.apache.org/viewvc/qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/build-release-macosx.xml?rev=787280&r1=787279&r2=787280&view=diff
==============================================================================
--- qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/build-release-macosx.xml (original)
+++ qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/build-release-macosx.xml Mon Jun 22 15:43:11 2009
@@ -38,14 +38,10 @@
        </copy>
    </target>
 
-   <target name="release-bin-qpidmanagementcommon-plugin">
-       <!-- Copy the management common plugin's manifest, creating its plugin directory -->
-       <copy todir="${release.app}/plugins/qpid-management-common_1.0.0/META-INF" flatten="true" failonerror="true">
-           <fileset file="${qpidmanagementcommon.manifest}"/>
-       </copy>
-        <!-- Copy the qpid management-common module jar -->
-       <copy tofile="${release.app}/plugins/qpid-management-common_1.0.0/qpid-management-common.jar" flatten="true" failonerror="true">
-           <fileset file="${build.lib}/qpid-management-common-${project.version}.jar"/>
+   <target name="release-bin-qpid-management-common-plugin">
+        <!-- Copy the qpid-management-common module osgi jar -->
+       <copy todir="${release.app}/plugins" flatten="true" failonerror="true">
+           <fileset file="${build.lib}/qpid-management-common_${project.version}.osgi.jar"/>
        </copy>
    </target>
 

Modified: qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/build-release.xml
URL: http://svn.apache.org/viewvc/qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/build-release.xml?rev=787280&r1=787279&r2=787280&view=diff
==============================================================================
--- qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/build-release.xml (original)
+++ qpid/branches/jmx_mc_gsoc09/qpid/java/management/eclipse-plugin/build-release.xml Mon Jun 22 15:43:11 2009
@@ -72,14 +72,10 @@
         </copy>
     </target>
 
-    <target name="release-bin-qpidmanagementcommon-plugin">
-        <!-- Copy the management common plugin's manifest, creating its plugin directory -->
-        <copy todir="${release.subdir}/plugins/qpid-management-common_1.0.0/META-INF" flatten="true" failonerror="true">
-            <fileset file="${qpidmanagementcommon.manifest}"/>
-        </copy>
-        <!-- Copy the qpid management-common module jar -->
-        <copy tofile="${release.subdir}/plugins/qpid-management-common_1.0.0/qpid-management-common.jar" flatten="true" failonerror="true">
-            <fileset file="${build.lib}/qpid-management-common-${project.version}.jar"/>
+    <target name="release-bin-qpid-management-common-plugin">
+        <!-- Copy the qpid-management-common module osgi jar -->
+        <copy todir="${release.subdir}/plugins" failonerror="true">
+            <fileset file="${build.lib}/qpid-management-common_${project.version}.osgi.jar"/>
         </copy>
     </target>
     
@@ -166,6 +162,6 @@
     
     <!-- override imported module.xml release-bin target -->
     <target name="release-bin" depends="check,release-bin-prepare,release-bin-rcp-deps,release-bin-resources,
-        release-bin-qpid-mc-plugin,release-bin-qpidmanagementcommon-plugin,release-bin-jmxremote-plugin,release-bin-zip,release-bin-gzip"/>
+        release-bin-qpid-mc-plugin,release-bin-qpid-management-common-plugin,release-bin-jmxremote-plugin,release-bin-zip,release-bin-gzip"/>
     
 </project>



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org