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 36712] - Sql task fails even when onerror=continue when sql login fails
Date Mon, 19 Sep 2005 15:16:15 GMT
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=36712>.
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=36712





------- Additional Comments From Lothsahn@yahoo.com  2005-09-19 17:16 -------
(In reply to comment #0)
> The ant sql task fails in 1.6.5 even when onerror=false when the sql login fails. 
>  
> If the login to the sql server fails, the build will fail.  However, the sql
> statements failing does work properly (the build continues).
> 
> 
> CreateUser.sqlserver:
>      [copy] Copying 1 file to C:\work\V5intg\temp
> 
> BUILD FAILED
> C:\work\V5intg\workforce\buildtools\build.xml:3863: java.sql.SQLException: Login
>  failed for user 'xxxxxx'.
> 
> Total time: 3 seconds

Sorry--I meant onerror="continue"

The ant task is shown below:
<sql driver="${jdbc.driver}"
         url="${jdbc.url.sqlserver.nodb}"
         userid="test"
         password="${sqlserver.system.password}"
         src="temp/CreateSqlServerUser.sql"
         onerror="continue"/>

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message