Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

added a Macintosh OSX application wrapper. You can now create a YaCy Mac application like this: - build a new version of YaCy - take everything that is in the yacy home directory (from the fresh build) and move it into a copy of the YaCy.app directory under YaCy.app/Contents/Resources/Java/ - ready: double-click the YaCy.app icon and the new YaCy gui starts, then the browsers is also opened. - if the Mac application is terminated, also the YaCy demon should be stopped automatically and vice versa. This is currently not really good working and needs some more care. A build script for this is missing. Does anyone know how to do that in ant?

orbiter838e8a1cb71f
diff --git a/addon/YaCy.app/Contents/Info.plist b/addon/YaCy.app/Contents/Info.plist
new file mode 100644
index 000000000..576a78527
--- /dev/null
+++ b/addon/YaCy.app/Contents/Info.plist
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+ <key>CFBundleName</key>
+ <string>YaCy</string>
+ <key>CFBundleIdentifier</key>
+ <string>net.yacy.yacy</string>
+ <key>CFBundleVersion</key>
+ <string>0.96</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>YaCyLogo2008.icns</string>
+ <key>Java</key>
+ <dict>
+ <key>WorkingDirectory</key>
+ <string>$APP_PACKAGE/Contents/Resources/Java</string>
+ <key>MainClass</key>
+ <string>net.yacy.yacy</string>
+ <key>JVMVersion</key>
+ <string>1.5+</string>
+ <key>Arguments</key>
+ <string>-gui</string>
+ <key>ClassPath</key>
+ <array>
+ <string>$JAVAROOT/lib/bcmail-jdk15-145.jar</string>
+ <string>$JAVAROOT/lib/bcprov-jdk15-145.jar</string>
+ <string>$JAVAROOT/lib/bzip2.jar</string>
+ <string>$JAVAROOT/lib/commons-codec-1.4.jar</string>
+ <string>$JAVAROOT/lib/commons-fileupload-1.2.1.jar</string>
+ <string>$JAVAROOT/lib/commons-httpclient-3.1.jar</string>
+ <string>$JAVAROOT/lib/commons-io-1.4.jar</string>
+ <string>$JAVAROOT/lib/commons-jxpath-1.3.jar</string>
+ <string>$JAVAROOT/lib/commons-logging-1.1.1.jar</string>
+ <string>$JAVAROOT/lib/fontbox-1.1.0.jar</string>
+ <string>$JAVAROOT/lib/activation.jar</string>
+ <string>$JAVAROOT/lib/apache-mime4j-0.6.jar</string>
+ <string>$JAVAROOT/lib/J7Zip-modified.jar</string>
+ <string>$JAVAROOT/lib/httpclient-4.0.1.jar</string>
+ <string>$JAVAROOT/lib/httpcore-4.0.1.jar</string>
+ <string>$JAVAROOT/lib/httpmime-4.0.1.jar</string>
+ <string>$JAVAROOT/lib/jakarta-oro-2.0.8.jar</string>
+ <string>$JAVAROOT/lib/jcifs-1.3.14.jar</string>
+ <string>$JAVAROOT/lib/jsch-0.1.42.jar</string>
+ <string>$JAVAROOT/lib/log4j-1.2.15.jar</string>
+ <string>$JAVAROOT/lib/metadata-extractor-2.4.0-beta-1.jar</string>
+ <string>$JAVAROOT/lib/mysql-connector-java-5.1.12-bin.jar</string>
+ <string>$JAVAROOT/lib/pdfbox-1.1.0.jar</string>
+ <string>$JAVAROOT/lib/poi-3.6-20091214.jar</string>
+ <string>$JAVAROOT/lib/poi-scratchpad-3.6-20091214.jar</string>
+ <string>$JAVAROOT/lib/servlet-api.jar</string>
+ <string>$JAVAROOT/lib/webcat-0.1-swf.jar</string>
+ <string>$JAVAROOT/lib/xerces.jar</string>
+ <string>$JAVAROOT/lib/yacycore.jar</string>
+ </array>
+ <key>Properties</key>
+ <dict>
+ <key>apple.laf.useScreenMenuBar</key>
+ <string>true</string>
+ </dict>
+ </dict>
+</dict>
+</plist>
diff --git a/addon/YaCy.app/Contents/MacOS/JavaApplicationStub b/addon/YaCy.app/Contents/MacOS/JavaApplicationStub
new file mode 100755
index 000000000..5300aebfe
Binary files /dev/null and b/addon/YaCy.app/Contents/MacOS/JavaApplicationStub differ
diff --git a/addon/YaCy.app/Contents/PkgInfo b/addon/YaCy.app/Contents/PkgInfo
new file mode 100644
index 000000000..bd04210fb
--- /dev/null
+++ b/addon/YaCy.app/Contents/PkgInfo
@@ -0,0 +1 @@
+APPL????
\ No newline at end of file
diff --git a/addon/YaCy.app/Contents/Resources/YaCyLogo2008.icns b/addon/YaCy.app/Contents/Resources/YaCyLogo2008.icns
new file mode 100644
index 000000000..f69dde5c2
Binary files /dev/null and b/addon/YaCy.app/Contents/Resources/YaCyLogo2008.icns differ