I'm at a loss about new features and how to tool around with them- I'm poking around at the http://jakarta.apache.org/ant/index.html site, specifically I found the http://jakarta.apache.org/cvsweb/index.cgi/jakarta-ant/docs/sql.html file, which implies functionality I don't see in the version I am using.
But as I look at the source pulled either as a nightly build or from the http://jakarta.apache.org/builds/ant/release/v1.1/src/ directory, I can't find this new code. Is this part of a planned release? And actually, when I look at the latest version of the docs- an index.html file which is in CVS- it lists a whole host of tasks that don't seem to be in any source code or binary I have been able to download. I've been using ant for a while and am starting to get more involved with it- but I realize that perhaps I should mind my business and stay over in the ant-user's email list and wait for another release- so I guess you should let me have it and tell me if there is something I should have read or somewhere else I should be poking around for more info. Thanks, -Dan R. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 10, 2000 10:57 AM > To: [EMAIL PROTECTED] > Subject: cvs commit: > jakarta-ant/src/main/org/apache/tools/ant/taskdefs > SQLExec.java > > > bodewig 00/10/10 07:56:38 > > Modified: src/main/org/apache/tools/ant/taskdefs SQLExec.java > Log: > Make <sql> ignore empty "statements". > > Submitted by: Jose Alberto Fernandez <[EMAIL PROTECTED]> > > Revision Changes Path > 1.10 +5 -2 > jakarta-ant/src/main/org/apache/tools/ant/taskdefs/SQLExec.java > > Index: SQLExec.java > =================================================================== > RCS file: > /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/S > QLExec.java,v > retrieving revision 1.9 > retrieving revision 1.10 > diff -u -r1.9 -r1.10 > --- SQLExec.java 2000/09/29 15:51:13 1.9 > +++ SQLExec.java 2000/10/10 14:56:35 1.10 > @@ -482,6 +482,9 @@ > * Exec the sql statement. > */ > protected void execSQL(String sql) throws SQLException { > + // Check and ignore empty statements > + if ("".equals(sql.trim())) return; > + > try { > totalSql++; > if (!statement.execute(sql)) { > @@ -585,13 +588,13 @@ > > private void runTransaction() throws IOException, > SQLException { > if (tSqlCommand.length() != 0) { > - log("Executing commands", Project.MSG_VERBOSE); > + log("Executing commands", Project.MSG_INFO); > runStatements(new StringReader(tSqlCommand)); > } > > if (tSrcFile != null) { > log("Executing file: " + > tSrcFile.getAbsolutePath(), > - Project.MSG_VERBOSE); > + Project.MSG_INFO); > runStatements(new FileReader(tSrcFile)); > } > } > > > >
