DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41737>. 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]