PDA

View Full Version : Re : [Mondrian] Re: Mondrian in my Java Program



michael bienstein
03-04-2007, 09:05 AM
Just a guess:
/C:/Documents%20and%20Settings/VALDES.SUPRATEC_NT/Bureau/pentaho/mondrian-2.2.2/lib/mondrian.jar

/C:/Documents%20and%20Settings/VALDES.SUPRATEC_NT/Bureau/pentaho/mondrian-2.2.2/mondrian-2.2.2-src/mondrian-2.2.2/src/main/


Why do you have the src and the jar at the same time? The source isn't compiled so it shouldn't be there. BUT if Glassfish does some on-the-fly compiling and that directory is higher in the class path, then the inner class for MondrianDef might - just might - be found and bind to the wrong classpath entry blocking MondrianDef from being found correctly since it is a generated file?










___________________________________________________________________________
D

Laurent Valdes
03-04-2007, 09:11 AM
Glassfish libraries are in classpath, but I'm not using glassfish. The
program is run from the command line.
However I'll have a look at this.

Many thanks,

Laurent.


2007/3/4, michael bienstein <mbienstein (AT) yahoo (DOT) fr>:[color=blue]
>
> Just a guess:
> /C:/Documents%20and%20Settings/VALDES.SUPRATEC_NT/Bureau/pentaho/mondrian-
> 2.2.2/lib/mondrian.jar
> /C:/Documents%20and%20Settings/VALDES.SUPRATEC_NT/Bureau/pentaho/mondrian-
> 2.2.2/mondrian-2.2.2-src/mondrian-2.2.2/src/main/
>
> Why do you have the src and the jar at the same time? The source isn't
> compiled so it shouldn't be there. BUT if Glassfish does some on-the-fly
> compiling and that directory is higher in the class path, then the inner
> class for MondrianDef might - just might - be found and bind to the wrong
> classpath entry blocking MondrianDef from being found correctly since it is
> a generated file?
>
>
>
> ------------------------------
> D

Laurent Valdes
03-04-2007, 09:11 AM
Nope, it does the same thing.

Laurent

2007/3/4, Laurent Valdes <valderama (AT) gmail (DOT) com>:[color=blue]
>
> Glassfish libraries are in classpath, but I'm not using glassfish. The
> program is run from the command line.
> However I'll have a look at this.
>
> Many thanks,
>
> Laurent.
>
>
> 2007/3/4, michael bienstein <mbienstein (AT) yahoo (DOT) fr>:[color=green]
> >
> > Just a guess:
> >
> > /C:/Documents%20and%20Settings/VALDES.SUPRATEC_NT/Bureau/pentaho/mondrian-
> > 2.2.2/lib/mondrian.jar
> >
> > /C:/Documents%20and%20Settings/VALDES.SUPRATEC_NT/Bureau/pentaho/mondrian-
> > 2.2.2/mondrian-2.2.2-src/mondrian-2.2.2/src/main/
> >
> > Why do you have the src and the jar at the same time? The source isn't
> > compiled so it shouldn't be there. BUT if Glassfish does some on-the-fly
> > compiling and that directory is higher in the class path, then the inner
> > class for MondrianDef might - just might - be found and bind to the wrong
> > classpath entry blocking MondrianDef from being found correctly since it is
> > a generated file?
> >
> >
> >
> > ------------------------------
> > D