ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: DO NOT REPLY [Bug 38245] - NPE in FileResource.toString in <sql>
Date Fri, 13 Jan 2006 09:36:09 GMT
bugzilla@apache.org wrote:

> 
> ------- Additional Comments From stevel@apache.org  2006-01-12 21:41 -------
> <sql> is fundamentally broken. It doesnt need a file or depend on nested
> transactions; text or src inline is sufficient.
> 
>   <target name="hsql-command" depends="ready-to-compile,init-hsqldb">
>     <sql driver="${jdbc.driver}"
>          classpathref="compile.classpath"
>          userid="sa"
>          password=""
>          url="${jdbc.url}">
>       ;
>     </sql>
>   </target>
> 

I've fixed this, but it shows we missed something fundamental. Clearly 
nothing in gump is running the <sql> task.

We could correct this with some junit tests that depend on hsqldb, 
assuming that that is part of the gump. I'll start the tests, but if 
there are other SQL things people want to add, feel free to add them.

-steve

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


Mime
View raw message