DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21228>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21228 sql-task: whitespace after jdbc driver name gives a classloader exception Summary: sql-task: whitespace after jdbc driver name gives a classloader exception Product: Ant Version: 1.5 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Minor Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I set my driver name & classpath in a environment variable in a batchfile. Here I accidentally typed an extra space after the name of the driver. Therefor the driver could not be found. file:C:/cvsLocal/klantbarometer/schema.xml:48: Class Not Found: JDBC driver com.microsoft.jdbc.sqlserver.SQLServerDriver could not be loaded It took me an hour to find this, overlooking the extra space after the drivername. Maybe an idea to do a trim() on the parameters of the sql-task (and maybe others). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]