java - JAXB XJC Possible to suppress comment creation in generated classes? -


our project uses xjc generate java classes xsd. i'm using java ee 6.

when xsds have re-generated, generated classes include comment @ top of file:

// generated on: 2011.02.23 @ 02:17:06 pm gmt  

is possible suppress comment? reason use svn version control, , every time regenerate our classes, every single file shows being changed in svn, though thing differs comment. i'd remove comment altogether if possible.

there -no-header directive, don't want remove entire header, future generations know it's file generated tool, , modifications overwritten. want remove timestamp. (or alternatively, i'd remove inbuilt header , insert own header somehow.)

if it's not possible using option can post-process generated files yourself. specific use-case had way on our project... use maven , execute specific script after java classes have been generated , before compile , package them distriuable jar.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -