Commit b22bbb3a authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Updated for 3.0.1

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/branches/3_0_branch@4452 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8c86754c
......@@ -63,7 +63,7 @@
<property name="version.major" value="3"/>
<property name="version.minor" value="0"/>
<property name="version.revision" value="0"/>
<property name="version.revision" value="1"/>
<property name="version.extra" value=""/> <!-- For 'beta' or 'alpha' -->
<property name="dist.prefix" value="wildfire"/>
......@@ -1188,13 +1188,13 @@
<property name="mac.dmg.dir" value="${basedir}/Wildfire" />
<property name="mac.dmg.file" value="${basedir}/wildfire.dmg" />
<property name="mac.dmg.template" value="${basedir}/build/osx/template.dmg" />
<target name="mac.delete">
<delete dir="${mac.pkg.dir}" />
<delete dir="${mac.dmg.dir}" />
<delete file="${mac.dmg.file}" />
</target>
<target name="mac.prepare" depends="mac.delete,jar">
<copy file="${mac.dmg.template}" tofile="${basedir}/tmp.dmg" />
<mkdir dir="${mac.dmg.dir}" />
......@@ -1209,7 +1209,7 @@
</fileset>
</copy>
<mkdir dir="${mac.pkg.dir}/System/Library/LaunchDaemons"/>
<copy file="${basedir}/build/osx/org.jivesoftware.wildfire.plist"
<copy file="${basedir}/build/osx/org.jivesoftware.wildfire.plist"
todir="${mac.pkg.dir}/System/Library/LaunchDaemons"/>
<mkdir dir="${mac.dmg.dir}"/>
<exec executable="chown">
......@@ -1225,11 +1225,11 @@
</fileset>
</chmod>
</target>
<!-- create a mac os x installer -->
<target name="mac.pkg" depends="mac.prepare">
<exec executable="/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker">
<arg value="-build"/>
<arg value="-build"/>
<arg value="-proj" />
<arg value="${basedir}/build/osx/wildfire.pmproj"/>
<arg value="-p"/>
......@@ -1238,7 +1238,7 @@
<arg value="-ds"/>
</exec>
</target>
<target name="mac.dmg" depends="mac.pkg">
<exec executable="hdiutil" failonerror="true">
<arg line="detach ${mac.dmg.dir} -quiet -force" />
......@@ -1246,7 +1246,7 @@
<exec executable="hdiutil" failonerror="true">
<arg line="convert ${basedir}/tmp.dmg -format UDZO -o ${mac.dmg.file}"/>
</exec>
<delete file="${basedir}/tmp.dmg"/>
<delete file="${basedir}/tmp.dmg"/>
</target>
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment