[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: inserting license at the top of 200+ java files

jebblue wrote:
On Fri, 06 Mar 2009 02:31:41 -0500, Jake Vang wrote:

I would like to know if there is an automated way of inserting a license
(i.e. Apache license) at the top of 200+ Java source files. I took a
look at Windows -> Preferences -> Java -> Code Templates, but this seems
to only affect new files created. Is there an easy way in Eclipse to add
a license to the top of every Java file?

I thought when you applied formatting to existing files it picked up the code template changes. Not sure how to apply that across tons of files at the same time though.

Try looking at the JAutoDoc plugin. A quick google should find it.


-- Derek