In Tomcat, the following puts roller_data directory  under the tomcat
directory as long as you start it with startup.sh or bat.  ( .  is the bin
directory in this case )

search.index.dir= ../roller_data/search-index

seems like it should work for planet-cache as well.  (unless there is
another process doing the work that is started from a different directory ?
not sure what would happen then)


>
> I didn't even think you could do relative paths for the other settings to
> be honest.  I suppose it works simply because we don't actually check that
> you started the property with a "/" and therefore when it's used it will be
> used relative to whatever directory the jvm thinks it's located
> at.  Hopefully this doesn't mean you have put these directories inside the
> WAR directory, because that is really not a good idea.
>
> It's really not supposed to be used that way though.  I'm not sure why it
> wouldn't work for the planet-cache directory if it works for the other
> props.





-- Allen
>
> >
> >
> > -- Allen
> > >
> > >
> > > >
> > > > Thanks, Dave
> > >
> > >
>
>

Reply via email to