[josm-dev] Autogenerated JAXB files in JOSM SVN

Jiri Klement jiri.klement at gmail.com
Mon Aug 15 18:14:23 BST 2011


Hi,

The files were generated using xjc tool from wms-cache.xsd file. JAXB
is used to simplify reading of xml files - xml is automatically
transformed into java objects that are easier to process than for
example SAX events.

The files doesn't need to be checked in svn, it would be quite easy to
generated them using xjc ant task. Anyway, I didn't think it was worth
the effort, especially when there are plenty of unnecessary files in
workspace (like apache stuff connected via svn externals and other
classes copied from different projects).

--
Jiri

On Thu, Aug 11, 2011 at 4:12 PM, Giovanni Mascellani
<g.mascellani at gmail.com> wrote:
> Hi.
>
> I noticed that commit 4065 introduced in the SVN a few .java files[1]
> with a comment that says:
>
>> // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
>> // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
>> // Any modifications to this file will be lost upon recompilation of the source schema.
>> // Generated on: 2011.01.09 at 07:33:18 PM CET
>
>  [1] src/org/openstreetmap/josm/data/imagery/types/*
>
> I found no clue about where the source files for them are published and
> how to rebuild them (moreover, the advertised link is broken). Could you
> please help me? (should this help, the author of the commit is jttt).
>
> Thanks, Giovanni.
> --
> Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
> Pisa, Italy
>
> Web: http://poisson.phc.unipi.it/~mascellani
> Jabber: g.mascellani at jabber.org / giovanni at elabor.homelinux.org
>
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
>
>



More information about the josm-dev mailing list