<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>auxak blog &#187; license</title>
	<atom:link href="http://blog.auxak.com/tag/license/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.auxak.com</link>
	<description>Creative &#38; Innovative IT</description>
	<lastBuildDate>Sun, 09 Nov 2014 18:54:41 +0000</lastBuildDate>
	<language>ja</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>Netbeansでのライセンスヘッダーのカスタマイズ</title>
		<link>http://blog.auxak.com/customize-license-header-in-netbeans/</link>
		<comments>http://blog.auxak.com/customize-license-header-in-netbeans/#comments</comments>
		<pubDate>Mon, 13 Oct 2014 03:57:34 +0000</pubDate>
		<dc:creator><![CDATA[auxakmaster]]></dc:creator>
				<category><![CDATA[開発環境]]></category>
		<category><![CDATA[license]]></category>
		<category><![CDATA[NetBeans]]></category>

		<guid isPermaLink="false">http://blog.auxak.com/?p=137</guid>
		<description><![CDATA[Netbenasにおいて、ソースコードのファイルを新規に追加した際に自動付与されるライセンスヘッダーをカスタマ [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Netbenasにおいて、ソースコードのファイルを新規に追加した際に自動付与されるライセンスヘッダーをカスタマイズする方法を紹介します。</p>
<p>&nbsp;</p>
<p>まず、ライセンスヘッダーの文章を作成します。[ツール]-[テンプレート]を選択します。</p>
<p>標準で、各種ライセンス用のライセンスヘッダーの文章が用意されています。自身でライセンスヘッダーの文章を作成したい場合はデフォルト・ライセンスを編集するか新規に追加します。</p>
<p><a href="http://blog.auxak.com/wp-content/uploads/2014/10/netbeans-tool-template-license.png"><img class="alignnone size-full wp-image-140" src="http://blog.auxak.com/wp-content/uploads/2014/10/netbeans-tool-template-license.png" alt="Netbeans-Tool-Template-License" width="548" height="429" /></a></p>
<p>&nbsp;</p>
<p>ライセンスヘッダーの文章には、テンプレートバリアブルを埋め込むことで、ファイル生成時に自動的にファイル名称や</p>
<p>日時等を埋め込むことが可能です。利用可能なテンプレートバリアブルの一覧はNetbeansの公式サイトで紹介されているます（FaqTemplateVariables）。<br />
下記に、auxakのソースコードのライセンスヘッダーのテンプレートをサンプルとして示します。</p>
<pre class="brush: plain; title: ; notranslate">
&lt;#if licenseFirst??&gt;
${licenseFirst}
&lt;/#if&gt;
${licensePrefix}======================================================================
${licensePrefix}Project Name    : ${project.name}
${licensePrefix}File Name       : ${nameAndExt}
${licensePrefix}Encoding        : ${encoding}
${licensePrefix}Creation Date   : ${date}
${licensePrefix?replace(&quot; +$&quot;, &quot;&quot;, &quot;r&quot;)}
${licensePrefix}Copyright © ${date?date?string(&quot;yyyy&quot;)} auxak. All rights reserved.
${licensePrefix?replace(&quot; +$&quot;, &quot;&quot;, &quot;r&quot;)}
${licensePrefix}This source code or any portion thereof must not be
${licensePrefix}reproduced or used in any manner whatsoever.
${licensePrefix}======================================================================
&lt;#if licenseLast??&gt;
${licenseLast}
&lt;/#if&gt;
</pre>
<p>ライセンスヘッダーは、プロジェクト毎に切り返ることも可能です。テンプレートから選択する場合は、グローバル・ライセンスのドロップダウンリストから任意のライセンスヘッダーを選択します。</p>
<p>特定のテキストファイルをライセンスヘッダーに利用することも可能です。</p>
<p><a href="http://blog.auxak.com/wp-content/uploads/2014/10/netbeans-license-header.png"><img class="alignnone size-full wp-image-141" src="http://blog.auxak.com/wp-content/uploads/2014/10/netbeans-license-header.png" alt="netbeans-license-header" width="818" height="714" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.auxak.com/customize-license-header-in-netbeans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
