Create an installer for Mac OS X

Description

from: http://www.igniterealtime.org/community/message/196302

It seems that there are no working installer for Mac OS X (Snow Leopard in particular) for the latest SVN versions. spark-installer.jar shows such errors:

Not entirely sure it's unresolvable, but aside from not creating a "Spark.app" entry, running the "Spark" shell script the jar installer creates in the Spark directory results in:

mbpro:~ user$ /Applications/Spark/spark ; exit;
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)

Environment

Mac OS X 10.6 Snow Leopard, Mac OS X 10.10.3 Yosemite

Activity

Show:
wroot
January 14, 2016, 8:27 PM

We have a working installer. Marking as fixed for now. Will think about bundling JRE in future.

speedy
January 2, 2016, 4:45 PM

File size looks good, and I don't see the tar.gz file anymore. Thanks!

Daryl Herzmann
January 2, 2016, 1:55 AM

I added the ant 'clean' target to the bamboo config and perhaps it looks better now? build 366

speedy
January 1, 2016, 2:15 AM

thanks Daryl!
fyi..the dmg looked a little big, so i checked it out. it looks like the spark.tar.gz is being included in the dmg file. can you turn off the mac.app.zip, please?

Thanks and happy new years everyone!

Daryl Herzmann
December 31, 2015, 8:33 PM

I needed to modify the bamboo plan to copy the .dmg file out instead of the .tar.gz. That file is here:

http://bamboo.igniterealtime.org/artifact/SPARK-NIGHTLYMAC/JOB1/build-365/Spark/spark_2_7_4_365.dmg

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Priority

Major

Assignee

speedy

Reporter

wroot