Open GoogleCodeExporter opened 9 years ago
How to globally change the user name that is used in file templates?
1. Go to Tools | Templates.
2. Scroll to the end of the Template Manager and expand 'User Configuration
Properties'.
3. Select 'User.properties' and click 'Open in Editor'.
4. Now you can add the above and set your own value, for example:
user=DonaldDuck@disney.com
Now, whenever you have ${user} in a file template, you will find the above value
generated into the file that you create using that template.
Original comment by demchuck...@gmail.com
on 12 Apr 2010 at 10:56
Original comment by demchuck...@gmail.com
on 12 Apr 2010 at 6:13
change Tools | Templates | Licenses | license-apache20.txt
to this
<#if licenseFirst??>
${licenseFirst}
</#if>
${licensePrefix} Copyright ${date?date?string("yyyy")} ${user}
${licensePrefix}
${licensePrefix} Licensed under the Apache License, Version 2.0 (the "License");
${licensePrefix} you may not use this file except in compliance with the
License.
${licensePrefix} You may obtain a copy of the License at
${licensePrefix}
${licensePrefix} http://www.apache.org/licenses/LICENSE-2.0
${licensePrefix}
${licensePrefix} Unless required by applicable law or agreed to in writing,
software
${licensePrefix} distributed under the License is distributed on an "AS IS"
BASIS,
${licensePrefix} WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
${licensePrefix} See the License for the specific language governing
permissions and
${licensePrefix} limitations under the License.
<#if licenseLast??>
${licenseLast}
</#if>
Original comment by demchuck...@gmail.com
on 13 Apr 2010 at 8:36
Original comment by demchuck...@gmail.com
on 13 Apr 2010 at 8:37
Original issue reported on code.google.com by
demchuck...@gmail.com
on 12 Apr 2010 at 10:55Attachments: