Andrea Aime wrote:
If you want to put the database in a location that is not repeatedly
cleaned up by your OS you can also force it manually by setting
a System variable:

System.setProperty(ThreadedHsqlEpsgFactory.DIRECTORY_KEY, "/path/to/your/safe/directory");

Hope this helps
Cheers
Andrea

Thanks Andrea, this is very useful to me, as my applications are typically shared via NFS to multiple workstations. Now I can have them all share the same EPSG database.

The problem is, however, that I can't seem to make it work. I set the DIRECTORY_KEY to a safe path (that does exist), but it still uses the temporary path for the database. Under what circumstances would it fail to use the path that I specified?

Matt


--
Do not go where the path may lead; go instead where there is no path and leave 
a trail.
-- Ralph Waldo Emerson

begin:vcard
fn:Matt Foster - N0EYE
n:Foster;Matt
org:;NWS Forecast Office - Norman OK
email;internet:[email protected]
title:Information Technology Officer
tel;work:(405) 325-3406
x-mozilla-html:TRUE
version:2.1
end:vcard

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to