Skip to content

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

Mac app ant task building a ready-to-distribute zip file extending r7080

lotus091281c9f244
diff --git a/addon/YaCy.app/Contents/Info.plist b/addon/YaCy.app/Contents/Info.plist
index 576a78527..d2f6bf9ed 100644
--- a/addon/YaCy.app/Contents/Info.plist
+++ b/addon/YaCy.app/Contents/Info.plist
@@ -7,7 +7,7 @@
<key>CFBundleIdentifier</key>
<string>net.yacy.yacy</string>
<key>CFBundleVersion</key>
- <string>0.96</string>
+ <string>@REPL_VERSION@</string>
<key>CFBundleAllowMixedLocalizations</key>
<string>true</string>
<key>CFBundleExecutable</key>
diff --git a/build.xml b/build.xml
index be14cd234..a2252052a 100644
--- a/build.xml
+++ b/build.xml
@@ -55,7 +55,7 @@
<property name="htdocsWWW" location="${data}/HTDOCS/www"/>
<property name="release_main" location="${release}/MAIN"/>
<property name="release_windows" location="${release}/WINDOWS"/>
- <property name="release_mac" location="addon/YaCy.app/Contents/Resources/Java"/>
+ <property name="release_mac" location="${release}/MAC"/>
<property name="svnEntriesFile" location=".svn/entries"/>
<property name="defaults" location="defaults"/>
<!-- variables for installonlinux target-->
@@ -702,8 +702,13 @@
</target>
<target name="distMacApp" depends="copyMain4Dist" description="Creates a YaCy.app">
- <delete dir="${release_mac}" failonerror="false" verbose="false"/>
- <move file="${release_main}" tofile="${release_mac}" verbose="true" />
+ <copy todir="${release_mac}/YaCy.app">
+ <fileset dir="${addon}/YaCy.app"></fileset>
+ </copy>
+ <copy file="${addon}/YaCy.app/Contents/Info.plist" tofile="${release_mac}/YaCy.app/Contents/Info.plist" filtering="true" overwrite="true" />
+ <move file="${release_main}" tofile="${release_mac}/YaCy.app/Contents/Resources/Java" verbose="false" />
+ <zip destfile="${release}/yacy_v${releaseVersion}_${DSTAMP}_${releaseNr}.app.zip" basedir="${release_mac}" level="9"></zip>
+ <delete dir="${release_mac}" failonerror="false" verbose="false" />
</target>
<target name="deb" depends="init" description="Creates a debian package">