[Mondrian] mondrian build problems

Paul Stoellberger p.stoellberger at gmail.com
Thu Dec 20 11:25:08 EST 2012


Does anybody else have problems building master?

I am seeing the exceptions below and BUILD FAILED
     [exec] compile.java:
     [exec]      [echo] Compiling on JVM Version: 1.6.0_37-b06-434-11M3909
     [exec]     [javac] Compiling 18 source files to /Users/pstoellberger/dev/mondrian/classes
     [exec]     [javac] /Users/pstoellberger/dev/mondrian/src/main/mondrian/olap/Parser.java:778: cannot access Symbol
     [exec]     [javac] class file for Symbol not found
     [exec]     [javac]     return scanner.next_token();
     [exec]     [javac]                              ^
     [exec]     [javac] /Users/pstoellberger/dev/mondrian/src/main/mondrian/olap/Parser.java:897: next_token() in mondrian.olap.Parser.PrefixScanner cannot override next_token() in mondrian.olap.Scanner; attempting to use incompatible return type
     [exec]     [javac] found   : java_cup.runtime.Symbol
     [exec]     [javac] required: Symbol
     [exec]     [javac]         public Symbol next_token() throws java.io.IOException {


and

generate.properties:
    [javac] mondrian/util/PropertyUtil.java omitted as /Users/pstoellberger/dev/mondrian/classes/mondrian/util/PropertyUtil.class is up to date.
     [java] running mondrian.util.PropertyUtil with default permissions (exit forbidden)
     [java] Running in same VM Executing 'mondrian.util.PropertyUtil'
     [java] The ' characters around the executable and arguments are
     [java] not part of the command.
dropping /Users/pstoellberger/dev/mondrian/${env.CLASSPATH} from path as it doesn't exist
dropping /usr/share/ant/lib/optional.jar from path as it doesn't exist
     [java] java.lang.Error: Unresolved compilation problem: 
     [java] 
     [java] 	at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
     [java] 	at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java] 	at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java] 	at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java] 	at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:601)
     [java] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java] 	at org.apache.tools.ant.Task.perform(Task.java:348)
     [java] 	at org.apache.tools.ant.Target.execute(Target.java:390)
     [java] 	at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     [java] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java] 	at org.apache.tools.ant.Main.runBuild(Main.java:809)
     [java] 	at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     [java] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
     [java] Caused by: java.lang.Error: Unresolved compilation problem: 
     [java] 
     [java] 	at mondrian.util.PropertyUtil.main(PropertyUtil.java:92)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:601)
     [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] Java Result: -1


More information about the Mondrian mailing list