ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <jalbe...@cellectivity.com>
Subject RE: SQLExec.class feedback attribute proposal
Date Mon, 05 Jul 2004 16:03:06 GMT
Had forgoten about this guy. Is it in the docs?

Maybe we should guide people to use this functionality.

Jose Alberto

> -----Original Message-----
> From: Nicola Ken Barozzi [mailto:nicolaken@apache.org] 
> Sent: 05 July 2004 16:34
> To: dev@ant.apache.org
> Subject: Re: SQLExec.class feedback attribute proposal
> 
> 
> Jose Alberto Fernandez wrote:
> ...
> > To tell you the truth, I think the whole business of 
> printing results 
> > of queries using SQLTask was a mistake, and should have 
> been defined 
> > on a separate task that can do real XML output of results 
> that one can 
> > manipulate and format in watever fashion. The current 
> arrangement is a 
> > product of the early days of ANT.
> 
> The last version of the xml extractor patch uses an external task for 
> extracting. Is this something that could be of interest?
> 
> [PATCH] Xml output for the SQL task 
> http://issues.apache.org/bugzilla/show_bug.cgi> ?id=28681
> 
> 
> Usage example:
> 
>    <taskdef name="extractorxml"
>   
>      classname="org.apache.tools.ant.taskdefs.SQLExtractorXML"/>
> 
>    <extractorxml id="myextractorxml"/>
> 
>      <sql driver="..."
>           url="..."
>           userid="..."
>           password="..."
>           print="yes"
>           output="${work.dir}/outputfile.xml"
>           extractorRef="myextractorxml"
>      >
>        ${data.sql}
>      </sql>
> 
> 
> -- 
> Nicola Ken Barozzi                   nicolaken@apache.org
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 
> 

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


Mime
View raw message