Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Howto use my email address rather than my login ID as the author in Java templates?
Howto use my email address rather than my login ID as the author in Java templates? [message #630007] Thu, 30 September 2010 07:03 Go to next message
Eclipse UserFriend
By default the template for a new class includes the @author tag with the
value ${user}. I would rather that it would include my email address but
I do not want to have to go through each template changing ${user} to the
address, rather I would like to define either a new variable (and give it
a value) or even better change the value of the ${user} variable to be
my email address rather than my login ID.

How can I achieve this?

David
Re: Howto use my email address rather than my login ID as the author in Java templates? [message #630023 is a reply to message #630007] Thu, 30 September 2010 08:22 Go to previous message
Eclipse UserFriend
Maybe you can set the user property when starting up eclipse?
-Duser=pwebster@ca.ibm.com

See
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/runtime-options.html
for how you can use runtime options in eclipse.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Previous Topic:Multi Editor
Next Topic:.project file question
Goto Forum:
  


Current Time: Sun Aug 31 09:29:54 EDT 2025

Powered by FUDForum. Page generated in 0.03066 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top