Re: [josm-dev] Autogenerated JAXB files in JOSM SVN
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? 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. 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 Mascellani mascell...@poisson.phc.unipi.it Pisa, Italy Web: http://poisson.phc.unipi.it/~mascellani Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org signature.asc Description: OpenPGP digital signature ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] Autogenerated JAXB files in JOSM SVN
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 ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] Autogenerated JAXB files in JOSM SVN
Hi. On 20/08/2011 10:39, Paul Hartmann wrote: 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 Thanks, probably I wrongly assumed that the file has to stay in the trunk. 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? I may be about tastes, but I find it a bit messy. For example, I found no clear explanation of what each top-level directory in the trunk is supposed to contain. There is a patches/ directory that doesn't appear to be documented anywhere. I also find the build system quite confusing, and often, each time I work on a new release, I have to spend quite a few time on repatching build.xml to make it work for the Debian package. Anyway, I don't want to go into this: these are just my opinions and I don't want to criticize something I didn't work to enhance. 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. :) Within Debian we (I and David) try to keep up with tested. Latest is bit too difficult to track. Actually, my question about the generated files was just because in Debian everything must be recompiled from source code, so I was hunting for that file. Thanks for having pointed it out. Maybe I'll be able to release tested to sid in the next days. Thanks, Giovanni. -- Giovanni Mascellani mascell...@poisson.phc.unipi.it Pisa, Italy Web: http://poisson.phc.unipi.it/~mascellani Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org signature.asc Description: OpenPGP digital signature ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] Autogenerated JAXB files in JOSM SVN
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.mascell...@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 mascell...@poisson.phc.unipi.it Pisa, Italy Web: http://poisson.phc.unipi.it/~mascellani Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev