[josm-dev] Autogenerated JAXB files in JOSM SVN

Paul Hartmann phaaurlt at googlemail.com
Sat Aug 20 09:39:33 BST 2011


On 08/20/2011 09:58 AM, Giovanni Mascellani wrote:
> On 15/08/2011 19:14, Jiri Klement wrote:
>> 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.
> 
> Thanks for the explanation. Anyway, I cannot find the file wms-cache.xsd
> anywhere. Is it on the SVN? If not, could you send me one copy?

$ find -name wms-cache.xsd
./data_nodist/wms-cache.xsd

>> 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).
> 
> Yes, that repository really would benefit from a bit of cleaning work.

For example?

> Anyway, I really encourage you to keep the file wms-cache.xsd. You can
> also keep the generated files if you think this eases your work.
> Consider also that Josm is distributed under the GPL license, and the
> GPL mandates that every source file must be available (there are many
> ways in which some one can accomplish to this requisite: probably the
> easiest is to keep all the sources in the SVN).
> 
> Thanks, Giovanni.

Giovanni, thanks for packaging JOSM for Debian!

I'd love to have an up to date deb-repository for josm-latest & -tested.
My first attempt failed, this is way more involved, than I expected. :)

Paul



More information about the josm-dev mailing list