* fix build warnings

This commit is contained in:
Reinhard Pointner 2014-10-11 16:22:44 +00:00
parent 5485004130
commit 6e8df6db78
1 changed files with 11 additions and 8 deletions

View File

@ -304,17 +304,20 @@
</bundleapp>
<!-- fix code signing and submission issues -->
<delete verbose="true" followsymlinks="false" removenotfollowedsymlinks="true">
<fileset dir="${dir.dist}/FileBot.app/Contents/PlugIns" includes="**/libjfxmedia.dylib" />
<delete verbose="yes">
<fileset dir="${dir.dist}/FileBot.app/Contents/PlugIns">
<include name="**/libjfxmedia.dylib" />
<include name="**/Contents/Info.plist" />
<include name="**/Contents/MacOS/libjli.dylib" />
</fileset>
</delete>
<delete verbose="true" file="${dir.dist}/FileBot.app/Contents/PlugIns/${jre.version}/Contents/MacOS/libjli.dylib" followsymlinks="false" removenotfollowedsymlinks="true" />
<copy file="/Library/Java/JavaVirtualMachines/${jre.version}/Contents/Info.plist" tofile="${dir.dist}/FileBot.app/Contents/PlugIns/${jre.version}/Contents/Info.plist" verbose="true" overwrite="yes" />
<copy file="/Library/Java/JavaVirtualMachines/${jre.version}/Contents/MacOS/libjli.dylib" tofile="${dir.dist}/FileBot.app/Contents/PlugIns/${jre.version}/Contents/MacOS/libjli.dylib" verbose="true" overwrite="yes" />
<chmod dir="${dir.dist}/FileBot.app/Contents/PlugIns" perm="+rw" verbose="true" />
<copy verbose="yes" failonerror="yes" overwrite="yes" file="/Library/Java/JavaVirtualMachines/${jre.version}/Contents/Info.plist" tofile="${dir.dist}/FileBot.app/Contents/PlugIns/${jre.version}/Contents/Info.plist" />
<copy verbose="yes" failonerror="yes" overwrite="yes" file="/Library/Java/JavaVirtualMachines/${jre.version}/Contents/MacOS/libjli.dylib" tofile="${dir.dist}/FileBot.app/Contents/PlugIns/${jre.version}/Contents/MacOS/libjli.dylib" />
<!-- fix permissions -->
<chmod verbose="true" dir="${dir.dist}" includes="**/fpcalc" perm="755" />
<chmod verbose="yes" dir="${dir.dist}" includes="**/fpcalc" perm="755" />
<chmod verbose="yes" dir="${dir.dist}/FileBot.app/Contents/PlugIns" perm="+rw" />
<!-- JRE sign all jars, dylibs and executables -->
<apply executable="codesign">