db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1151047 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSourceProvider.java
Date Tue, 26 Jul 2011 09:49:46 GMT
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


Mime
View raw message