Opened 8 years ago

Last modified 4 years ago

#15182 new enhancement

Standalone JOSM validator — at Initial Version

Reported by: Don-vip Owned by: Don-vip
Priority: major Milestone: Longterm
Component: Core validator Version:
Keywords: modularization Cc:

Description

During Java 9 compatibility effort (#11924) I wondered if modularization could be applied to JOSM, which currently is a big spaghetti-based monolithic jar.

A clean modular architecture would be a huge task (don't know if it would really be possible at all, as we have a lot of interwoven dependencies) but I'd like to see if we can achieve a more affordable intermediate state, where we could build a standalone version of JOSM validator that could be run as follows:

java -jar josm-validator.jar -o warnings.xml

This jar having no dependency on AWT/Swing/JavaFX. This way it could be run for example by a Java 9 server VM which does not include the java.desktop module.

It would not change anything on JOSM editor except probably some API changes, but as little as possible.

Change History (0)

Note: See TracTickets for help on using tickets.