You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2011/07/26 11:49:46 UTC

svn commit: r1151047 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSourceProvider.java

Author: tfischer
Date: Tue Jul 26 09:49:45 2011
New Revision: 1151047

URL: http://svn.apache.org/viewvc?rev=1151047&view=rev
Log:
improve error message if file has unknown format

Modified:
    db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSourceProvider.java

Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSourceProvider.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSourceProvider.java?rev=1151047&r1=1151046&r2=1151047&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSourceProvider.java (original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSourceProvider.java Tue Jul 26 09:49:45 2011
@@ -184,7 +184,7 @@ public class FileSourceProvider extends 
         {
             throw new RuntimeException(
                     "format is not set and file extension is unknown for file "
-                        + currentPath.getName());
+                        + currentPath.getAbsolutePath());
         }
         return new FileSource(
                 currentSourceFormat,



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org