[Mondrian] no longer able to build mondrian

Michele Rossi michele.rossi at gmail.com
Mon Aug 22 12:28:04 EDT 2011


hi,
I am trying to build mondrian using jdk 1.5 and I am now getting an error
that I haven't seen before (see bottom of the email).
Is anyone experiencing the same issue?

Mondrian needs to be built with 1.5 on the path + 1.6 through buildJdk16
right?
My buildJdk16.bat contains correct values.


many thanks,
Michele


generate.resources:
    [javac] mondrian\olap\InvalidHierarchyException.java added as
mondrian/olap/InvalidHierarchyException.class doesn't exist.
    [javac] mondrian\olap\MondrianException.java added as
mondrian/olap/MondrianException.class doesn't exist.
    [javac] mondrian\olap\NativeEvaluationUnsupportedException.java added as
mondrian/olap/NativeEvaluationUnsupportedException.class doesn't exist.
    [javac] mondrian\olap\QueryCanceledException.java added as
mondrian/olap/QueryCanceledException.class doesn't exist.
    [javac] mondrian\olap\QueryTimeoutException.java added as
mondrian/olap/QueryTimeoutException.class doesn't exist.
    [javac] mondrian\olap\ResourceLimitExceededException.java added as
mondrian/olap/ResourceLimitExceededException.class doesn't exist.
    [javac] mondrian\olap\ResultLimitExceededException.java added as
mondrian/olap/ResultLimitExceededException.class doesn't exist.
    [javac] Compiling 7 source files to
C:\Work\thirdparty\mondrian_perforce\open\mondrian\classes
    [javac] Using modern compiler
dropping C:\Work\tools\apache-ant-1.6.2\lib\optional.jar from path as it
doesn't exist
    [javac] Compilation arguments:
    [javac] '-d'
    [javac] 'C:\Work\thirdparty\mondrian_perforce\open\mondrian\classes'
    [javac] '-classpath'
    [javac]
'C:\Work\thirdparty\mondrian_perforce\open\mondrian\classes;C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\servlet-api.jar;C:\Work
\thirdparty\mondrian_perforce\open\mondrian\lib\jsp-api.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-dbcp.jar;C:\Work\thirdparty
\mondrian_perforce\open\mondrian\lib\commons-collections.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-logging.jar;C:\Work\thirdp
arty\mondrian_perforce\open\mondrian\lib\commons-math.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-pool.jar;C:\Work\thirdparty\m
ondrian_perforce\open\mondrian\lib\commons-vfs.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\eigenbase-properties.jar;C:\Work\thirdparty\
mondrian_perforce\open\mondrian\lib\eigenbase-resgen.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\eigenbase-xom.jar;C:\Work\thirdparty\m
ondrian_perforce\open\mondrian\lib\javacup.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\log4j.jar;C:\Work\thirdparty\mondrian_perforce\o
pen\mondrian\lib\olap4j.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\xalan.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\xe
rcesImpl.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian;C:\Program
Files\Java\jdk1.6.0_26\lib\tools.jar;C:\Program Files\Java\jre6\lib\ext\QTJ
ava.zip;C:\Work\tools\apache-ant-1.6.2\lib\ant.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\workbench\plugins\kettle-dbdialog.jar;C:\Work\th
irdparty\mondrian_perforce\open\mondrian\workbench\plugins\kettle-core.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\workbench\plugins\kettle
-db.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\workbench\plugins\kettle-engine.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\work
bench\plugins\pentaho-xul-core.jar;C:\Work\thirdparty\mondrian_perforce\open\mondrian\workbench\plugins\pentaho-xul-swing.jar;C:\Work\thirdparty\mondr
ian_perforce\open\mondrian\workbench\plugins\commons-io.jar'
    [javac] '-sourcepath'
    [javac] 'C:\Work\thirdparty\mondrian_perforce\open\mondrian\src\main'
    [javac] '-g'
    [javac] '-source'
    [javac] '1.5'
    [javac]
    [javac] The ' characters around the executable and arguments are
    [javac] not part of the command.
    [javac] Files to be compiled:
    [javac]
C:\Work\thirdparty\mondrian_perforce\open\mondrian\src\main\mondrian\olap\InvalidHierarchyException.java
    [javac]
C:\Work\thirdparty\mondrian_perforce\open\mondrian\src\main\mondrian\olap\MondrianException.java
    [javac]
C:\Work\thirdparty\mondrian_perforce\open\mondrian\src\main\mondrian\olap\NativeEvaluationUnsupportedException.java
    [javac]
C:\Work\thirdparty\mondrian_perforce\open\mondrian\src\main\mondrian\olap\QueryCanceledException.java
    [javac]
C:\Work\thirdparty\mondrian_perforce\open\mondrian\src\main\mondrian\olap\QueryTimeoutException.java
    [javac]
C:\Work\thirdparty\mondrian_perforce\open\mondrian\src\main\mondrian\olap\ResourceLimitExceededException.java
    [javac]
C:\Work\thirdparty\mondrian_perforce\open\mondrian\src\main\mondrian\olap\ResultLimitExceededException.java

BUILD FAILED
C:\Work\thirdparty\mondrian_perforce\open\mondrian\build.xml:476: Error
starting modern compiler
        at
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:63)
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:55)
        ... 12 more
Caused by: java.lang.NoClassDefFoundError:
javax/tools/StandardJavaFileManager
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at com.sun.tools.javac.main.Main.compile(Main.java:269)
        at com.sun.tools.javac.Main.compile(Main.java:69)
        ... 17 more
--- Nested Exception ---
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:55)
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.NoClassDefFoundError:
javax/tools/StandardJavaFileManager
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at com.sun.tools.javac.main.Main.compile(Main.java:269)
        at com.sun.tools.javac.Main.compile(Main.java:69)
        ... 17 more
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20110822/f77eeb48/attachment-0001.html 


More information about the Mondrian mailing list