[Mondrian] strange build message...
ati.rosselet at gmail.com
Mon Apr 11 04:25:19 EDT 2011
For both the 3.2.2 and 3.3 branches, I have a strange artifact when
doing a full build (clean, build) from command line.
When trying to just compile the jar (ant jar), it keeps telling me
that it can't find javac, and showing a non-existent path (a jre path)
for JAVA_HOME. I've tried many times and I keep getting the same
results. ant 1.7.1 and ant 1.8.2.
If you checkout either branch and just do:
does anyone else get this problem or know a workaround? Odd thing is..
although it says "build failed", it then goes on and creates
the jar file as if nothing had happened?!? full build with "ant"
doesn't have this problem, but also doesn't seem to call the 'jar'
target at all
(dist/mondrian-3.3.SNAPSHOT.jar is only created by the 'ant jar' command....).
Am I missing something simple?
----- excerpt from build ----
[exec] [javac] Compiling 8 source files to
[exec] BUILD FAILED
Unable to find a javac compiler;
[exec] com.sun.tools.javac.Main is not on the classpath.
[exec] Perhaps JAVA_HOME does not point to the JDK.
[exec] It is currently set to "/opt/jdk1.6.0_23/jre"
[exec] Total time: 3 seconds
[exec] Result: 1
[jar] Building jar:
[copy] Copying 1 file to /home/arosselet/work/BI/perforce/mondrian/dist
More information about the Mondrian