ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10719] - Files processed under SQL task are hacked
Date Sat, 27 Jul 2002 13:01:15 GMT
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=10719>.
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=10719

Files processed under SQL task are hacked





------- Additional Comments From kdenehy@att.net  2002-07-27 13:01 -------
OK, this is just my opinion, but frankly I think the method would be much
cleaner if we stopped worrying about comments all together.  Just send whatever
you have. If it's nothing but comments, send it anyway!

What's the worst that could happen?  The database crashes?  I should hope not. 
I would think that a SQL script containing nothing but comments would be
perfectly valid, but if it's not, then the database should complain, and the
JDBC driver should throw a SQLException, and then Ant will display the error,
and the writer of the SQL script can fix it.  It shouldn't be Ant's
responsibility to worry about this, just like it shouldn't be Ant's
responsibility to ensure that a table referenced in the database really exists
before sending a select statement.

Like they say in the XP world, make it as simple as possible (but no simpler).

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


Mime
View raw message