You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2005/10/15 14:57:39 UTC

svn commit: r321327 - /maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java

Author: brett
Date: Sat Oct 15 05:57:36 2005
New Revision: 321327

URL: http://svn.apache.org/viewcvs?rev=321327&view=rev
Log:
PR: MNG-829
Submitted by: Johnny R. Ruiz III
use File for basedir aligned parameter

Modified:
    maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java

Modified: maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java?rev=321327&r1=321326&r2=321327&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java (original)
+++ maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java Sat Oct 15 05:57:36 2005
@@ -110,7 +110,7 @@
      *
      * @parameter expression="${basedir}/LICENSE.txt"
      */
-    private String headerFile;
+    private File headerFile;
 
     /**
      * Specifies the cache file used to speed up Checkstyle on successive runs.
@@ -442,7 +442,7 @@
 
             if ( headerFile != null )
             {
-                p.setProperty( "checkstyle.header.file", headerFile );
+                p.setProperty( "checkstyle.header.file", headerFile.getAbsolutePath() );
             }
 
             if ( cacheFile != null )