3

Is there a tool, option or script to insert a custom template into the header of every existing source file within an Eclipse project?`


Some background information

I have very recently open-sourced a small application written for a university assignment. Initially the source files did not require any explicit license or author information. But now I am releasing the code I would like to place this information in the header of each Java source file.

I know Eclipse has the capability of inserting a custom template in each new file, and I will be doing this from now on. But there is around 60 existing .java files within which I wish to place this header. While that is not a huge number, I really don't fancy repeating the same cut and paste operation 60 times if there's a lazier way to do it.


P.S. I couldn't think up any better tags for this question, suggestions welcome.

1 Answer 1

4

You may want to check out JAutodoc on sourceforge. http://jautodoc.sourceforge.net/

Specifically, check out the section entitled File Header

Hope this helps.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.