Re: [Geotools-devel] Directory data store, last check before coding

2009-01-13 Thread Andrea Aime
Gabriel Roldan ha scritto:
...
>> FileDataStore interface would be implemented by
>> data stores willing to help the directory data store (but
>> it would not be required), and would have a single method:
>> Collection getFilesForType(String typeName)
>>
>> that returns the file that make up a certain feature type.
>> This allows us to skip testing the .dbf, .prj, and so on,
>> for a shapefile for example (if we do the shapefile datastore
>> factory will actually accept them and create a new shapfile
>> datastore, which is wasteful).
> 
> That sounds just good. A question comes to my mind though. Did you take into 
> acount you'll have to pass the candidate DataStoreFactorySpi implementations 
> not only every file and directory inside the DirectoryDataStore's target 
> directory, but also the target directory itself? may be just a minor detail, 
> but was just wondering about that, since shp and properties are the only 
> working file based datastores I know of and the later would require the 
> "current" datastore URL as argument, as well as any subdirectory.

Yes, I know I have to pass the current directory along.
But I don't understand your question... the property data store just
takes a directory as the parameter, and I would pass that exactly...


>> Check for directory updates:
>> - use the last modified date of the directory
>>to check wheter type name list should be udpated
>> - if so, do again the scan. To try and avoid
>>killing all already opened data stores, try the
>>following:
>>  - check if any of the type map entries is linked
>>with the current file, if so, we keep it
> The missing situation seems to be that a file change may have changed the 
> feature type structure (say you replace states.shp by a new one with more 
> properties). But since I don't think that's handled by the delegate datastore 
> neither I don't see the point in bringing more grief to directory datastore 
> neither... or would it just be improper separation of concerns

Right, it's the delegate datastore job to keep the feature
type up to date.

>>  - if an existing entry file is gone, remove the
>>entry
>>  - if a new file appears, create a new entry
>> - to avoid redoing over and over the checks, maybe
>>have a ds parameter that controls how often we
>>check the filesystem for updates (and use a
>>default value of 1 second). If we do this, have
>>a method to force the update of the cache too.
> It would be nice to abstract out the notification of filesystem changes into 
> some sort of callback mechanism instead of hardly tieing it to the custom 
> implementations. Rationale being that, to start with, we could use JPoller 
> (http://jpoller.sourceforge.net/). I guess JNotify 
> (http://jnotify.sourceforge.net/) is not an option cause even if it has de 
> desired functionality of direct OS notifications, it requires JNI. And in the 
> long term we could make use of JSR 203 to get notified by the OS directly 
> from 
> the Java platform (http://jcp.org/en/jsr/detail?id=203).
> 
> Google also brings this class out 
> (http://geosoft.no/software/filemonitor/FileMonitor.java.html) which id LGPL 
> and may save you like an hour of coding :)

Yeah, I guess I could use the last class, don't want to add dependecies 
to a dead project (last jpoller release is over 2 years old).
Thanks for the pointers.

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Build failed in Hudson: geotools-trunk #1263

2009-01-13 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-trunk/1263/changes

Changes:

[mpazos] GEOT-2268 Changed TXT by ECQL

--
[...truncated 6586 lines...]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 94 source files to 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wcs/target/classes
 
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wcs/target/net.opengis.wcs-2.6-SNAPSHOT.jar
 
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wcs/target/net.opengis.wcs-2.6-SNAPSHOT-sources.jar
 
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wcs/target/net.opengis.wcs-2.6-SNAPSHOT.jar
  to 
/home/tomcat/.m2/repository/org/geotools/ogc/net.opengis.wcs/2.6-SNAPSHOT/net.opengis.wcs-2.6-SNAPSHOT.jar
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wcs/target/net.opengis.wcs-2.6-SNAPSHOT-sources.jar
  to 
/home/tomcat/.m2/repository/org/geotools/ogc/net.opengis.wcs/2.6-SNAPSHOT/net.opengis.wcs-2.6-SNAPSHOT-sources.jar
[INFO] 
[INFO] Building Web Feature Service Versioning Model
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wfsv/target
 
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 28 source files to 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wfsv/target/classes
 
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wfsv/target/net.opengis.wfsv-2.6-SNAPSHOT.jar
 
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wfsv/target/net.opengis.wfsv-2.6-SNAPSHOT-sources.jar
 
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wfsv/target/net.opengis.wfsv-2.6-SNAPSHOT.jar
  to 
/home/tomcat/.m2/repository/org/geotools/ogc/net.opengis.wfsv/2.6-SNAPSHOT/net.opengis.wfsv-2.6-SNAPSHOT.jar
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/ogc/net.opengis.wfsv/target/net.opengis.wfsv-2.6-SNAPSHOT-sources.jar
  to 
/home/tomcat/.m2/repository/org/geotools/ogc/net.opengis.wfsv/2.6-SNAPSHOT/net.opengis.wfsv-2.6-SNAPSHOT-sources.jar
[INFO] 
[INFO] Building Repository
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting directory 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/repository/target
 
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 57 source files to 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/repository/target/classes
 
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/repository/target/gt-repository-2.6-SN

Re: [Geotools-devel] Build failed in Hudson: geotools-trunk #1263

2009-01-13 Thread Mauricio Pazos
On Tuesday 13 January 2009 19:15:33 Hudson wrote:
> [INFO] snapshot
> it.geosolutions.imageio-ext:imageio-ext-imagereadmt:1.0-SNAPSHOT: checking
> for updates from maven2-repository.dev.java.net [INFO] snapshot
> it.geosolutions.imageio-ext:imageio-ext-imagereadmt:1.0-SNAPSHOT: checking
> for updates from osgeo [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: it.geosolutions.imageio-ext:imageio-ext-imagereadmt
>
> Reason: Error getting POM for
> 'it.geosolutions.imageio-ext:imageio-ext-imagereadmt' from the repository:
> Error transferring file
> it.geosolutions.imageio-ext:imageio-ext-imagereadmt:pom:1.0-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   osgeo (http://download.osgeo.org/webdav/geotools/),
>   maven2-repository.dev.java.net (http://download.java.net/maven/2),
>   geotools (http://maven.geotools.fr/repository)
>  for project it.geosolutions.imageio-ext:imageio-ext-imagereadmt
The build was successful in my desk. I guess it is going to be OK when the 
server can do the "transfer" 

cheers
-- 
Mauricio Pazos
www.axios.es


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Build failed in Hudson: geotools-2.5.x #199

2009-01-13 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-2.5.x/199/changes

Changes:

[groldan] programatically create and load some gce test data, first run

--
[...truncated 2630 lines...]
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/xml/target/gt-xml-2.5-SNAPSHOT-sources.jar
 
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/xml/target/gt-xml-2.5-SNAPSHOT.jar
  to 
/home/tomcat/.m2/repository/org/geotools/gt-xml/2.5-SNAPSHOT/gt-xml-2.5-SNAPSHOT.jar
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/xml/target/gt-xml-2.5-SNAPSHOT-sources.jar
  to 
/home/tomcat/.m2/repository/org/geotools/gt-xml/2.5-SNAPSHOT/gt-xml-2.5-SNAPSHOT-sources.jar
[INFO] 
[INFO] Building JDBC DataStore Support
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting file set: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/target
  (included: [**], excluded: [])
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] [compiler:compile]
[INFO] Compiling 56 source files to 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/target/classes
 
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/src/test/resources
 
[INFO] [compiler:testCompile]
[INFO] Compiling 14 source files to 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/target/test-classes
 
[INFO] [surefire:test]
[INFO] Surefire report directory: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/target/surefire-reports
 

---
 T E S T S
---
Running org.geotools.data.jdbc.ds.DataSourceFinderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.35 sec
Running org.geotools.data.jdbc.ds.UnWrapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running org.geotools.data.jdbc.DefaultSQLBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running org.geotools.filter.SQLEncoderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.226 sec
Running org.geotools.data.jdbc.FilterToSQLTest
Jan 13, 2009 6:25:58 PM org.geotools.data.jdbc.FilterToSQLTest 
testIntegerContext
FINE: testAttr is an Integer [ testAttr = 5 ] -> WHERE testAttr = 5
Jan 13, 2009 6:25:58 PM org.geotools.factory.FactoryRegistry scanForPlugins
CONFIG: Factory implementations for category ConverterFactory:
  org.geotools.util.CommonsConverterFactory
  org.geotools.util.NumericConverterFactory
  org.geotools.util.GeometryConverterFactory
  org.geotools.util.GeometryTypeConverterFactory
  org.geotools.util.TemporalConverterFactory
  org.geotools.util.BooleanConverterFactory
  org.geotools.util.ColorConverterFactory
  org.geotools.util.CollectionConverterFactory
  org.geotools.util.CharsetConverterFactory
Jan 13, 2009 6:25:58 PM org.geotools.data.jdbc.FilterToSQLTest testStringContext
FINE: testAttr is a String [ testAttr = 5 ] -> WHERE testAttr = '5'
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.095 sec
Running org.geotools.data.jdbc.GeoApiSqlBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.geotools.filter.SQLUnpackerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.geotools.data.jdbc.fidmapper.AutoIncrementFIDMapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.geotools.data.jdbc.JDBCFeatureCollectionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.335 sec

Results :

Tests run: 31, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/target/gt-jdbc-2.5-SNAPSHOT.jar
 
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[I

[Geotools-devel] Build failed in Hudson: geotools-2.5.x #200

2009-01-13 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-2.5.x/200/changes

Changes:

[groldan] comment

--
[...truncated 2635 lines...]
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/xml/target/gt-xml-2.5-SNAPSHOT-sources.jar
 
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/xml/target/gt-xml-2.5-SNAPSHOT.jar
  to 
/home/tomcat/.m2/repository/org/geotools/gt-xml/2.5-SNAPSHOT/gt-xml-2.5-SNAPSHOT.jar
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/xml/target/gt-xml-2.5-SNAPSHOT-sources.jar
  to 
/home/tomcat/.m2/repository/org/geotools/gt-xml/2.5-SNAPSHOT/gt-xml-2.5-SNAPSHOT-sources.jar
[INFO] 
[INFO] Building JDBC DataStore Support
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean]
[INFO] Deleting file set: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/target
  (included: [**], excluded: [])
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] [compiler:compile]
[INFO] Compiling 56 source files to 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/target/classes
 
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/src/test/resources
 
[INFO] [compiler:testCompile]
[INFO] Compiling 14 source files to 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/target/test-classes
 
[INFO] [surefire:test]
[INFO] Surefire report directory: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/target/surefire-reports
 

---
 T E S T S
---
Running org.geotools.data.jdbc.ds.DataSourceFinderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.321 sec
Running org.geotools.data.jdbc.ds.UnWrapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.geotools.data.jdbc.DefaultSQLBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.geotools.filter.SQLEncoderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.218 sec
Running org.geotools.data.jdbc.FilterToSQLTest
Jan 13, 2009 8:25:47 PM org.geotools.data.jdbc.FilterToSQLTest 
testIntegerContext
FINE: testAttr is an Integer [ testAttr = 5 ] -> WHERE testAttr = 5
Jan 13, 2009 8:25:47 PM org.geotools.factory.FactoryRegistry scanForPlugins
CONFIG: Factory implementations for category ConverterFactory:
  org.geotools.util.CommonsConverterFactory
  org.geotools.util.NumericConverterFactory
  org.geotools.util.GeometryConverterFactory
  org.geotools.util.GeometryTypeConverterFactory
  org.geotools.util.TemporalConverterFactory
  org.geotools.util.BooleanConverterFactory
  org.geotools.util.ColorConverterFactory
  org.geotools.util.CollectionConverterFactory
  org.geotools.util.CharsetConverterFactory
Jan 13, 2009 8:25:47 PM org.geotools.data.jdbc.FilterToSQLTest testStringContext
FINE: testAttr is a String [ testAttr = 5 ] -> WHERE testAttr = '5'
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec
Running org.geotools.data.jdbc.GeoApiSqlBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.geotools.filter.SQLUnpackerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
Running org.geotools.data.jdbc.fidmapper.AutoIncrementFIDMapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geotools.data.jdbc.JDBCFeatureCollectionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.312 sec

Results :

Tests run: 31, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/library/jdbc/target/gt-jdbc-2.5-SNAPSHOT.jar
 
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/

[Geotools-devel] Hudson build is back to normal: geotools-2.5.x #201

2009-01-13 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-2.5.x/201/changes



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Hudson build is back to normal: geotools-trunk #1264

2009-01-13 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-trunk/1264/changes



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] GSIP 31 - Use Data Access API

2009-01-13 Thread Ben Caradoc-Davies
Jody,

I have renamed the DataAccess proposal and now propose it as GSIP 31.
http://geoserver.org/display/GEOS/GSIP+31+-+Use+DataAccess+API

Note that the proposal is not specific to app-schema. It proposes 
support for all DataAccess implementations.

I have also created a container Jira issue:
http://jira.codehaus.org/browse/GEOS-2568

It is my intent that the work be incremental and preserve existing 
behaviour wherever possible. In particular, we want to maintain the 
existing performance and simplicity of DataStore/SimpleFeature.

Preliminary analysis (and some test implementations) suggest that 
Catalog requires no changes. The initial work will comprise changes in 
ResourcePool, (catalog) DataStoreInfo, and (catalog) FeatureTypeInfo, 
their implementations and consumers. I will submit a patch.

Open questions:

- What is the future of the vfny DataStoreInfo and vfny FeatureTypeInfo 
classes? These are @deprecated but widely used. Are these to be retained 
or should they or their consumers be refactored?

- Should DataStoreFinder/DataAccessFinder be retained as separate 
classes or merged? (Here we are drifting into GeoTools).

- Which service modules are to be migrated first? Do we have any volunteers?

Other classes that may require work are RetypingDataStore, FeatureTypes, 
and GeoServerFeatureLocking. No doubt, as the implementation proceeds, 
more opportunities for scope expansion will become apparent.  :-)

Tasks related to GSIP 31 should subtasks of GEOS-2568, to facilitate 
communication.

Kind regards,

-- 
Ben Caradoc-Davies 
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel