From: Gavin_King/Cirrus%<CI...@ci...> - 2002-03-01 09:05:00
|
> So what's changed? What is the list of external dependencies? I can't > find it anywhere. you need Xalan. and also JDOM if you want XML generation. dependencies are mentioned here: http://hibernate.sourceforge.net/hibernate.html (the same document is also in your doc subdirectory.) probably should start packaging the jars along with hibernate (not sure of the licensing issues involved in this - i guess xerces/xalan are bsd license so its ok). somebody else mentioned that we should keep them in CVS also. |
From: Gavin_King/Cirrus%<CI...@ci...> - 2002-03-02 05:03:55
|
> What I was really curious about was what had changed that I now need > this, as I'm not doing XSL specific in any of my code. I imagine I've > had the wrong JAR files there from day one, but that nothing in my code > caused them to be needed and I've only just found out. The session factory parses the generic XML -> custom XML stylesheet when its instantiated. This is suboptimal, I suppose, since most people aren't using the XML generation (its not even documented yet). You could parse it lazily, but then you would need a synchronized block, whic i've been avoiding as much as possible. It would be okay in this case. I wish double-checked-locking wouldn't be broken.... |
From: Paul S. <pau...@ne...> - 2002-03-02 19:48:13
|
Gavin_King/Cirrus%CI...@ci... wrote: >>What I was really curious about was what had changed that I now need >>this, as I'm not doing XSL specific in any of my code. I imagine I've >>had the wrong JAR files there from day one, but that nothing in my code >>caused them to be needed and I've only just found out. >> > > The session factory parses the generic XML -> custom XML stylesheet when > its instantiated. This is suboptimal, I suppose, since most people aren't > using the XML generation (its not even documented yet). You could parse it > lazily, but then you would need a synchronized block, whic i've been > avoiding as much as possible. It would be okay in this case. > I think that we need to document the dependancies a little better, in particular what version's are required. Even better, what "spec" they need to implement. I'm trying to deploy in a Turbine / Velocity environment on a servlet 2.2 compliant app server. I've all kinds of dependencies, and some of them conflict. Without knowing precisely what's where it's a *lot* of just messing around until I find some combo what works, but not really sure exactly why without trudgning around in source code. To deploy this in any kind of production environment you'd expect to know exactly what you're doing, and we don't really specify things to that level at present. PaulS :( |
From: Gavin_King/Cirrus%<CI...@ci...> - 2002-03-03 00:50:19
|
> I think that we need to document the dependancies a little better, in > particular what version's are required. Even better, what "spec" they > need to implement. That kind of documentation would be great. I have added the jars i'm using to CVS. Unfortunately, i'm not sure exactly which are the earliest versions that work. |
From: Son To <son...@ya...> - 2002-03-01 09:40:27
|
Or use jdk1.4.0 --- Gavin_King/Cirrus%CI...@ci... wrote: > > > So what's changed? What is the list of external > dependencies? I can't > > find it anywhere. > > you need Xalan. and also JDOM if you want XML > generation. > > dependencies are mentioned here: > > http://hibernate.sourceforge.net/hibernate.html > > (the same document is also in your doc > subdirectory.) > > probably should start packaging the jars along with > hibernate > (not sure of the licensing issues involved in this > - i guess > xerces/xalan are bsd license so its ok). > > somebody else mentioned that we should keep them in > CVS also. > > > _______________________________________________ > Hibernate-devel mailing list > Hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com |
From: Paul S. <pau...@ne...> - 2002-03-02 04:46:31
|
Hi Gavin, thanks for the prompt reply, as always. I have a copy of JDOM and Xalan there, but I don't think they are the right versions. I really think the version of external JAR's needs to be specified, or at least the specification version that it needs to implement. In my case I had a copy of Xalan 1.2.1 sitting there that doesn't have the class mentioned in the Exception stack trace, so I imagine it's the wrong version. What I was really curious about was what had changed that I now need this, as I'm not doing XSL specific in any of my code. I imagine I've had the wrong JAR files there from day one, but that nothing in my code caused them to be needed and I've only just found out. Regards, PaulS :) Gavin_King/Cirrus%CI...@ci... wrote: >>So what's changed? What is the list of external dependencies? I can't >>find it anywhere. >> > > you need Xalan. and also JDOM if you want XML generation. > > dependencies are mentioned here: > > http://hibernate.sourceforge.net/hibernate.html > > (the same document is also in your doc subdirectory.) > > probably should start packaging the jars along with hibernate > (not sure of the licensing issues involved in this - i guess > xerces/xalan are bsd license so its ok). > > somebody else mentioned that we should keep them in CVS also. > > > |