Ulf Lamping schrieb:
Ulf Lamping wrote:
> Maybe simply disable the lang-xy plugin in the Edit/Preferences/Plugins
> menu and then reenabling it later again?
The truth: I am too lazy for that solution. I often develop and work with
JOSM nearly at the same time and enabling/disabling plugins by hand isn't
the solution I had in mind.
But I found a relative simple way (using the attached patch):
I changed the implementation of Preferences.getPreferencesDirFile(). My
implementation now first checks if the system property "josm.home" has been
set. If it has been set it is used as the preferences directory. Otherwise
the preferences directory is determined as before.
This modification allows me to define different JOSM preferences and plugin
sets that can be switched when starting JOSM. For example the following
startup command uses the directory josm_home in the current directory
instead of the one within my windows profile APPDATA folder.
java -Djosm.home=".\josm_home" -jar josm-custom.jar
Jan
_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev