Hi Jody,
I have made a few minor edits to
https://github.com/geoserver/geoserver/wiki/Cleaning-up-File-References
Now we just need to decide which of the two possibilities we prefer. I
really don't mind which one.
Regards
Niels
On 18-11-15 01:48, Jody Garnett wrote:
Here is a branch where
Thanks Niels,
I think the responsible thing during application startup is to
have GeoServerResourceLoader look up the correct value
using lookupGeoServerDataDirectory(ServletContext) during application
startup.
You have four examples of code wanting to do the file thing, they can call
On 17-11-15 02:45, Jody Garnett wrote:
> public GeoServerResourceLoader(ResourceStore resourceStore) {
> if( resourceStore instanceof FileSystemResourceStore){
> FileSystemResourceStore files = (FileSystemResourceStore)
> resourceStore;
> this.baseDirectory =
Here is a branch where I am exploring the ideas brought up in our
conversation:
https://github.com/jodygarnett/geoserver/commits/base_dir
So what is going to happen if you are not use the FileSystemResourcestore?
The method GeoServerResourceLoader.lookupGeoServerDataDirectory(servletContext)