[ chrisn chris-nuernbergers-macbook-pro ~/dev/editor/lambinator ] ./buildme.sh
Buildfile: build.xml
init:
compile_lambinator:
[java] Compiling lambinator.experiment to /Users/chrisn/dev/editor/lambinator/classes
[java] Compiling lambinator.ui to /Users/chrisn/dev/editor/lambinator/classes
[java] java.lang.ExceptionInInitializerError (ui.clj:1)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:747)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:201)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:104)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[java] Caused by: java.lang.ExceptionInInitializerError (ui.clj:1)
[java] at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:2684)
[java] at clojure.lang.Compiler$BodyExpr.eval(Compiler.java:3631)
[java] at clojure.lang.Compiler.compile(Compiler.java:4564)
[java] at clojure.lang.RT.compile(RT.java:362)
[java] at clojure.lang.RT.load(RT.java:404)
[java] at clojure.lang.RT.load(RT.java:376)
[java] at clojure.core$load__4557$fn__4559.invoke(core.clj:3427)
[java] at clojure.core$load__4557.doInvoke(core.clj:3426)
[java] at clojure.lang.RestFn.invoke(RestFn.java:413)
[java] at clojure.core$load_one__4520.invoke(core.clj:3271)
[java] at clojure.core$compile__4563$fn__4565.invoke(core.clj:3437)
[java] at clojure.core$compile__4563.invoke(core.clj:3436)
[java] at clojure.lang.Var.invoke(Var.java:327)
[java] at clojure.lang.Compile.main(Compile.java:52)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
[java] ... 20 more
[java] Caused by: java.lang.ExceptionInInitializerError
[java] at com.trolltech.qt.QtJambiObject.(QtJambiObject.java:57)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:164)
[java] at clojure.core$import__3583.doInvoke(core.clj:1600)
[java] at clojure.lang.RestFn.applyTo(RestFn.java:142)
[java] at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:2679)
[java] ... 39 more
[java] Caused by: java.lang.RuntimeException: Loading library failed, progress so far:
[java] Unpacking .jar file: 'qtjambi-macosx-gcc-4.4.3_01.jar'
[java] Checking Archive 'qtjambi-macosx-gcc-4.4.3_01.jar'
[java]
[java] at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:428)
[java] at com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryManager.java:352)
[java] at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:137)
[java] at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:133)
[java] at com.trolltech.qt.QtJambi_LibraryInitializer.(QtJambi_LibraryInitializer.java:53)
[java] ... 45 more
[java] Caused by: java.lang.RuntimeException: Failed to unpack native libraries, progress so far:
[java] Unpacking .jar file: 'qtjambi-macosx-gcc-4.4.3_01.jar'
[java] Checking Archive 'qtjambi-macosx-gcc-4.4.3_01.jar'
[java]
[java] at com.trolltech.qt.internal.NativeLibraryManager.unpack(NativeLibraryManager.java:365)
[java] at com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:434)
[java] at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:423)
[java] ... 49 more
[java] Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
[java] at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:113)
[java] at com.trolltech.qt.internal.NativeLibraryManager.readDeploySpec(NativeLibraryManager.java:496)
[java] at com.trolltech.qt.internal.NativeLibraryManager.unpackDeploymentSpec(NativeLibraryManager.java:521)
[java] at com.trolltech.qt.internal.NativeLibraryManager.unpack_helper(NativeLibraryManager.java:389)
[java] at com.trolltech.qt.internal.NativeLibraryManager.unpack(NativeLibraryManager.java:360)
[java] ... 51 more
[java] --- Nested Exception ---
[java] java.lang.ExceptionInInitializerError (ui.clj:1)
[java] at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:2684)
[java] at clojure.lang.Compiler$BodyExpr.eval(Compiler.java:3631)
[java] at clojure.lang.Compiler.compile(Compiler.java:4564)
[java] at clojure.lang.RT.compile(RT.java:362)
[java] at clojure.lang.RT.load(RT.java:404)
[java] at clojure.lang.RT.load(RT.java:376)
[java] at clojure.core$load__4557$fn__4559.invoke(core.clj:3427)
[java] at clojure.core$load__4557.doInvoke(core.clj:3426)
[java] at clojure.lang.RestFn.invoke(RestFn.java:413)
[java] at clojure.core$load_one__4520.invoke(core.clj:3271)
[java] at clojure.core$compile__4563$fn__4565.invoke(core.clj:3437)
[java] at clojure.core$compile__4563.invoke(core.clj:3436)
[java] at clojure.lang.Var.invoke(Var.java:327)
[java] at clojure.lang.Compile.main(Compile.java:52)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:747)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:201)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:104)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[java] Caused by: java.lang.ExceptionInInitializerError
[java] at com.trolltech.qt.QtJambiObject.(QtJambiObject.java:57)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:164)
[java] at clojure.core$import__3583.doInvoke(core.clj:1600)
[java] at clojure.lang.RestFn.applyTo(RestFn.java:142)
[java] at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:2679)
[java] ... 39 more
[java] Caused by: java.lang.RuntimeException: Loading library failed, progress so far:
[java] Unpacking .jar file: 'qtjambi-macosx-gcc-4.4.3_01.jar'
[java] Checking Archive 'qtjambi-macosx-gcc-4.4.3_01.jar'
[java]
[java] at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:428)
[java] at com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryManager.java:352)
[java] at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:137)
[java] at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:133)
[java] at com.trolltech.qt.QtJambi_LibraryInitializer.(QtJambi_LibraryInitializer.java:53)
[java] ... 45 more
[java] Caused by: java.lang.RuntimeException: Failed to unpack native libraries, progress so far:
[java] Unpacking .jar file: 'qtjambi-macosx-gcc-4.4.3_01.jar'
[java] Checking Archive 'qtjambi-macosx-gcc-4.4.3_01.jar'
[java]
[java] at com.trolltech.qt.internal.NativeLibraryManager.unpack(NativeLibraryManager.java:365)
[java] at com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:434)
[java] at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:423)
[java] ... 49 more
[java] Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
[java] at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:113)
[java] at com.trolltech.qt.internal.NativeLibraryManager.readDeploySpec(NativeLibraryManager.java:496)
[java] at com.trolltech.qt.internal.NativeLibraryManager.unpackDeploymentSpec(NativeLibraryManager.java:521)
[java] at com.trolltech.qt.internal.NativeLibraryManager.unpack_helper(NativeLibraryManager.java:389)
[java] at com.trolltech.qt.internal.NativeLibraryManager.unpack(NativeLibraryManager.java:360)
[java] ... 51 more
Solution:
sudo mv /usr/share/ant/lib/xercesImpl.jar /usr/share/ant/lib/xercesImpl.jar.back
Don't ask me how I figured that one out.