After a bit of encouragement this week I am almost ready to submit the Managed 
File API proposal.

Before I do I wanted a to ask for the historical background on 
GeoServerResourceLoader "search locations".

Reviewing the code we end up with the following:

1) base directory (determined using lookupGeoServerDataDirectory)
2) base directory / data (is this for backwards compatibility?)
4) application context / WEB-INF
3) application context /
5) absolute file references: the API supports the use of find( parent, location 
) - which performs a check for absolute file references. I cannot find much 
evidence that this is used - code such as security or style pass in the 
appropriate data directory folder.

Search locations recorded as a Set<File> so no order is assumed when searching 
(so using search locations to "override" data directory settings would not work)


-- 
Jody Garnett
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to