Author: lidong
Date: Tue Oct 11 06:03:16 2016
New Revision: 1764194

URL: http://svn.apache.org/viewvc?rev=1764194&view=rev
Log:
KYLIN-2019: Doc for header checkstlye

Added:
    kylin/site/images/develop/intellij_apache_license.png   (with props)
Modified:
    kylin/site/development/dev_env.html
    kylin/site/feed.xml

Modified: kylin/site/development/dev_env.html
URL: 
http://svn.apache.org/viewvc/kylin/site/development/dev_env.html?rev=1764194&r1=1764193&r2=1764194&view=diff
==============================================================================
--- kylin/site/development/dev_env.html (original)
+++ kylin/site/development/dev_env.html Tue Oct 11 06:03:16 2016
@@ -597,6 +597,29 @@ bower --allow-root install</code></pre><
   </li>
 </ol>
 
+<h2 id="setup-ide-license-header-template">Setup IDE license header 
template</h2>
+
+<p>Each source file should include the following Apache License header</p>
+
+<div class="highlight"><pre><code class="language-groff" 
data-lang="groff">Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.</code></pre></div>
+
+<p>The checkstyle plugin will check the header rule when packaging also. The 
license file locates under <code 
class="highlighter-rouge">dev-support/checkstyle-apache-header.txt</code>. To 
make it easy for developers, please add the header as <code 
class="highlighter-rouge">Copyright Profile</code> and set it as default for 
Kylin project.<br />
+<img src="/images/develop/intellij_apache_license.png" alt="Apache License 
Profile" /></p>
+
                                                        </article>
                                                </div>
                                        </div>

Modified: kylin/site/feed.xml
URL: 
http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1764194&r1=1764193&r2=1764194&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Tue Oct 11 06:03:16 2016
@@ -19,8 +19,8 @@
     <description>Apache Kylin Home</description>
     <link>http://kylin.apache.org/</link>
     <atom:link href="http://kylin.apache.org/feed.xml"; rel="self" 
type="application/rss+xml"/>
-    <pubDate>Thu, 29 Sep 2016 06:26:39 -0700</pubDate>
-    <lastBuildDate>Thu, 29 Sep 2016 06:26:39 -0700</lastBuildDate>
+    <pubDate>Tue, 11 Oct 2016 06:59:26 -0700</pubDate>
+    <lastBuildDate>Tue, 11 Oct 2016 06:59:26 -0700</lastBuildDate>
     <generator>Jekyll v2.5.3</generator>
     
       <item>

Added: kylin/site/images/develop/intellij_apache_license.png
URL: 
http://svn.apache.org/viewvc/kylin/site/images/develop/intellij_apache_license.png?rev=1764194&view=auto
==============================================================================
Binary file - no diff available.

Propchange: kylin/site/images/develop/intellij_apache_license.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream


Reply via email to