ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r439807 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/JDBCTask.java
Date Sun, 03 Sep 2006 17:20:05 GMT
Author: peterreilly
Date: Sun Sep  3 10:20:04 2006
New Revision: 439807

URL: http://svn.apache.org/viewvc?view=rev&rev=439807
Log:
trim the driver attribute

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/JDBCTask.java

Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?view=diff&rev=439807&r1=439806&r2=439807
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Sun Sep  3 10:20:04 2006
@@ -23,6 +23,7 @@
 * added classpath attribute and nested element to <script> to allow
   the language jars to be specified in the build script.
   Bugzilla report 29676.
+* trim the driver attribute on the <sql> task. Bugzilla report 21228.
 
 Changes from Ant 1.6.5 to Ant 1.7.0Beta1
 ========================================

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/JDBCTask.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/JDBCTask.java?view=diff&rev=439807&r1=439806&r2=439807
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/JDBCTask.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/JDBCTask.java Sun Sep  3 10:20:04
2006
@@ -185,7 +185,7 @@
      * @param driver The driver to set
      */
     public void setDriver(String driver) {
-        this.driver = driver;
+        this.driver = driver.trim();
     }
 
     /**



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


Mime
View raw message