Actually I don't think that they get overwritten, but instead the first occurence becomes the first entry in a string array. You can have multiple module entries and turbine wil automatically merge them into a string array. I believe this is always the case for strings When getString is called, it returns the first occurence in the array For other data types it seems to throw exceptions
> -----Original Message----- > From: Pat Ryan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 21, 2002 10:05 AM > To: Jetspeed Users List > Subject: Re: question regarding upgrading jetspeed and property file > synchronization > > > > Thanks > > I see how I might overwrite some values, but how would you > suggest I append or > prepend my information. For example: > > services.VelocityService.file.resource.loader.path=<my path > here>,<what ever > Jetspeed came with> > > Thanks again > Pat > > BTW: I noticed in the TurbineResources.properties for the > modules.packages > property the property is listed like: > modules.packages=org.apache.jetspeed.modules > modules.packages=org.apache.turbine.modules > > Is the property loader in turbine additive? Does one of the > above override the > other? > > > David Sean Taylor wrote: > > > There are a number of ways to do this. > > I know of: > > > > 1. write an Ant task to merge them. I don't like this approach > personally > > This is done in the JetspeedSecurity.properties - see the example in > > Jetspeed > > > > 2. overwrite the properties by including at the top of > > JetspeedResources.properties > > > > include = my.properties > > > > This seems to only work with Strings > > > > 3. I currently use an ant task in my project that calls a Java > program that > > merges property files. > > > > I always keep my projects seperate from Jetspeed source. See > the tutorial's > > build.xml for an example of how to do this. > > > > > -----Original Message----- > > > From: Pat Ryan [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, August 21, 2002 9:14 AM > > > To: Jetspeed Users List > > > Subject: question regarding upgrading jetspeed and property file > > > synchronization > > > > > > > > > > > > Hello Everyone > > > > > > I am upgrading my jetspeed install, but I have already made > mods to the > > > TurbineResources.properties file. I will have to re-apply > these changes > > > to the new install and I was wondering if there was an easier > way to do > > > this. > > > > > > For example, the > > > module.packages=org.apache.turbine.modules > > > in the new version of jetspeed. > > > > > > I have already modified this to > > > module.packages=edu.cardean.modules,org.apache.jetspeed.modules > > > > > > Is there a way for to me extend these kinds of parameters > without having > > > to diff the file and apply my changes everytime I update Jetspeed. > > > > > > Thanks > > > Pat > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
