Le 13/05/2014 14:25, edgar.sol...@web.de a écrit : > Michael, > > On 13.05.2014 11:06, edgar.sol...@web.de wrote: >> opening out of the zip file >> >> latest XP, java 8 x86 (some older beta) >> - creates a layer, feature >> - but empty geometrycollection > throws in console > > java.io.FileNotFoundException: /Users/mac/Desktop/test.zip!/test.xyz (No such > file or directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(FileInputStream.java:120) > at java.io.FileInputStream.<init>(FileInputStream.java:79) > at > fr.michaelm.jump.drivers.csv.AutoCSVFile.guessEncoding(AutoCSVFile.java:86) > at fr.michaelm.jump.drivers.csv.AutoCSVFile.init(AutoCSVFile.java:74) > at fr.michaelm.jump.drivers.csv.CSVFile.<init>(CSVFile.java:111) > at fr.michaelm.jump.drivers.csv.AutoCSVFile.<init>(AutoCSVFile.java:70) > at > fr.michaelm.jump.drivers.csv.CSVDriverConfiguration$1.toProperties(CSVDriverConfiguration.java:204) > at > org.openjump.core.ui.io.file.DataSourceFileLayerLoader.open(DataSourceFileLayerLoader.java:94) > at > org.openjump.core.ui.plugin.file.open.OpenFileWizard.run(OpenFileWizard.java:131) > at > org.openjump.core.ui.plugin.AbstractWizardPlugin.run(AbstractWizardPlugin.java:73) > at > com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152) > at java.lang.Thread.run(Thread.java:695) > > simply run the url through CompressedFile and retrieve the stream from it and > it'll magically work. I see, I'll try to take care of this. Seems that It is a two steps job : extract the entry part from the URI, then use openFile to get the InputStream. Isn't it ? There are a few places building InputStream from File through the plugin code. Seems that I never test the parser with compressed files.
Michaël > > ..ede > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel