On Wed, 21 Jan 2004, Holger Dewes wrote: > Hi, > > > From: Richard Berger [mailto:[EMAIL PROTECTED] > > > > 2) Instead of exploding the jetspeed jar to \web-inf\classes > > can i just include this like a library jar in the > > web-inf\lib? <RB>Don't know. My approach was to incorporate > > my stuff into the Jetspeed framework, rather than just trying > > to use jetspeed as a jar. It would be cool if #2 was > > possible, but something tells me that it won't work > > (disclaimer: I am real newbie at this)</RB> > > #2 is no problem. For the application server it makes no difference > whether the classes are located in WEB-INF/classes or in a jar in > WEB-INF/lib. > > I have a separate Eclipse project for my classes, all in packages of my > own. For deployment, I unpack the jetspeed.war into a directory, copy my > own stuff there (thereby overwriting some files) and then package > everything into a .war file again. For the properties, I use the > OverwriteProperties class as in the tutorial. > > The advantage is that it is a lot easier to switch to a new jetspeed > version.
Absolutely. Coping directly with jetspeed's file layout can be a bit of a pain. Having your source for each portlet laid out distinctly and a slightly smarter deployment script pays huge dividends. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ You see what happens when you have fun with a stranger in the Alps? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
