Instead of hardcoding the default @author template I would like Eclipse to use user’s real name taken from account information (in Linux – but Windows solution is also welcome). Entering it somewhere into Eclipse configuration would be acceptable, too, alas I can’t find the right place.
Instead of hardcoding the default @author template I would like Eclipse to use user’s
Share
It seems that your best bet is to redefine the java
user.namevariable either at your command line, or using theeclipse.inifile in your eclipse install root directory.This seems to work fine for me:
Update:
http://morlhon.net/blog/2005/09/07/eclipse-username/ is a dead link…
Here’s a new one: https://web.archive.org/web/20111225025454/http://morlhon.net:80/blog/2005/09/07/eclipse-username/