Configure the author in Eclipse javadoc

tipAuthorJavaDoc

Is very important when we are refactoring or fixing bugs or doing some improvement to know who is the guy that created thi class.
Eclipse has a javadoc auto generator and it put the author automatically. The questions is that some times we want to update this author (normally Eclipse put it from current user machine). Here is the tip to get it according like we want.
We have two solutions (i recommend the second one):

1.- We can overwrite it passing the correct author in Eclipse shorcut as bellow.

eclipse.exe -vmargs -Duser.name=”Christian Oscar Tejada Pacheco”
2.- Se second way is editing the eclipse.ini and adding in the footer of the file the new line bellow.

-Duser.name=Christian Oscar Tejada Pacheco

In all of cases when eclipse will user the author, the name in user.name will be used.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s