Changeset 33906 in osm for applications/editors
- Timestamp:
- 2017-11-25T02:02:56+01:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/canvec_helper
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/canvec_helper/build.xml
r33557 r33906 4 4 <property name="commit.message" value="JOSM/Canvec_helper: fixed a crash caused by osm directory being renamed to OSM"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="1 2671"/>6 <property name="plugin.main.version" value="13007"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanVecTile.java
r33558 r33906 191 191 192 192 private ZipFile openZip() throws IOException { 193 File downloadPath = new File(layer.plugin.getPluginDir() + File.separator); 194 if (!downloadPath.mkdir() && Logging.isDebugEnabled()) { 195 Logging.debug("Unable to create directory: "+downloadPath); 196 } 193 File downloadPath = layer.plugin.getPluginDirs().getUserDataDirectory(true); 197 194 CachedFile tileZip = new CachedFile(getDownloadUrl()).setDestDir(downloadPath.toString()); 198 195 return new ZipFile(tileZip.getFile());
Note:
See TracChangeset
for help on using the changeset viewer.