[英]How do you set About menu title in Oracle AppBundler for OSX?
I am using Oracle AppBundler to allow me package JRE inside an OSX *.app. 我正在使用Oracle AppBundler允许我将JRE打包在OSX * .app中。 But I can't seems to set its About menu to my liking, as shown below. 但是我似乎无法按照自己的喜好设置“关于”菜单,如下所示。
The about menu still display the main class name. 关于菜单仍然显示主类名称。 This is part of my build.xml
. 这是我的build.xml
一部分。 Any idea of what might cause this? 任何可能导致这种情况的想法?
<target name="bundle">
<bundleapp outputdirectory="dist"
name="My Name is emaN"
displayname="My Name is emaN"
identifier="My Name is emaN"
mainclassname="test.java.TestJava"
icon="auxes/icon.icns">
<runtime dir="${env.JAVA_HOME}" />
<classpath file="lib/test-java.jar"/>
<option value="-Dapple.laf.useScreenMenuBar=true"/>
<option value="-Dcom.apple.macos.useScreenMenuBar=true"/>
<option value="-Dcom.apple.mrj.application.apple.menu.about.name=My Name is emaN"/>
</bundleapp>
</target>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.