Fabian
Fabian

Reputation: 3450

Eclipse Footer?

I have an existing project with many files and was recently informed I need to add a footer on each source file. Does anyone have suggestions of to do this? I'm currently using JAutoDoc to add a header. This has worked well but I can't figure out how to make JAutoDoc add a comment to the bottom. Thanks!

Upvotes: 0

Views: 161

Answers (1)

Chandrayya G K
Chandrayya G K

Reputation: 8859

You can manage this using batch file.

  1. List all *.java files in source folder(recursively).
  2. Iterate all these files and append copy right line at the end of each file.

Batch script:

For /R <Source_Folder_Path> %%G IN (*.java) do Echo "Copyright line to be appended" >> "%%G"

Upvotes: 1

Related Questions