Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 54476 invoked by uid 500); 1 Jul 2003 14:19:11 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 54465 invoked from network); 1 Jul 2003 14:19:11 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Jul 2003 14:19:11 -0000 Received: (qmail 11609 invoked by uid 50); 1 Jul 2003 14:21:35 -0000 Date: 1 Jul 2003 14:21:35 -0000 Message-ID: <20030701142135.11608.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 21228] New: - sql-task: whitespace after jdbc driver name gives a classloader exception X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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: dev@ant.apache.org ReportedBy: robert.vanderveer@telecom.tno.nl 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: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org