diff --git a/.gitignore b/.gitignore
index fcbd322e5bf..ec92ee7ca1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,6 +24,7 @@ build/windows/WinAVR-*.zip
build/macosx/arduino-*.zip
build/macosx/dist/gcc-*.tar.gz
build/macosx/libastylej*
+build/macosx/appbundler*.jar
build/linux/work/
build/linux/dist/*.tar.gz
build/linux/*.tgz
diff --git a/app/src/processing/app/macosx/Platform.java b/app/src/processing/app/macosx/Platform.java
index 34151db2295..7bbe749846d 100644
--- a/app/src/processing/app/macosx/Platform.java
+++ b/app/src/processing/app/macosx/Platform.java
@@ -52,6 +52,11 @@ public void setLookAndFeel() throws Exception {
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 2ade6e17012..11606948578 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -22,7 +22,7 @@
-
+
@@ -155,7 +155,7 @@
-
+
@@ -207,23 +207,48 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ ino
+ c
+ cpp
+ h
+ text/plain
+ TEXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -235,22 +260,22 @@
-
+
-
+
-
+
-
+
-
+
@@ -260,24 +285,28 @@
-
-
-
-
+
+
+
+
-
-
+
+
-
+
+
+
-
+
+
+
@@ -339,18 +368,13 @@
-
-
-
-
-
+
+
+
+
+
-
-
-