Hilco Wijbenga wrote:
> There is a simple and obvious problem: JAXB adds comments with
> timestamps and references to the files. I've succesfully removed those
> with a simple replace after JAXB has finished. Is there a way to tell
> JAXB (1.4) not to generate these comments?
In 2.0 there's the "-no-header" option exactly for this. If you are
interested in backporting this to 1.0.4, feel free to send in a patch... :-)
> I would greatly appreciate any help or ideas to get a repeatable
> build. What kind of outside influences would have an effect on the
> generated source code?
Usually, what we should look for is the use of HashMap/HashSet. Those
classes do not guarantee the iteration order, and hence when you run it
in a different environment, objects get different hash code, and you get
different results.
In some case you can change them to Tree versions. It would be easier if
we can use LinkedHashMap/Set, but that would require JDK 1.4.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com