You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by fg...@apache.org on 2006/07/15 22:00:54 UTC
svn commit: r422285 -
/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/Locator.java
Author: fgiust
Date: Sat Jul 15 13:00:54 2006
New Revision: 422285
URL: http://svn.apache.org/viewvc?rev=422285&view=rev
Log:
Print working dir when checkstyle.xml is not found. Can help in diagnosing relative paths problems.
Modified:
maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/Locator.java
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/Locator.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/Locator.java?rev=422285&r1=422284&r2=422285&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/Locator.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/Locator.java Sat Jul 15 13:00:54 2006
@@ -124,7 +124,8 @@
else
{
getLog().debug( "Location is not a Resource." );
- throw new IOException( "Unable to find location '" + location + "' as URL, File or Resource." );
+ throw new IOException( "Unable to find location '" + location
+ + "' as URL, File or Resource. Working dir is " + new File( "" ).getAbsolutePath() );
}
}
}