| Author |
How to show automatically the Author Names always in a Java Class ?
|
Vinod Vinu
Ranch Hand
Joined: Aug 30, 2009
Posts: 217
|
|
How to show the Author name like this in eclipse always whenevr a new java class is going to be develop:-
/**
* @author Deepak Kumar
*
* http://www.roseindia.net
Hibernate Criteria Query Example
*
*/
Thanks in advance
|
Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
|
 |
Joachim Rohde
Ranch Hand
Joined: Nov 27, 2006
Posts: 423
|
|
|
Even though this is not a Struts question: You have to change your code template and add there "@author ${user}". And if you don't want ${user} to be substituted by the username of your system, have a look here: http://martijndashorst.com/blog/2006/04/21/eclipse-goodie-your-actual-name-instead-of-login-in-javadoc-author-tags/
|
 |
Nishan Patel
Ranch Hand
Joined: Sep 07, 2008
Posts: 676
|
|
Take time to choose correct forum. This is Struts forum and question is not about Struts related.
Please read this Carefully Choose One Forum ..
|
Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
|
 |
Nishan Patel
Ranch Hand
Joined: Sep 07, 2008
Posts: 676
|
|
And JAutoDoc Plug-in in eclipse use for add header and comment to class file.
Update your eclipse and install plugin from below url.
JAutoDoc ..
|
 |
Vinod Vinu
Ranch Hand
Joined: Aug 30, 2009
Posts: 217
|
|
|
how to update plugin or use the file eclipse.ini
|
 |
Nishan Patel
Ranch Hand
Joined: Sep 07, 2008
Posts: 676
|
|
GO to in your eclipse
Help ---> Software Updates ---> Find and Install ....
That will open new windows.
Now select second option Search for new features to install and press next. Now you get new window which is same as below image.
Here you can add plugin link that I have given to you in my above reply.
|
 |
Vinod Vinu
Ranch Hand
Joined: Aug 30, 2009
Posts: 217
|
|
getting the following errorr:-
|
|
|
|
|
|
Download
|
|
 |
Vinod Vinu
Ranch Hand
Joined: Aug 30, 2009
Posts: 217
|
|
Getting following error:-
|
|
|
|
|
|
Download
|
|
 |
Nishan Patel
Ranch Hand
Joined: Sep 07, 2008
Posts: 676
|
|
Refer below link it will explain all steps...
JAutoDoc
|
 |
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
|
posted

0
|
|
Moving to IDEs.
|
 |
 |
|
|
subject: How to show automatically the Author Names always in a Java Class ?
|
|
|