imagemosaic build failure in path with spaces
---------------------------------------------

                 Key: GEOT-3379
                 URL: http://jira.codehaus.org/browse/GEOT-3379
             Project: GeoTools
          Issue Type: Bug
          Components: gc imagemosaic
    Affects Versions: 2.7-RC1
         Environment: Apache Maven 2.2.1 (r801777; 2009-08-07 03:16:01+0800)
Java version: 1.5.0_22
Java home: /home/car605/junk/java/jdk1.5.0_22.i586/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux" version: "2.6.32.26-175.fc12.x86_64" arch: "i386" Family: 
"unix"

            Reporter: Ben Caradoc-Davies
            Priority: Blocker


gt-imagemosaic OverviewsControllerTest.testHeterogeneousGranules fails in a 
path with spaces because a space is double-escaped as %2520.

{code}
java.lang.IllegalArgumentException: Unable to get an input stream for the 
provided file 
file:/home/car605/geoserver/src%2520with%2520spaces/geotools-trunk/modules/plugin/imagemosaic/target/test-classes/org/geotools/gce/imagemosaic/test-data/heterogeneous/world_a.tif
        at 
org.geotools.gce.imagemosaic.GranuleDescriptor.init(GranuleDescriptor.java:396)
        at 
org.geotools.gce.imagemosaic.GranuleDescriptor.<init>(GranuleDescriptor.java:548)
        at 
org.geotools.gce.imagemosaic.GranuleDescriptor.<init>(GranuleDescriptor.java:515)
        at 
org.geotools.gce.imagemosaic.OverviewsControllerTest.testHeterogeneousGranules(OverviewsControllerTest.java:197)
{code}


-- 
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

        

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to