Changeset 8275 in josm
- Timestamp:
- 2015-04-26T13:01:17+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/taginfoextract.groovy
r8274 r8275 9 9 */ 10 10 import java.awt.image.BufferedImage 11 import java.nio.file.Files 12 import java.nio.file.FileSystems 13 import java.nio.file.Path 11 14 12 15 import javax.imageio.ImageIO … … 323 326 Main.pref.enableSaveOnPut(false) 324 327 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")) 325 System.setProperty("josm.home", File.createTempDir().toString()); 328 Path tmpdir = Files.createTempDirectory(FileSystems.getDefault().getPath(base_dir), "pref") 329 System.setProperty("josm.home", tmpdir.toString()) 326 330 327 331 josm_svn_revision = Version.getInstance().getVersion()
Note:
See TracChangeset
for help on using the changeset viewer.