PDA

View Full Version : Can't find MondrianDef



fgrazi
03-21-2003, 11:17 AM
I am trying to recompile Mondrian (under Eclipse) but I can't find the class MondrianDef that is highly referenced. Is this a package name? Anybody knows how to compile?

jhyde
03-21-2003, 11:22 AM
This class is generated. Use the ANT build target "compile" (or "clean compile", if that doesn't work).

mondrian_aaron8tang
05-20-2003, 12:33 AM
when i use "build " or "build compile"to generate MondrianDef.java, i get error, but use "build def" is ok!!
====================================
Buildfile: build.xml
sniff:
prepare:
parser:
BUILD FAILED
java.lang.NoSuchMethodError: java_cup.Main.fileNameToClass(Ljava/lang/String;)Lj
ava/lang/String;
at java_cup.JavaCUPTask.getArgs(JavaCUPTask.java:205)
at java_cup.JavaCUPTask.execute(JavaCUPTask.java:191)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 1 second
java.lang.NoSuchMethodError: java_cup.Main.fileNameToClass(Ljava/lang/String;)Lj
ava/lang/String;
at java_cup.JavaCUPTask.getArgs(JavaCUPTask.java:205)
at java_cup.JavaCUPTask.execute(JavaCUPTask.java:191)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
java_cup.Main.fileNameToClass(Ljava/lang/String;)Ljava/lang/String;

mondrian_aaron8tang
05-20-2003, 12:46 AM
when i use "build " or "build compile"to generate MondrianDef.java, i get error, but use "build def" is ok!!
====================================
Buildfile: build.xml
sniff:
prepare:
parser:
BUILD FAILED
java.lang.NoSuchMethodError: java_cup.Main.fileNameToClass(Ljava/lang/String;)Lj
ava/lang/String;
at java_cup.JavaCUPTask.getArgs(JavaCUPTask.java:205)
at java_cup.JavaCUPTask.execute(JavaCUPTask.java:191)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 1 second
java.lang.NoSuchMethodError: java_cup.Main.fileNameToClass(Ljava/lang/String;)Lj
ava/lang/String;
at java_cup.JavaCUPTask.getArgs(JavaCUPTask.java:205)
at java_cup.JavaCUPTask.execute(JavaCUPTask.java:191)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
java_cup.Main.fileNameToClass(Ljava/lang/String;)Ljava/lang/String;

jhyde
05-20-2003, 05:40 AM
Very strange. Do a clean, and this problem may just go away. Check for other occurrences of javacup.jar on your classpath. And try downloading and installing javacup.jar again: you may have a corrupted copy.

mondrian_aaron8tang
05-20-2003, 05:45 AM
I've solved this problem after try and try again:).At last i get it in
http://www.pisoftware.com/downloads/tks-411.pdf.
As it says:
==============
java.lang.NoSuchMethodError
Using a version of Java prior to SDK 1.4.
==============
It's right.

mondrian_aaron8tang
05-20-2003, 07:37 AM
I've solved this problem after try and try again:).At last i get it in
http://www.pisoftware.com/downloads/tks-411.pdf.
As it says:
==============
java.lang.NoSuchMethodError
Using a version of Java prior to SDK 1.4.
==============
It's right.