Friday, May 4, 2012

Setting ${user} in Eclipse

Everytime I created a new eclipse workspace, I had to modify my @author template to display my full name instead instead of the name given to my computer by the admin team. I found out that I could set the ${user} variable in the STS.ini which all workspaces can use.

Instructions:
1. locate and edit your STS.ini
2. Add -Duser.name="your name"
example
-Duser.name=<a href="mailto:fvinluan@princesscruises.com">Francis Vinluan</a>

No comments: