Re: [Geotools-devel] App Schema and others?

2010-04-13 Thread Ben Caradoc-Davies
On 13/04/10 20:25, Jody Garnett wrote: > I think I figured out the problem; passing in "null" by accident and > canProcess failed rather then return false. Thanks, Jody, that is a bug report. I guess the factory should be more robust. Can you confirm which parameter was null? If "url" was null,

Re: [Geotools-devel] App Schema and others?

2010-04-13 Thread Jody Garnett
I think I figured out the problem; passing in "null" by accident and canProcess failed rather then return false. Jody On 13/04/2010, at 11:14 AM, Ben Caradoc-Davies wrote: > AppSchemaDataAccessFactory will ignore any configuration parameters map that > does not have "dbtype" set to "app-schema"

Re: [Geotools-devel] App Schema and others?

2010-04-12 Thread Ben Caradoc-Davies
AppSchemaDataAccessFactory will ignore any configuration parameters map that does not have "dbtype" set to "app-schema" and a "url" set. The problem is that "url" should never be set to a property file for app-schema. Never, ever. It should only ever point to an app-schema mapping file. Your st

Re: [Geotools-devel] App Schema and others?

2010-04-12 Thread Jody Garnett
I think (on using the debugger) that the problem may be easier. There is a chance that the url passed in was null (or some internal eclipse "bundle" url) that the app schema code was tripping up on. So a couple test cases may be in order? Jody On 12/04/2010, at 5:59 PM, Ben Caradoc-Davies wro

Re: [Geotools-devel] App Schema and others?

2010-04-12 Thread Ben Caradoc-Davies
I agree, this is likely to be the problem. From the tutorial: http://docs.geoserver.org/trunk/en/user/data/app-schema/tutorial.html The mapping file refers to the directory containing the property file, and reference the property file feature type by name. See: https://svn.auscope.org/subversio

Re: [Geotools-devel] App Schema and others?

2010-04-11 Thread Rob Atkinson
Are you trying to connect to a property file directly - not setting the data store to point to an XML config/mapping file which then references the property file? On Mon, Apr 12, 2010 at 3:46 PM, Jody Garnett wrote: > Hi Ben: > As mentioned I am hooking app schema and others up to uDig (depending

[Geotools-devel] App Schema and others?

2010-04-11 Thread Jody Garnett
Hi Ben: As mentioned I am hooking app schema and others up to uDig (depending on the DataAccessFinder contract to sort things out ...) - and I am running into a conflict with the app schema code I am using a property file as my test file; in the hopes of connecting to a PropertyDataStore;