users@jaxb.java.net

adding a standard header to generated JAXB files

From: Greg T Robertson <gregrob_at_us.ibm.com>
Date: Thu, 4 Dec 2003 08:42:43 -0500

We use a standard header for all of our files - this is not a javadoc
comment - just a plain old comment that contains some CVS tags etc for
version IDs etc. While there's nothing that says it can not be in a
javadoc comment - it's typically in a standard comment. Is there a way to
generate a standard "header" for each of the JAXB generated files. I have
read the information about <xsd:documentation> but it does not sound like
what I'm looking for - though if there is a way to use the
<xsd:documentation> to generate a header it would suffice if it can be in
the bindings file somehow.

Currently I'm looking at generating the files, then running Jalopy on them
and recompiling - which is by no means an efficient process.

Thanks,

Greg T. Robertson


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net