Hi Ede, > stumbled over a problem that was introduced with the macro recording. see > below. > you can reproduce the addressed issue by > 1. disable the reset temporarily > 2. open an archive eg. a zip with shp files > 3. try to open an ordinary shp file Can reproduce it, thanks, > i just patched it up but you probably want to fix it properly.. just a heads > up.. ede Ok, I'll have a deeper look. Handling correctly both simple files and zipped files may need some more work.
During tests, I've found another bug I could not fix because of a (new) svn problem I get the following error Error : Can't create directory '/svn/p/jump-pilot/code/db/transactions/4193-1.txn': Error : Read-only file system Any hint ? M. google says there are write access problem in the repository, but it strange that such a problem appears suddenly (maybe related to all the problems I had with svn last week). Anyway, I don't know where this file may lie on sourceforge to check... Michaƫl > > > -------- Forwarded Message -------- > Subject: [Jump-pilot-svn-notify] SF.net SVN: jump-pilot:[4193] > core/trunk/src/org/openjump/core/ui/io/file/ DataSourceFileLayerLoader.java > Date: Sun, 14 Dec 2014 21:15:53 +0000 > From: [email protected] > Reply-To: [email protected] > To: [email protected] > > Revision: 4193 > http://sourceforge.net/p/jump-pilot/code/4193 > Author: edso > Date: 2014-12-14 21:15:52 +0000 (Sun, 14 Dec 2014) > Log Message: > ----------- > hotfix: > opening archives prevents opening non-compressed files thereafter. > > Modified Paths: > -------------- > > core/trunk/src/org/openjump/core/ui/io/file/DataSourceFileLayerLoader.java > > Modified: > core/trunk/src/org/openjump/core/ui/io/file/DataSourceFileLayerLoader.java > =================================================================== > --- > core/trunk/src/org/openjump/core/ui/io/file/DataSourceFileLayerLoader.java > 2014-12-14 12:28:19 UTC (rev 4192) > +++ > core/trunk/src/org/openjump/core/ui/io/file/DataSourceFileLayerLoader.java > 2014-12-14 21:15:52 UTC (rev 4193) > @@ -114,6 +114,12 @@ > return parameters; > } > // [mmichaud 2014-10-01] end > + > + // this probably clashes with the above, but DataSourceFileLayerLoader > is reused for opening files > + // so any "old" parameters lingering during open have a probably > detrimental effect on the next open > + public void resetParameters() { > + this.parameters = new HashMap<String, Object>(); > + } > > /** The {@link DataSource} class. */ > private Class dataSourceClass; > @@ -238,6 +244,8 @@ > * @return True if the file could be loaded false otherwise. > */ > public boolean open(TaskMonitor monitor, URI uri, Map<String, Object> > options) { > + //reset old parameters away > + resetParameters(); > addParameter(DATASOURCE_CLASSNAME, dataSourceClass.getName()); > addParameter(URI, uri.toString()); > Map<String,Object> properties = toProperties(uri, options); > > This was sent by the SourceForge.net collaborative development platform, the > world's largest Open Source development site. > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > Jump-pilot-svn-notify mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jump-pilot-svn-notify > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > Jump-pilot-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
