[
https://jira.codehaus.org/browse/MANTRUN-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=282341#comment-282341
]
Benson Margulies commented on MANTRUN-120:
------------------------------------------
This would appear to be a problem with the sql task in ant; please supply a
test case (perhaps using derby?).
> sql task does not respect onerror=continue
> ------------------------------------------
>
> Key: MANTRUN-120
> URL: https://jira.codehaus.org/browse/MANTRUN-120
> Project: Maven 2.x Antrun Plugin
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: Maven 2.2.1,
> jRockit (Java 6)
> Reporter: René Zanner
> Priority: Blocker
>
> When defining an sql task, the antrun plugin propagates it's failure although
> "onerror" is set to "continue": the maven build just terminates without any
> meaningful error message.
> With antrun 1.2 it still works (the build continues in case of SQL error
> messages), but with the current version the build fails.
> Here are the last lines of my mvn output (I removed the irrelevant parts):
> [sql] Executing resource: [...]\mut.database-schema.drop.sql
> [sql] Failed to execute: grant select on SEQ_MUT_A to rzanner
> [sql] java.sql.SQLSyntaxErrorException: ORA-01749: [...]
> As you can see there is not even a "BUILD ERROR" message or something
> similar...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira