You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by sh...@apache.org on 2014/01/28 11:53:58 UTC

git commit: FALCON-270 Checkstyle can not be run on a module. Contributed by Jean-Baptiste Onofré

Updated Branches:
  refs/heads/master 5c9304406 -> 2b25d3c78


FALCON-270 Checkstyle can not be run on a module. Contributed by Jean-Baptiste Onofré


Project: http://git-wip-us.apache.org/repos/asf/incubator-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-falcon/commit/2b25d3c7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-falcon/tree/2b25d3c7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-falcon/diff/2b25d3c7

Branch: refs/heads/master
Commit: 2b25d3c7845b09cdd047bc9b6e9c375d07c2d03b
Parents: 5c93044
Author: Shwetha GS <sh...@gmail.com>
Authored: Tue Jan 28 16:23:50 2014 +0530
Committer: Shwetha GS <sh...@gmail.com>
Committed: Tue Jan 28 16:23:50 2014 +0530

----------------------------------------------------------------------
 CHANGES.txt                                         | 2 ++
 checkstyle/src/main/resources/falcon/checkstyle.xml | 2 +-
 pom.xml                                             | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/2b25d3c7/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 02a5df0..ed6587a 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -34,6 +34,8 @@ Trunk (Unreleased)
     FALCON-123 Improve build speeds in falcon. (Srikanth Sundarrajan via Shwetha GS)
 
   BUG FIXES
+    FALCON-270 Checkstyle can not be run on a module. (Jean-Baptiste Onofré via Shwetha GS)
+
     FALCON-260 When a process is scheduled, the user workflow is failing with OozieClientException.
     (Shwetha GS)
 

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/2b25d3c7/checkstyle/src/main/resources/falcon/checkstyle.xml
----------------------------------------------------------------------
diff --git a/checkstyle/src/main/resources/falcon/checkstyle.xml b/checkstyle/src/main/resources/falcon/checkstyle.xml
index 9e18299..f6df5cd 100644
--- a/checkstyle/src/main/resources/falcon/checkstyle.xml
+++ b/checkstyle/src/main/resources/falcon/checkstyle.xml
@@ -62,7 +62,7 @@
     <!-- Checks for Headers                                -->
     <!-- See http://checkstyle.sf.net/config_header.html   -->
     <module name="Header">
-        <property name="headerFile" value="checkstyle/src/main/resources/falcon/checkstyle-java-header.txt"/>
+        <property name="headerFile" value="${checkstyle.header.file}"/>
     </module>
 
     <module name="FileLength"/>

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/2b25d3c7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4e8db45..9252d80 100644
--- a/pom.xml
+++ b/pom.xml
@@ -377,6 +377,7 @@
                                     <consoleOutput>true</consoleOutput>
                                     <includeTestSourceDirectory>true</includeTestSourceDirectory>
                                     <configLocation>falcon/checkstyle.xml</configLocation>
+                                    <headerLocation>falcon/checkstyle-java-header.txt</headerLocation>
                                     <failOnViolation>true</failOnViolation>
                                 </configuration>
                             </execution>