OSDN Git Service

initial commit
authorankys <ankys@users.sourceforge.jp>
Wed, 20 Apr 2011 10:25:49 +0000 (19:25 +0900)
committerankys <ankys@users.sourceforge.jp>
Wed, 20 Apr 2011 10:25:49 +0000 (19:25 +0900)
PosterDivider.app/Contents/Info.plist [new file with mode: 0644]
PosterDivider.app/Contents/MacOS/JavaApplicationStub [new file with mode: 0755]
PosterDivider.app/Contents/PkgInfo [new file with mode: 0644]
build.sh
build_mac.sh [new file with mode: 0755]

diff --git a/PosterDivider.app/Contents/Info.plist b/PosterDivider.app/Contents/Info.plist
new file mode 100644 (file)
index 0000000..c6b353f
--- /dev/null
@@ -0,0 +1,37 @@
+<?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>CFBundleAllowMixedLocalizations</key>
+       <true/>
+       <key>CFBundleExecutable</key>
+       <string>JavaApplicationStub</string>
+       <key>CFBundleGetInfoString</key>
+       <string>PosterDivider 1.0.0</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundleIconFile</key>
+       <string>PosterDivider.icns</string>
+       <key>CFBundleIdentifier</key>
+       <string>PosterDivider</string>
+       <key>CFBundleName</key>
+       <string>PosterDivider</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+       <key>CFBundleSignature</key>
+       <string>????</string>
+       <key>CFBundleVersion</key>
+       <string>1.0.0</string>
+       <key>Java</key>
+       <dict>
+               <key>JVMVersion</key>
+               <string>1.4*</string>
+               <key>MainClass</key>
+               <string>jp.sourceforge.posterdivider.Program</string>
+               <key>Arguments</key>
+               <array/>
+               <key>ClassPath</key>
+               <string>$JAVAROOT/PosterDivider.jar</string>
+       </dict>
+</dict>
+</plist>
diff --git a/PosterDivider.app/Contents/MacOS/JavaApplicationStub b/PosterDivider.app/Contents/MacOS/JavaApplicationStub
new file mode 100755 (executable)
index 0000000..ee2a618
Binary files /dev/null and b/PosterDivider.app/Contents/MacOS/JavaApplicationStub differ
diff --git a/PosterDivider.app/Contents/PkgInfo b/PosterDivider.app/Contents/PkgInfo
new file mode 100644 (file)
index 0000000..bd04210
--- /dev/null
@@ -0,0 +1 @@
+APPL????
\ No newline at end of file
index b2ecf94..736f3b2 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -9,3 +9,4 @@ jar cmf ../MANIFEST.MF ../PosterDivider.jar *
 cd ..
 ant clean
 #rm iText.jar
+mv PosterDivider.jar ..
diff --git a/build_mac.sh b/build_mac.sh
new file mode 100755 (executable)
index 0000000..67a8a5b
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+ITEXTVERSION=5.0.6
+
+find . \( -name "._*" -o -name ".DS_Store" \) -exec rm {} \;
+#find . \80( -name "._*" -o -name ".DS_Store" \80) -exec rm {} \80;
+
+zip -r ../PosterDivider-src.zip *
+
+ln -s ../iText-${ITEXTVERSION}.jar iText.jar
+ant
+cd bin
+jar cmf ../MANIFEST.MF ../PosterDivider.jar *
+cd ..
+ant clean
+rm iText.jar
+mv PosterDivider.jar ..
+
+mkdir PosterDivider
+cp -r PosterDivider.app PosterDivider/
+cp ../iText-${ITEXTVERSION}.jar PosterDivider/PosterDivider.app/Contents/Resources/Java/
+ln -s iText-${ITEXTVERSION}.jar PosterDivider/PosterDivider.app/Contents/Resources/Java/iText.jar
+cp ../PosterDivider.jar PosterDivider/PosterDivider.app/Contents/Resources/Java/
+cp -r PosterDivider/PosterDivider.app ..
+cp Readme.txt PosterDivider/
+hdiutil create -srcfolder PosterDivider/ -volname "PosterDivider" ../PosterDivider.dmg
+rm -r PosterDivider