Check if H2 database is unpacked
--------------------------------
Key: GEOT-2654
URL: http://jira.codehaus.org/browse/GEOT-2654
Project: GeoTools
Issue Type: Improvement
Components: core referencing
Affects Versions: 2.6-M2
Reporter: Jody Garnett
Assignee: Jody Garnett
Priority: Minor
I have recently been switching the udig application over to use the gt-epsg-h2
jar; and have run into an issue where unpacking the database for the first time
is causing me some grief.
I would like to check if the database is unpacked; and if so start up a
separate thread to trigger the database install. To that end I have
Threadedh2EpsgFactory.isUnpacked() as a static method that goes through the
same motions as getDirectory() and getTemporaryDirectory() and tests to see if
the directory exists already
In an ideal world it would be nice to unpack the database with a progress
listener in order to amuse the user while they wait.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel