From ab1ee51d68540d38310f186706feed4fde70b097 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Thu, 29 May 2014 12:10:09 +0200 Subject: [PATCH] MacOSX: switched to appbundler for building distribution files (Haavar Valeur) See #1665 --- app/src/processing/app/macosx/Platform.java | 5 ++ build/build.xml | 92 +++++++++++++-------- 2 files changed, 62 insertions(+), 35 deletions(-) diff --git a/app/src/processing/app/macosx/Platform.java b/app/src/processing/app/macosx/Platform.java index 34151db22..7bbe74984 100644 --- a/app/src/processing/app/macosx/Platform.java +++ b/app/src/processing/app/macosx/Platform.java @@ -52,6 +52,11 @@ public class Platform extends processing.app.Platform { UIManager.put("Component.visualMargin", new Insets(1, 1, 1, 1)); } + public Platform() { + // For more information see: + // http://mail.openjdk.java.net/pipermail/macosx-port-dev/2013-January/005261.html + Toolkit.getDefaultToolkit(); + } public void init(Base base) { System.setProperty("apple.laf.useScreenMenuBar", "true"); diff --git a/build/build.xml b/build/build.xml index a76e06ddd..8d5104a07 100644 --- a/build/build.xml +++ b/build/build.xml @@ -207,23 +207,48 @@ - - - - + - + - + - - - + + ino + c + cpp + h + text/plain + TEXT + - + + + + + + + @@ -235,22 +260,22 @@ - + - + - + - + - + @@ -260,20 +285,22 @@ - - - - + + + + - - + + - + + + @@ -339,18 +366,13 @@ - - - - - + + + + + - - -