Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
update build.xml for make devel version app
Browse files Browse the repository at this point in the history
add Info.plist for devel version
  • Loading branch information
yuuakron committed Jan 14, 2012
1 parent e7fd895 commit 8b1056a
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 2 deletions.
17 changes: 15 additions & 2 deletions build.xml
Expand Up @@ -100,7 +100,7 @@

<target name="-post-jar">
<!--
make .app file for Mac OS X
make app file for Mac OS X
-->
<exec dir="${dist.dir}" executable="cp">
<arg line="-r ../resources/bundle_source/JKaiUI_Custom ."/>
Expand All @@ -110,7 +110,20 @@ make .app file for Mac OS X
<move todir="${dist.dir}/${application.title}.app">
<fileset dir="${dist.dir}/JKaiUI_Custom"/>
</move>
<delete dir="${dist.dir}/JKaiUI_Custom"/>
<!--
make devel version app file for Mac OS X
-->
<exec dir="${dist.dir}" executable="cp">
<arg line="-r ../resources/bundle_source/JKaiUI_Custom ."/>
</exec>
<exec dir="${dist.dir}" executable="cp">
<arg line="../resources/Info.plist JKaiUI_Custom/Contents"/>
</exec>
<copy file="${dist.jar}" tofile="${dist.dir}/jKaiUI_Custom.jar"/>
<move file="${dist.dir}/jKaiUI_Custom.jar" todir="${dist.dir}/JKaiUI_Custom/Contents/Resources/Java"/>
<move todir="${dist.dir}/${application.title}-devel.app">
<fileset dir="${dist.dir}/JKaiUI_Custom"/>
</move>
<!--
make dmg file for Mac OS X
-->
Expand Down
40 changes: 40 additions & 0 deletions resources/Info.plist
@@ -0,0 +1,40 @@
<?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>CFBundleName</key>
<string>JKaiUI_Custom</string>
<key>CFBundleIdentifier</key>
<string>pt.jkaiui.JKaiUI</string>
<key>CFBundleAllowMixedLocalizations</key>
<string>true</string>
<key>CFBundleExecutable</key>
<string>JavaApplicationStub</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleIconFile</key>
<string>JKaiUI.icns</string>
<key>Java</key>
<dict>
<key>MainClass</key>
<string>pt.jkaiui.JKaiUI</string>
<key>JVMVersion</key>
<string>1.5+</string>
<key>ClassPath</key>
<string>$JAVAROOT/jKaiUI_Custom.jar</string>
<key>Arguments</key>
<string>devel</string>
<key>Properties</key>
<dict>
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
</dict>
</dict>
</dict>
</plist>

0 comments on commit 8b1056a

Please sign in to comment.