Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 71280 invoked from network); 28 Feb 2007 21:50:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 21:50:00 -0000 Received: (qmail 90210 invoked by uid 500); 28 Feb 2007 21:50:08 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 90173 invoked by uid 500); 28 Feb 2007 21:50:08 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 90162 invoked by uid 99); 28 Feb 2007 21:50:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 13:50:07 -0800 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 13:49:58 -0800 Received: by brutus.apache.org (Postfix, from userid 33) id 90F8B714044; Wed, 28 Feb 2007 13:49:38 -0800 (PST) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 41737] New: - Semicolon in c-style multiline comments fails Message-ID: X-Bugzilla-Reason: AssignedTo Date: Wed, 28 Feb 2007 13:49:38 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org 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://issues.apache.org/bugzilla/show_bug.cgi?id=41737 Summary: Semicolon in c-style multiline comments fails Product: Ant Version: 1.6.5 Platform: PC OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: apache@digicoast.com When I use c-style multi-line comments in my sql source, and one of the comment lines ends with a semi-colon, the Ant sql core task appears to treat that as the end of the comment block, and then then an attempt is made to execute the next line in the sql source. For example, if I have the follow sql source: /* A semicolon here; causes a problem. */ select now() The output of Ant is: [sql] Executing file: /home/me/test.sql [sql] 0 rows affected [sql] Failed to execute: causes a problem. */ select now() BUILD FAILED /home/me/build.xml:20: java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'causes a problem. */ select now()' at line 1 Total time: 1 second -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org