Skip to content

Commit

Permalink
rolling back manual copy of keytool on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
codeanticode committed Jul 11, 2015
1 parent 85184bb commit 81b728d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions build/build.xml
Expand Up @@ -99,7 +99,7 @@
<include name="bin/klist.exe" />
<include name="bin/ktab.exe" />

<!--<include name="bin/keytool" />--> <!-- needed for Android -->
<include name="bin/keytool" /> <!-- needed for Android -->
<include name="bin/orbd" />
<include name="bin/policytool" />
<include name="bin/rmid" />
Expand All @@ -114,7 +114,7 @@
</fileset>

<fileset dir="linux/work/java" id="jre-optional-linux">
<!--<include name="bin/keytool" />--> <!-- needed for Android -->
<include name="bin/keytool" /> <!-- needed for Android -->

<include name="lib/ext/dnsns.jar" />

Expand Down Expand Up @@ -547,6 +547,18 @@
-->
</bundleapp>

<!-- Temporary fix until new appbundler is included again after solving
https://github.com/processing/processing/issues/3359
https://github.com/processing/processing/issues/3360
The 'keytool' file is deleted by our appbundler. Add it back so that
Android signing works properly. (Not modifying our appbundler since
most of the time that appbundler is used, keytool isn't needed).
Also, because Ant's copy task does not retain file permissions on Unix systems,
we need to use <exec executable="cp" ... > instead -->
<exec executable="cp">
<arg line="${jdk.path.macosx}/Contents/Home/bin/keytool macosx/work/Processing.app/Contents/PlugIns/jdk${jdk.esoteric}.jdk/Contents/Home/jre/bin"/>
</exec>

<!-- Replace libjli.dylib symlink with actual file.
Deals with code signing issues on OS X 10.9.5+ -->
<property name="jli.path" value="macosx/work/Processing.app/Contents/PlugIns/jdk${jdk.esoteric}.jdk/Contents/MacOS/libjli.dylib" />
Expand Down

0 comments on commit 81b728d

Please sign in to comment.