summaryrefslogtreecommitdiff
path: root/qpid/java/management/eclipse-plugin/build-release-macosx.xml
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java/management/eclipse-plugin/build-release-macosx.xml')
-rw-r--r--qpid/java/management/eclipse-plugin/build-release-macosx.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/qpid/java/management/eclipse-plugin/build-release-macosx.xml b/qpid/java/management/eclipse-plugin/build-release-macosx.xml
index 3e3c47b6fb..2aa63d7f2f 100644
--- a/qpid/java/management/eclipse-plugin/build-release-macosx.xml
+++ b/qpid/java/management/eclipse-plugin/build-release-macosx.xml
@@ -18,13 +18,16 @@
- under the License.
-
-->
-<project name="Eclipse Plugin MacOSX Binary Release" default="release-bin">
+<project name="JMX Management Console MacOSX Binary Release" default="release-bin">
<import file="build-release.xml"/>
<property name="release.app" value="${release.subdir}/${application.dir}"/>
<target name="release-bin-qpid-mc-plugin">
+ <available file="${build.lib}/qpid-management-eclipse-plugin-${project.version}.jar" property="management-eclipse-plugin.jar.present"/>
+ <fail unless="management-eclipse-plugin.jar.present" message="Please run ant build for the management-eclipse-plugin module"/>
+
<!-- Copy the qpid management-eclipse-plugin module jar -->
<copy tofile="${release.app}/plugins/${mcplugin.filename}.jar" flatten="true" failonerror="true">
<fileset file="${build.lib}/qpid-management-eclipse-plugin-${project.version}.jar"/>
@@ -39,9 +42,12 @@
</target>
<target name="release-bin-qpid-management-common-plugin">
+ <available file="${build.lib}/qpid-management-common_${project.version}.0.osgi.jar" property="management-common.jar.present"/>
+ <fail unless="management-common.jar.present" message="Please run ant bundle for the management-common module"/>
+
<!-- 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"/>
+ <fileset file="${build.lib}/qpid-management-common_${project.version}.0.osgi.jar"/>
</copy>
</target>