Alright,<div><br></div><div>My bad, I did not include that jar stored in the ${project_location}/lib</div><div>It does work fine now.</div><div><br></div><div>Sorry,<br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 3:47 PM, Yanis Guenane <span dir="ltr">&lt;<a href="mailto:yg@cassini-solutions.com">yg@cassini-solutions.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">One more detail.<div><br></div><div>When I look through the code I can see that <u>the import org.olap4j cannot be resolved</u></div>
<div><u><br></u></div><div>Is it supposed to be in the archive ? or should I download it myself?<div><div></div><div class="h5"><br>
<br><div class="gmail_quote">On Wed, Oct 27, 2010 at 3:42 PM, Yanis Guenane <span dir="ltr">&lt;<a href="mailto:yg@cassini-solutions.com" target="_blank">yg@cassini-solutions.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Thank you Venki for the reply,<div><br></div><div>After doing all of this once I reach to the Eclipse part and I compile everything I get something like 2180 erros. For sure I missed something.</div><div><br></div><div>So I installed the java packages.</div>


<div><br></div><div>There are in the directory /usr/lib/jvm/java-6-sun-1.6.0.20/. So I set my JAVA_HOME environment variable to this directory.</div><div><br></div><div>Then I executed ant and it told me javac was not find which implied a BUILD FAILED. So I did download it, but when I look for it, it&#39;s in the /usr/lib/jvm/java-6-openjdk directory.</div>


<div>So I set the JAVA_HOME environment to this directory.</div><div><br></div><div>Now ANT gets a BUILD SUCESSFUL.</div><div><br></div><div>I created Java project from mondrian-3.2.0.13583/src at the compilation time that when I get all those errors.</div>


<div><br></div><div>Do you have any idea of the why ?<div><div></div><div><br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 1:51 PM, Venkatesh U <span dir="ltr">&lt;<a href="mailto:venkatesh20@gmail.com" target="_blank">venkatesh20@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I never downloaded xalan.jar, I think Mondrian&#39;s latest build is using ivy and downloads all the depend jars itself. All you need to do is to extract the src zip ( say for eg. mondrian-3.2.0.13583-src.zip), install ant and set ANT_HOME as env variable, then get in to the folder extracted folder (mondrian-3.2.0.13583) and run ant. The default task in the build.xml is &lt;all&gt;. This gets all the dependent libraries that you need to play with mondrian code. After running the ant once, open the source folder as a project in eclipse. If you are using jdk 1.6 delete the file mondrian/olap4j/FactoryJdbc3Impl.java, if you are running below 1.5 then delete the file FactoryJdbc4Impl.java. ( Build already excludes the files appropriately while building the Jars) this is to avoid errors in eclipse. <br>




Setup the file mondrian.properties and pass it as an argument to cmdrunner with -p option. Then start running CmdRunner.java, you ll be able to run MDX queries in the console. <br><br>Note: The latest source mondrian-3.2.0.13661 has some build issues, hence use the prior version mondrian-3.2.0.13583 which builds without any issues..<br>




<br>Good Luck<br><br>Venki<br><br><br><div class="gmail_quote"><div><div></div><div>On Wed, Oct 27, 2010 at 4:47 PM, Yanis Guenane <span dir="ltr">&lt;<a href="mailto:yg@cassini-solutions.com" target="_blank">yg@cassini-solutions.com</a>&gt;</span> wrote:<br>




</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>Hi all,<div><br></div><div>I am new to Mondrian and quite new to Linux too. (I am running Ubuntu 10.04)</div>




<div>I am trying to install Mondrian via the source code, following Mondrian&#39;s Developer Guide instructions.</div>
<div><br></div><div>On the Appendix of what product should be installed before installation,</div><div>it is told to set <i>XALAN_HOME</i> and <i>JUNIT_HOME</i> environment variables.</div><div><br></div><div>The thing is that I downloaded <i>xalan (xalan and libxalan2-java*)</i> and <i>junit</i> packages, but -once installed- I only have <i>/usr/bin/xalan</i> and <i>/usr/bin/junit.</i></div>





<div><br></div><div>I can&#39;t find anything that looks like this pattern : &quot;..../bin/xalan.jar&quot;</div><div><br></div><div>Does someone knows where this is supposed to be installed in Ubuntu Linux OS ?</div><div>





Or what packages should I get if the one I downloaded are wrong?</div><div><br></div><div>Thank you,</div><div><br>-- <br><b>Yanis Guenane</b><br><b><i>Cassini Solutions</i></b><b><i><span style="font-weight:normal"> </span></i></b><div>





<b><i><span style="font-weight:normal">BI Developer</span></i></b><div>5 rue Sextius Michel<br>75015, Paris, FRANCE<br><br>Phone : (+33)1.71.19.45.33<br>E-mail  : <a href="mailto:yg@cassini-solutions.com" target="_blank">yg@cassini-solutions.com</a><br>





</div></div><br>
</div>
<br></div></div>_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org" target="_blank">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org" target="_blank">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><b>Yanis Guenane</b><br><b><i>Cassini Solutions</i></b><b><i><span style="font-weight:normal"> </span></i></b><div><b><i><span style="font-weight:normal">BI Developer</span></i></b><div>


5 rue Sextius Michel<br>75015, Paris, FRANCE<br><br>Phone : (+33)1.71.19.45.33<br>E-mail  : <a href="mailto:yg@cassini-solutions.com" target="_blank">yg@cassini-solutions.com</a><br></div></div><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><b>Yanis Guenane</b><br><b><i>Cassini Solutions</i></b><b><i><span style="font-weight:normal"> </span></i></b><div><b><i><span style="font-weight:normal">BI Developer</span></i></b><div>

5 rue Sextius Michel<br>75015, Paris, FRANCE<br><br>Phone : (+33)1.71.19.45.33<br>E-mail  : <a href="mailto:yg@cassini-solutions.com" target="_blank">yg@cassini-solutions.com</a><br></div></div><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><b>Yanis Guenane</b><br><b><i>Cassini Solutions</i></b><b><i><span style="font-weight:normal"> </span></i></b><div><b><i><span style="font-weight:normal">BI Developer</span></i></b><div>
5 rue Sextius Michel<br>75015, Paris, FRANCE<br><br>Phone : (+33)1.71.19.45.33<br>E-mail  : <a href="mailto:yg@cassini-solutions.com" target="_blank">yg@cassini-solutions.com</a><br></div></div><br>
</div>