You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by dr...@apache.org on 2010/09/06 03:18:19 UTC

svn commit: r992921 - /mahout/trunk/utils/src/main/java/org/apache/mahout/utils/vectors/lucene/Driver.java

Author: drew
Date: Mon Sep  6 01:18:18 2010
New Revision: 992921

URL: http://svn.apache.org/viewvc?rev=992921&view=rev
Log:
Fixed error message to print full import path.

Modified:
    mahout/trunk/utils/src/main/java/org/apache/mahout/utils/vectors/lucene/Driver.java

Modified: mahout/trunk/utils/src/main/java/org/apache/mahout/utils/vectors/lucene/Driver.java
URL: http://svn.apache.org/viewvc/mahout/trunk/utils/src/main/java/org/apache/mahout/utils/vectors/lucene/Driver.java?rev=992921&r1=992920&r2=992921&view=diff
==============================================================================
--- mahout/trunk/utils/src/main/java/org/apache/mahout/utils/vectors/lucene/Driver.java (original)
+++ mahout/trunk/utils/src/main/java/org/apache/mahout/utils/vectors/lucene/Driver.java Mon Sep  6 01:18:18 2010
@@ -141,7 +141,7 @@ public final class Driver {
       if (cmdLine.hasOption(inputOpt)) { // Lucene case
         File file = new File(cmdLine.getValue(inputOpt).toString());
         if (!file.isDirectory()) {
-          throw new IllegalArgumentException("Lucene directory: " + file.getName() + 
+          throw new IllegalArgumentException("Lucene directory: " + file.getAbsolutePath() + 
               " does not exist or is not a directory");
         }