Permalink
Browse files

update build.xml for make devel version app

add Info.plist for devel version
  • Loading branch information...
1 parent e7fd895 commit 8b1056aacb372407c07d27a4b8d7d33757fd9cde @yuuakron committed Jan 14, 2012
Showing with 55 additions and 2 deletions.
  1. +15 −2 build.xml
  2. +40 −0 resources/Info.plist
View
@@ -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 ."/>
@@ -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
-->
View
@@ -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.