Actions
Bug #6618
openMake production morpho work on Java 7
Start date:
11/12/2014
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
Description
Currently, the production Morpho only works on java 6. We should modify the izpack configuration to make it work in java 7.
Updated by Jing Tao over 9 years ago
I don't know why jarBundler can't work. I have to use appbundler to make it work:
<target name="macjarbundler" depends="install">
<taskdef name="jarbundler"
classpath="${morpho.basedir}/lib/appbundler-1.0.jar"
classname="com.oracle.appbundler.AppBundlerTask"
onerror="ignore" />
<echo message="Using morpho args: ${morpho.args}"></echo>
<!-- name="morpho"
stubfile="${morpho.basedir}/installer/build/mac/JavaApplicationStub"
mainclass="edu.ucsb.nceas.morpho.Morpho"
icon="${morpho.basedir}/lib/DesktopIcon32x32.icns"
vmoptions="-Xmx1024m Xss5m"
arguments="${morpho.args}">
<jarfileset dir="${build.lib}">
<include name="*.jar" />
</jarfileset>
</jarbundler> ->
<jarbundler outputdirectory="${morpho.basedir}/"
name="morpho"
displayname="morpho"
identifier="com.oracle.javafx.swing.Test"
shortversion="1.0"
icon="${morpho.basedir}/lib/DesktopIcon32x32.icns"
applicationCategory="public.app-category.developer-tools"
mainclassname="edu/ucsb/nceas/morpho/Morpho">
<!--
<classpath dir="${build.lib}">
<include name="*.jar" />
</classpath>
<option value="-Dapple.laf.useScreenMenuBar=true"/>
</jarbundler>
</target>
Actions