Re: [Geotools-devel] H2 connection string for path with spaces?

2012-09-27 Thread Simone Giannecchini
Ciao Ben, I waited a bit aside since I did not want to add another workaround in the ImageMosaic, but yeah, I would say go ahead with the merge. Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Simone Giannecchini @simo

Re: [Geotools-devel] H2 connection string for path with spaces?

2012-09-27 Thread Ben Caradoc-Davies
On 20/09/12 10:44, Ben Caradoc-Davies wrote: > On 19/09/12 17:16, Andrea Aime wrote: >> Ben, the fix seems indeed quite easy, why don't you give it a shot? :-p > I tried the easy fix on Tuesday (see patch attached to the issue) but it > broke the test. :-( > I will have another look if I have time

Re: [Geotools-devel] H2 connection string for path with spaces?

2012-09-19 Thread Ben Caradoc-Davies
On 19/09/12 17:16, Andrea Aime wrote: > Ben, the fix seems indeed quite easy, why don't you give it a shot? :-p I tried the easy fix on Tuesday (see patch attached to the issue) but it broke the test. :-( I will have another look if I have time. -- Ben Caradoc-Davies Software Engineer CSIRO

Re: [Geotools-devel] H2 connection string for path with spaces?

2012-09-19 Thread Andrea Aime
On Wed, Sep 19, 2012 at 3:27 AM, Ben Caradoc-Davies < ben.caradoc-dav...@csiro.au> wrote: > On 18/09/12 21:39, Justin Deoliveira wrote: > > So yeah... i don't actually know... i just did a quick test creating an > > h2 db in a path with spaces and it worked ok for me on my mac so would > > have to

Re: [Geotools-devel] H2 connection string for path with spaces?

2012-09-18 Thread Ben Caradoc-Davies
On 18/09/12 21:39, Justin Deoliveira wrote: > So yeah... i don't actually know... i just did a quick test creating an > h2 db in a path with spaces and it worked ok for me on my mac so would > have to dig into this specific case more and perhaps try to do something > that does "suck gigantically".

Re: [Geotools-devel] H2 connection string for path with spaces?

2012-09-18 Thread Justin Deoliveira
Ahh, sorry, missed that the point was to have spaces :) So yeah... i don't actually know... i just did a quick test creating an h2 db in a path with spaces and it worked ok for me on my mac so would have to dig into this specific case more and perhaps try to do something that does "suck gigantical

Re: [Geotools-devel] H2 connection string for path with spaces?

2012-09-18 Thread Simone Giannecchini
Ciao Justin, I believe the question is a bit broader. The ImageMosaic has a test with spaces which is relative to the test-data dir, but in this case the geotools root itself uses a path with spaces and the H2 factory does not handle it properly. Regards, Simone Giannecchini == Our support, Your S

Re: [Geotools-devel] H2 connection string for path with spaces?

2012-09-18 Thread Justin Deoliveira
Good question :) To be honest i have never done this... To be honest if i need to setup h2 resources for a test case I create a relative path. Can in this case the file be copied into a tmp dir under target and referred to with a relative path? On Tue, Sep 18, 2012 at 3:04 AM, Ben Caradoc-Davies <

[Geotools-devel] H2 connection string for path with spaces?

2012-09-18 Thread Ben Caradoc-Davies
Justin, an imagemosaic test attempts to connect to a database in a path with spaces and leaks files completely outside the build directory: https://jira.codehaus.org/browse/GEOT-4262 How should we specify an H2 jdbc:h2: connection string to a database in a path with spaces? It does not look lik