Changeset 14119 in josm for trunk/scripts
- Timestamp:
- 2018-08-11T16:10:32+02:00 (6 years ago)
- Location:
- trunk/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/I18nSimilarStrings.java
r13793 r14119 7 7 import org.openstreetmap.josm.data.UndoRedoHandler; 8 8 import org.openstreetmap.josm.data.preferences.JosmBaseDirectories; 9 import org.openstreetmap.josm.data.preferences.JosmUrls; 9 10 import org.openstreetmap.josm.data.validation.tests.SimilarNamedWays; 10 11 import org.openstreetmap.josm.gui.MainApplication; … … 29 30 Main.determinePlatformHook(); 30 31 Config.setBaseDirectoriesProvider(JosmBaseDirectories.getInstance()); 32 Config.setUrlsProvider(JosmUrls.getInstance()); 31 33 Preferences pref = new Preferences(); 32 34 Config.setPreferencesInstance(pref); -
trunk/scripts/TagInfoExtract.groovy
r14025 r14119 32 32 import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer 33 33 import org.openstreetmap.josm.data.preferences.JosmBaseDirectories; 34 import org.openstreetmap.josm.data.preferences.JosmUrls 34 35 import org.openstreetmap.josm.data.projection.Projections 35 36 import org.openstreetmap.josm.gui.NavigatableComponent … … 415 416 Main.pref.enableSaveOnPut(false) 416 417 Config.setPreferencesInstance(Main.pref) 417 Config.setBaseDirectoriesProvider(JosmBaseDirectories.getInstance()); 418 Config.setBaseDirectoriesProvider(JosmBaseDirectories.getInstance()) 419 Config.setUrlsProvider(JosmUrls.getInstance()) 418 420 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")) 419 421 Path tmpdir = Files.createTempDirectory(FileSystems.getDefault().getPath(base_dir), "pref")
Note:
See TracChangeset
for help on using the changeset viewer.