diff options
Diffstat (limited to 'java/management/eclipse-plugin')
| -rw-r--r-- | java/management/eclipse-plugin/build-release-macosx.properties | 19 | ||||
| -rw-r--r-- | java/management/eclipse-plugin/build-release-macosx.xml | 91 | ||||
| -rw-r--r-- | java/management/eclipse-plugin/build.xml | 6 | ||||
| -rw-r--r-- | java/management/eclipse-plugin/src/main/resources/icons/Console.icns | bin | 0 -> 51007 bytes | |||
| -rw-r--r-- | java/management/eclipse-plugin/src/main/resources/macosx/.DS_Store | bin | 0 -> 6148 bytes | |||
| -rw-r--r-- | java/management/eclipse-plugin/src/main/resources/macosx/Configuration/.DS_Store | bin | 0 -> 6148 bytes | |||
| -rw-r--r-- | java/management/eclipse-plugin/src/main/resources/macosx/Info.plist | 31 | ||||
| -rwxr-xr-x | java/management/eclipse-plugin/src/main/resources/macosx/eclipse | bin | 0 -> 59200 bytes | |||
| -rw-r--r-- | java/management/eclipse-plugin/src/main/resources/macosx/eclipse.ini | 14 |
9 files changed, 161 insertions, 0 deletions
diff --git a/java/management/eclipse-plugin/build-release-macosx.properties b/java/management/eclipse-plugin/build-release-macosx.properties new file mode 100644 index 0000000000..05790e93c7 --- /dev/null +++ b/java/management/eclipse-plugin/build-release-macosx.properties @@ -0,0 +1,19 @@ +application.name=Qpid Management Console + +application.dir=${application.name}.app + +release.name=${module.namever}-macosx + +release.subdir=${module.release.base}/${release.name} + +release.zip=${module.release.base}/${release.name}.zip + +rcp.libs=${management-eclipse-plugin-macosx.libs} + +rcp.configuration.dir=src/main/resources/macosx/Configuration + +eclipse.ini=src/main/resources/macosx/eclipse.ini +bin.includes=src/main/resources/macosx/eclipse + +eclipse.icns=src/main/resources/icons/Console.icns +macosx.plist=src/main/resources/macosx/Info.plist diff --git a/java/management/eclipse-plugin/build-release-macosx.xml b/java/management/eclipse-plugin/build-release-macosx.xml new file mode 100644 index 0000000000..4a51ab5727 --- /dev/null +++ b/java/management/eclipse-plugin/build-release-macosx.xml @@ -0,0 +1,91 @@ +<!-- + - + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + - + --> +<project name="Eclipse Plugin Binary Release" default="release-bin"> + + <import file="build-release.xml"/> + + <property name="release.app" value="${release.subdir}/${application.dir}"/> + + <target name="release-bin-mcplugin-jar"> + <jar destfile="${release.app}/plugins/${mcplugin.filename}.jar" basedir="${mcplugin.contents.dir}" manifest="${mcplugin.manifest}"/> + </target> + + <target name="release-bin-jmxremote-plugin"> + <!-- Copy the jmxremote.sasl plugin's manifest, creating its plugin directory --> + <copy todir="${release.app}/plugins/jmxremote.sasl_1.0.1/META-INF" flatten="true" failonerror="true"> + <fileset file="${jmxremote.sasl.manifest}"/> + </copy> + </target> + + + <target name="release-bin-rcp-deps" description="copy eclipse-rcp dependencies into module release" + depends="copy-executable"> + + <!-- Copy remaining Eclipse binary and start-up files --> + <copy todir="${release.app}/Contents/MacOS" flatten="true" failonerror="true"> + <fileset file="${eclipse.ini}"/> + <fileset file="${bin.includes}"/> + </copy> + + <chmod dir="${release.app}/Contents/MacOS" perm="u+rx" includes="**/*"/> + + <!-- Copy MacOS plist file --> + <copy todir="${release.app}/Contents" flatten="true" failonerror="true"> + <fileset file="${macosx.plist}"/> + </copy> + + <!-- Copy remaining Eclipse binary and start-up files --> + <copy todir="${release.app}/Contents/Resources" flatten="true" failonerror="true"> + <fileset file="${eclipse.icns}"/> + </copy> + + <!-- Copy License file --> + <copy todir="${release.app}" flatten="true" failonerror="true"> + <fileset file="${license.eclipse.txt}"/> + </copy> + + <!-- Copy the eclipse rcp module libs --> + <copy todir="${release.app}/plugins" failonerror="true"> + <fileset dir="${project.root}" includes="${rcp.libs}"/> + <globmapper from="lib/*" to="*"/> + </copy> + + <!-- Copy the relevant configuration dir --> + <copy todir="${release.app}/Configuration" failonerror="true"> + <fileset dir="${rcp.configuration.dir}"/> + </copy> + <chmod dir="${release.app}/Configuration" perm="ugo+r" includes="**/*"/> + </target> + + <target name="release-bin-zip" if="release.zip" description="build mc zip archive"> + + <zip destfile="${release.zip}"> + <zipfileset dir="${release.subdir}" filemode="755"> + <include name="${application.dir}/Contents/MacOS/**"/> + </zipfileset> + + <zipfileset dir="${release.subdir}" filemode="644" dirmode="755"> + <exclude name="${application.dir}/Contents/MacOS/**"/> + </zipfileset> + </zip> + </target> + +</project> diff --git a/java/management/eclipse-plugin/build.xml b/java/management/eclipse-plugin/build.xml index 5cfd13f2a5..2c36e79823 100644 --- a/java/management/eclipse-plugin/build.xml +++ b/java/management/eclipse-plugin/build.xml @@ -72,6 +72,12 @@ <property file="build-release-linux-gtk-x86.properties"/> <property file="build-release-common.properties"/> </ant> + <!-- mac os x --> + <ant antfile="build-release-macosx.xml"> + <property file="build-release-macosx.properties"/> + <property file="build-release-common.properties"/> + </ant> + <!-- win32 win32 x86 --> <ant antfile="build-release.xml"> <property file="build-release-win32-win32-x86.properties"/> diff --git a/java/management/eclipse-plugin/src/main/resources/icons/Console.icns b/java/management/eclipse-plugin/src/main/resources/icons/Console.icns Binary files differnew file mode 100644 index 0000000000..610976efab --- /dev/null +++ b/java/management/eclipse-plugin/src/main/resources/icons/Console.icns diff --git a/java/management/eclipse-plugin/src/main/resources/macosx/.DS_Store b/java/management/eclipse-plugin/src/main/resources/macosx/.DS_Store Binary files differnew file mode 100644 index 0000000000..e1bfe3a524 --- /dev/null +++ b/java/management/eclipse-plugin/src/main/resources/macosx/.DS_Store diff --git a/java/management/eclipse-plugin/src/main/resources/macosx/Configuration/.DS_Store b/java/management/eclipse-plugin/src/main/resources/macosx/Configuration/.DS_Store Binary files differnew file mode 100644 index 0000000000..5008ddfcf5 --- /dev/null +++ b/java/management/eclipse-plugin/src/main/resources/macosx/Configuration/.DS_Store diff --git a/java/management/eclipse-plugin/src/main/resources/macosx/Info.plist b/java/management/eclipse-plugin/src/main/resources/macosx/Info.plist new file mode 100644 index 0000000000..77f79a2944 --- /dev/null +++ b/java/management/eclipse-plugin/src/main/resources/macosx/Info.plist @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleExecutable</key> + <string>eclipse</string> + <key>CFBundleGetInfoString</key> + <string>Apache Qpid Management Console for Mac OS X</string> + <key>CFBundleIconFile</key> + <string>Console.icns</string> + <key>CFBundleIdentifier</key> + <string>org.apache.qpid.management.ui</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>Qpid Management Console</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>3.4</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>3.4</string> + <key>Qpid Management Console</key> + <array> + <string>-consoleLog</string> + <string>-showlocation</string> + </array> +</dict> +</plist> diff --git a/java/management/eclipse-plugin/src/main/resources/macosx/eclipse b/java/management/eclipse-plugin/src/main/resources/macosx/eclipse Binary files differnew file mode 100755 index 0000000000..36247a08e4 --- /dev/null +++ b/java/management/eclipse-plugin/src/main/resources/macosx/eclipse diff --git a/java/management/eclipse-plugin/src/main/resources/macosx/eclipse.ini b/java/management/eclipse-plugin/src/main/resources/macosx/eclipse.ini new file mode 100644 index 0000000000..d3c2505730 --- /dev/null +++ b/java/management/eclipse-plugin/src/main/resources/macosx/eclipse.ini @@ -0,0 +1,14 @@ +-showsplash +org.eclipse.platform +-startup +../../plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar +--launcher.library +../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.101.R34x_v20080731 +-vmargs +#-Xdock:icon=../Resources/Eclipse.icns +-XstartOnFirstThread +-Xms40m +-Xmx512m +-XX:MaxPermSize=256m +-Dosgi.requiredJavaVersion=1.5 +-Dorg.eclipse.swt.internal.carbon.smallFonts |
