Skip to content

Commit 7ae8e1a

Browse files
committed
roll up to new OS X 10.10 SDK, keep keytool, other updates
1 parent 3ce81c7 commit 7ae8e1a

5 files changed

Lines changed: 13 additions & 15 deletions

File tree

build/build.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -497,15 +497,6 @@
497497
-->
498498
</bundleapp>
499499

500-
<!-- The 'keytool' file is deleted by our appbundler. Add it back so that
501-
Android signing works properly. (Not modifying our appbundler since
502-
most of the time that appbundler is used, keytool isn't needed).
503-
Also, because Ant's copy task does not retain file permissions on Unix systems,
504-
we need to use <exec executable="cp" ... > instead -->
505-
<exec executable="cp">
506-
<arg line="${jdk.path.macosx}/Contents/Home/bin/keytool macosx/work/Processing.app/Contents/PlugIns/jdk${jdk.esoteric}.jdk/Contents/Home/jre/bin"/>
507-
</exec>
508-
509500
<!-- Replace libjli.dylib symlink with actual file.
510501
Deals with code signing issues on OS X 10.9.5+ -->
511502
<property name="jli.path" value="macosx/work/Processing.app/Contents/PlugIns/jdk${jdk.esoteric}.jdk/Contents/MacOS/libjli.dylib" />

build/macosx/appbundler.jar

-239 Bytes
Binary file not shown.

build/macosx/appbundler/build.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,13 @@ questions.
8484
<arg value="Cocoa"/>
8585
<arg value="-F"/>
8686
<arg value="${env.JAVA_HOME}/../.."/>
87-
<arg value="-isysroot"/>
87+
<arg value="-isysroot"/>
88+
<!--
8889
<arg value="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"/>
8990
<arg value="-mmacosx-version-min=10.7"/>
91+
-->
92+
<arg value="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"/>
93+
<arg value="-mmacosx-version-min=10.8"/>
9094
<arg value="native/main.m"/>
9195
</exec>
9296
</target>

build/macosx/appbundler/src/com/oracle/appbundler/AppBundlerTask.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ public class AppBundlerTask extends Task {
7676

7777
private String applicationCategory = null;
7878
private boolean highResolutionCapable = true;
79-
// Oracle Java 7 requires 10.7.3 or later, so require it here.
80-
private String minimumSystem = "10.7.3";
79+
// Oracle Java 8 requires 10.8.3 or later, so require it here.
80+
private String minimumSystem = "10.8.3";
8181
// By default, don't embed Java FX.
8282
private boolean javafx = false;
8383

@@ -205,10 +205,10 @@ public void addConfiguredRuntime(FileSet runtime) throws BuildException {
205205
"bin/",
206206

207207
// original version, removed entire bin folder
208-
// "jre/bin/",
208+
//"jre/bin/",
209209

210210
// remove everything except 'java'
211-
"jre/bin/keytool",
211+
// also keep 'keytool' (needed by Android)
212212
"jre/bin/orbd",
213213
"jre/bin/pack200",
214214
"jre/bin/policytool",

todo.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ X Deal with ctrl-alt-n regression
55
X https://github.com/processing/processing/issues/2979
66
X splash screen for Linux
77
X https://github.com/processing/processing/pull/3005
8+
9+
update components
810
X moving to Java 8 because Java 7 will be discontinued
911
X http://www.oracle.com/technetwork/java/javase/eol-135779.html
10-
_ requires Vista SP2 (ok, just say 7), and OS X 10.8.3, Ubuntu 12.04
12+
X requires Vista SP2 (ok, just say 7), and OS X 10.8.3, Ubuntu 12.04
13+
X requires 10.10 to build appbundler (for the Xcode SDK)
1114
X requires ECJ update (using 4.4.1)
1215
X http://download.eclipse.org/eclipse/downloads/drops4/R-4.4.1-201409250400/
1316
X update to launch4j 3.6

0 commit comments

Comments
 (0)