[josm-dev] location of elemstyles.xml and Eclipse

Matthias Julius lists at julius-net.net
Tue Jan 26 06:11:12 GMT 2010


Ulf Lamping <ulf.lamping at googlemail.com> writes:

> Am 25.01.2010 21:12, schrieb Matthias Julius:
>> Since r2827 JOSM is loading elemstyles.xml from data/ and the file is
>> copied there in build.xml
>>
>> Is there a way to have Eclipse do the same when JOSM is started from
>> within Eclipse?
>>
>
> You probably mean presets.xml vs. defaultpresets.xml?

No, see http://josm.openstreetmap.de/changeset/2827/

In build.xml styles/standard/elemstyles.xml is copied to build/data and
in MapPaintStyles.java the presets are loaded from
resource://data/elemstyles.xml

This works if you build JOSM by running ant, but eclipse does not care
what is in build.xml

What was actually wrong with loading elemstyles.xml from styles/standard/?

Matthias




More information about the josm-dev mailing list