[Mondrian] [Installation] Problem setting environment variables
venkatesh20 at gmail.com
Thu Oct 28 03:31:50 EDT 2010
Donot create a project from mondrian-188.8.131.5283/src, Create from the folder
mondrian-184.108.40.20683 itself. Then everything will work fine. You need not
add any lib as well.
On Wed, Oct 27, 2010 at 7:12 PM, Yanis Guenane <yg at cassini-solutions.com>wrote:
> Thank you Venki for the reply,
> 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.
> So I installed the java packages.
> There are in the directory /usr/lib/jvm/java-6-sun-220.127.116.11/. So I set my
> JAVA_HOME environment variable to this directory.
> 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's in the
> /usr/lib/jvm/java-6-openjdk directory.
> So I set the JAVA_HOME environment to this directory.
> Now ANT gets a BUILD SUCESSFUL.
> I created Java project from mondrian-18.104.22.16883/src at the compilation
> time that when I get all those errors.
> Do you have any idea of the why ?
> On Wed, Oct 27, 2010 at 1:51 PM, Venkatesh U <venkatesh20 at gmail.com>wrote:
>> I never downloaded xalan.jar, I think Mondrian'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-22.214.171.12483-src.zip), install ant and set
>> ANT_HOME as env variable, then get in to the folder extracted folder
>> (mondrian-126.96.36.19983) and run ant. The default task in the build.xml is
>> <all>. 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.
>> 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.
>> Note: The latest source mondrian-188.8.131.5261 has some build issues, hence
>> use the prior version mondrian-184.108.40.20683 which builds without any issues..
>> Good Luck
>> On Wed, Oct 27, 2010 at 4:47 PM, Yanis Guenane <yg at cassini-solutions.com>wrote:
>>> Hi all,
>>> I am new to Mondrian and quite new to Linux too. (I am running Ubuntu
>>> I am trying to install Mondrian via the source code, following Mondrian's
>>> Developer Guide instructions.
>>> On the Appendix of what product should be installed before installation,
>>> it is told to set *XALAN_HOME* and *JUNIT_HOME* environment variables.
>>> The thing is that I downloaded *xalan (xalan and libxalan2-java*)* and *
>>> junit* packages, but -once installed- I only have */usr/bin/xalan* and *
>>> I can't find anything that looks like this pattern : "..../bin/xalan.jar"
>>> Does someone knows where this is supposed to be installed in Ubuntu Linux
>>> OS ?
>>> Or what packages should I get if the one I downloaded are wrong?
>>> Thank you,
>>> *Yanis Guenane*
>>> *Cassini Solutions** *
>>> *BI Developer*
>>> 5 rue Sextius Michel
>>> 75015, Paris, FRANCE
>>> Phone : (+33)220.127.116.11.33
>>> E-mail : yg at cassini-solutions.com
>>> Mondrian mailing list
>>> Mondrian at pentaho.org
>> Mondrian mailing list
>> Mondrian at pentaho.org
> *Yanis Guenane*
> *Cassini Solutions** *
> *BI Developer*
> 5 rue Sextius Michel
> 75015, Paris, FRANCE
> Phone : (+33)18.104.22.168.33
> E-mail : yg at cassini-solutions.com
> Mondrian mailing list
> Mondrian at pentaho.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mondrian