Description
I'm getting an error when running ("ant run") the ide-1.5.x branch on Mac OS X 10.9.3 with java version "1.7.0_60". (This is a fresh clone of the repository.) It appears that it expects libastylej.dylib when the file is actually called libastylej.jnilib. If I rename Arduino/build/macosx/work/Arduino.app/Contents/Java/lib/libastylej.jnilib to libastylej.dylib, it runs, although the fonts look wrong.
To see the error, I had to manually run JavaAppLauncher in Arduino/build/macosx/work/Arduino.app/Contents/MacOS from the terminal.
mellis:MacOS mellis$ ./JavaAppLauncher
2014-07-02 17:46:54.374 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.374 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.375 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.375 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.375 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.375 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.375 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.375 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.375 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.375 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.375 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
2014-07-02 17:46:54.376 JavaAppLauncher[46976:507] NSDocumentController Info.plist warning: The elements of CFBundleDocumentTypes entry arrays must be dictionaries.
java.lang.UnsatisfiedLinkError: Can't load library: /Users/mellis/Desktop/Arduino/build/macosx/work/Arduino.app/Contents/Java/lib/libastylej.dylib
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at cc.arduino.packages.formatter.AStyleInterface.(AStyleInterface.java:13)
at cc.arduino.packages.formatter.AStyle.(AStyle.java:22)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at java.lang.Class.newInstance(Class.java:433)
at processing.app.Editor.createToolMenuItem(Editor.java:885)
at processing.app.Editor.addInternalTools(Editor.java:908)
at processing.app.Editor.buildToolsMenu(Editor.java:681)
at processing.app.Editor.buildMenuBar(Editor.java:486)
at processing.app.Editor.(Editor.java:212)
at processing.app.Base.handleOpen(Base.java:935)
at processing.app.Base.handleOpen(Base.java:900)
at processing.app.Base.handleNew(Base.java:803)
at processing.app.Base.(Base.java:459)
at processing.app.Base.main(Base.java:225)
Can't load library: /Users/mellis/Desktop/Arduino/build/macosx/work/Arduino.app/Contents/Java/lib/libastylej.dylib
Cannot load native library /Users/mellis/Desktop/Arduino/build/macosx/work/Arduino.app/Contents/Java/lib/libastylej.dylib
The program has terminated!