You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by to...@apache.org on 2006/03/02 23:44:24 UTC
svn commit: r382536 -
/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaSqlToFileCommand.java
Author: tomdz
Date: Thu Mar 2 14:44:23 2006
New Revision: 382536
URL: http://svn.apache.org/viewcvs?rev=382536&view=rev
Log:
Worked around a problem in Ant where the log method cannot deal with null messages
Modified:
db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaSqlToFileCommand.java
Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaSqlToFileCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaSqlToFileCommand.java?rev=382536&r1=382535&r2=382536&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaSqlToFileCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaSqlToFileCommand.java Thu Mar 2 14:44:23 2006
@@ -140,7 +140,7 @@
}
else
{
- task.log(ex.getLocalizedMessage(), Project.MSG_ERR);
+ task.log(ex.getMessage() == null ? ex.toString() : ex.getMessage(), Project.MSG_ERR);
}
}
finally