Netbeans简要配置许可证信息

<#if licenseFirst??>
${licenseFirst}
</#if>
${licensePrefix}Copyright (C) <2017>  <水木年华>
${licensePrefix}Creat_time:${date}
${licensePrefix}Author:${user}
<#if licenseLast??>
${licenseLast}
</#if>


**********************************************************************************************************************************************************

可以使用的一些变量:

${date} 插入眼前日期,格式如: Feb 16, 2008
${encoding} 插入默认编码,如: UTF-8
${name} 插入文件名
${nameAndExt} 插入带扩展名的文件名
${package} inserts the name of the package where the file is created.
${time} 插入当前时间,如: 7:37:58 PM
${user} 插入用户名

posted @ 2017-07-06 14:36  Mr.peter  阅读(352)  评论(0编辑  收藏  举报