[Mondrian] Mondrian build news

John V. Sichi jsichi at gmail.com
Sat May 17 20:23:23 EDT 2008


Julian Hyde wrote:
> A few important changes in mondrian's build process.
>  
> First, we have switched to apache ivy for dependency management. The goal is
> to reduce the size of the downloads, and be more flexible in a world where
> our dependencies are changing rapidly. Details here:
> 
...
> Hopefully this will make downloading & building a smoother process. There
> may be a few teething troubles; let me know if you have any problems.

In a fresh sandbox, running ant will result in errors:

compile.java:
     [javac] Compiling 508 source files to /apps/jvs/open/mondrian/classes
     [javac] 
/apps/jvs/open/mondrian/src/main/mondrian/olap/Query.java:334: cannot 
find symbol
     [javac] symbol  : method ex()
     [javac] location: class mondrian.resource.MondrianResource._Def12
     [javac]             throw 
MondrianResource.instance().QueryCanceled.ex();
... lots more...

Doing ant clean and trying again will fix things.  (Doing ant clean at 
the very beginning won't help.)

Also, ant cmdrunner appears to be broken:

...
     [unjar] Expanding: /apps/jvs/open/mondrian/lib/log4j-1.2.9.jar into 
/apps/jvs/open/mondrian/build/tmpcmdrunner

BUILD FAILED
/apps/jvs/open/mondrian/build.xml:406: Error while expanding 
/apps/jvs/open/mondrian/lib/log4j-1.2.9.jar

I was happy to find out that if ivy can't access the repository, it 
doesn't fail as long as it already has the libraries cached from a 
previous download (requiring connectivity for incremental builds would 
be a pain).

ivy output does add a bit of noise/latency to common build steps.

JVS




More information about the Mondrian mailing list