Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: [Mondrian] ant "jar" target failing on trunk

  1. #1
    Michele Rossi Guest

    Default [Mondrian] ant "jar" target failing on trunk

    Hi,
    I am trying to build a mondrian distribution (from the trunk) and I've run
    into the following problem.

    Even if I run "ant prepare" beforehand running "ant jar" fails with the
    error below, triggered by "compile.tests".
    It's as if something deleted the test jars just before they are needed for
    the compile.tests task.

    Any ideas?

    thanks,
    Michele



    compile.tests:
    [echo] Test Classpath:
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\asm-commons.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\asm-tree.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\asm-util.jar
    [echo] C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\asm.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\backport-util-concurrent.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-collections.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-dbcp.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-io.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-lang.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-logging.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-math.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-pool.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-vfs.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\derby.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\dom4j.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\eigenbase-properties.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\eigenbase-resgen.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\eigenbase-xom.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\hsqldb.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\javacc.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\javacup.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\jlfgr.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\jsp-api.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\junit.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\log4j.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\olap4j-source.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\olap4j-tck.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\olap4j-xmla.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\olap4j.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\retroweaver-rt.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\retroweaver.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\servlet-api.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\xalan.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\xercesImpl.jar
    [echo]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\xmlunit.jar
    [echo] C:\Work\thirdparty\mondrian_perforce\open\mondrian\classes
    [echo] C:\Work\thirdparty\mondrian_perforce\open\mondrian\testclasses
    [javac] Compiling 162 source files to
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\testclasses
    [javac]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\testsrc\main\mondrian\olap4j\MondrianInprocProxy.java:11:
    cannot find symbol
    [javac] symbol : class XmlaOlap4jServerInfos
    [javac] location: package org.olap4j.driver.xmla
    [javac] import org.olap4j.driver.xmla.XmlaOlap4jServerInfos;
    [javac] ^
    [javac]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\testsrc\main\mondrian\olap4j\MondrianInprocProxy.java:70:
    cannot find symbol
    [javac] symbol : class XmlaOlap4jServerInfos
    [javac] location: class mondrian.olap4j.MondrianInprocProxy
    [javac] XmlaOlap4jServerInfos infos,
    [javac] ^
    [javac]
    C:\Work\thirdparty\mondrian_perforce\open\mondrian\testsrc\main\mondrian\olap4j\MondrianInprocProxy.java:83:
    cannot find symbol
    [javac] symbol : class XmlaOlap4jServerInfos
    [javac] location: class mondrian.olap4j.MondrianInprocProxy
    [javac] final XmlaOlap4jServerInfos infos,
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors

    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

  2. #2
    Luc Boudreau Guest

    Default Re: [Mondrian] ant "jar" target failing on trunk

    Michele,

    I have just checked in a new version of the Ivy dependencies file. Try
    synchronizing again (//open/mondrian) and run only "ant" without specifying
    any target.

    Tell me if it works.

    Luc

    On Wed, Apr 13, 2011 at 9:32 AM, Michele Rossi <michele.rossi (AT) gmail (DOT) com>wrote:

    > Hi,
    > I am trying to build a mondrian distribution (from the trunk) and I've run
    > into the following problem.
    >
    > Even if I run "ant prepare" beforehand running "ant jar" fails with the
    > error below, triggered by "compile.tests".
    > It's as if something deleted the test jars just before they are needed for
    > the compile.tests task.
    >
    > Any ideas?
    >
    > thanks,
    > Michele
    >
    >
    >
    > compile.tests:
    > [echo] Test Classpath:
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\asm-commons.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\asm-tree.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\asm-util.jar
    > [echo] C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\asm.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\backport-util-concurrent.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-collections.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-dbcp.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-io.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-lang.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-logging.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-math.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-pool.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\commons-vfs.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\derby.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\dom4j.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\eigenbase-properties.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\eigenbase-resgen.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\eigenbase-xom.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\hsqldb.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\javacc.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\javacup.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\jlfgr.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\jsp-api.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\junit.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\log4j.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\olap4j-source.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\olap4j-tck.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\olap4j-xmla.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\olap4j.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\retroweaver-rt.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\retroweaver.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\servlet-api.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\xalan.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\xercesImpl.jar
    > [echo]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\lib\xmlunit.jar
    > [echo] C:\Work\thirdparty\mondrian_perforce\open\mondrian\classes
    > [echo] C:\Work\thirdparty\mondrian_perforce\open\mondrian\testclasses
    > [javac] Compiling 162 source files to
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\testclasses
    > [javac]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\testsrc\main\mondrian\olap4j\MondrianInprocProxy.java:11:
    > cannot find symbol
    > [javac] symbol : class XmlaOlap4jServerInfos
    > [javac] location: package org.olap4j.driver.xmla
    > [javac] import org.olap4j.driver.xmla.XmlaOlap4jServerInfos;
    > [javac] ^
    > [javac]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\testsrc\main\mondrian\olap4j\MondrianInprocProxy.java:70:
    > cannot find symbol
    > [javac] symbol : class XmlaOlap4jServerInfos
    > [javac] location: class mondrian.olap4j.MondrianInprocProxy
    > [javac] XmlaOlap4jServerInfos infos,
    > [javac] ^
    > [javac]
    > C:\Work\thirdparty\mondrian_perforce\open\mondrian\testsrc\main\mondrian\olap4j\MondrianInprocProxy.java:83:
    > cannot find symbol
    > [javac] symbol : class XmlaOlap4jServerInfos
    > [javac] location: class mondrian.olap4j.MondrianInprocProxy
    > [javac] final XmlaOlap4jServerInfos infos,
    > [javac] ^
    > [javac] Note: Some input files use or override a deprecated API.
    > [javac] Note: Recompile with -Xlint:deprecation for details.
    > [javac] Note: Some input files use unchecked or unsafe operations.
    > [javac] Note: Recompile with -Xlint:unchecked for details.
    > [javac] 3 errors
    >
    >
    > _______________________________________________
    > Mondrian mailing list
    > Mondrian (AT) pentaho (DOT) org
    > http://lists.pentaho.org/mailman/listinfo/mondrian
    >
    >


    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.