sql task does not respect onerror=continue
------------------------------------------
Key: MANTRUN-120
URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira