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 Success! Visit http://opensdi.geo-solutions.it for
more information.
==

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------


On Tue, Sep 18, 2012 at 2:50 PM, Justin Deoliveira <jdeol...@opengeo.org> wrote:
> 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
> <ben.caradoc-dav...@csiro.au> wrote:
>>
>> 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 like H2 unescapes URLs.
>>
>> Kind regards,
>>
>> --
>> Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au>
>> Software Engineer
>> CSIRO Earth Science and Resource Engineering
>> Australian Resources Research Centre
>>
>
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to