How can I add a default header to my source files automatically in Eclipse?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-04-09T00:46:48Z Indexed on 2010/04/09 0:53 UTC
Read the original article Hit count: 354

Filed under:
|

Hi.

I'm trying to figure out how I can have a comment header automatically added to all new source files in my eclipse java project. I've looked around but I haven't found a simple solution to automate this process. I gave JAutodoc a try, and even though it does allow me to specify a header I still had to tell the plugin manually to inject the header and it didn't seem very fond of my keyword-subsitution.

I'm by the way using the Maven2 plugin for Eclipse for most of my projects if that's any help.

Any tips?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about eclipse-plugin