Adrian Custer ha scritto:

> The JAXB question is more complex, raising the existence of the 
> religious war that so tiringly rages in our midst. There are the two 
> factions in Geotools, the eclipse sect and the sun fanatics. Neither can 
> tolerate the technology of the other and both are too lazy to really 
> learn the strengths and limitations of the technology of the other. SLD 
> parsing has been done both ways, with JAXB and by hand parsing. Both 
> work, and both could probably co-exist but religious wars tend not to 
> produce a good environment for co-existence.

I would like to add a detail to this assessment.

I am in total agreement that there is a Eclipse/Sun religious tension.
Yet the JAXB annotation were asked to be removed because it was 
impossible to run unit test with the Eclipse XML libraries on Apple
as long as JAXB api was in the path, and no one found a solution
for that issue: the removal was asked and not because it was considered
"unclean" to have JAXB around, but because it was simply not working
on OSX + Eclipse.

The final agreement when adding JAXB was that the annotations were
ok as long as they did not break existing code, and whilst that worked
on Windows and Linux to some extent (I had to hand change the path
order on Windows to have tests execute properly in Eclipse) it simply
did not work on MacOSX.

I also would like to notice that despite this JAXB usage is not banned,
the above problem would not occur if JAXB usage was kept in its
own xml parsing/encoding modules... something hard to do due to the
usage of annotations.

Cheers
Andrea


-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to