Eclipse – How to change the value of ${user} variable used in Eclipse templates


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.

Best Solution

It seems that your best bet is to redefine the java variable either at your command line, or using the eclipse.ini file in your eclipse install root directory.

This seems to work fine for me:

-Dosgi.requiredJavaVersion=1.5 Inglima

Update: is a dead link...

Here's a new one: