[
http://jira.codehaus.org/browse/MIDLJ-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Gier updated MIDLJ-6:
--------------------------
Affects Version/s: (was: 1.1)
Fix Version/s: 1.1
The plugin should probably be configurable whether you want to fail or not on
an IDL compilation error.
> Plugin doesn't fail if parsing of IDL fails
> -------------------------------------------
>
> Key: MIDLJ-6
> URL: http://jira.codehaus.org/browse/MIDLJ-6
> Project: Maven 2.x CORBA IDL Compiler Plugin
> Issue Type: Bug
> Affects Versions: 1.0
> Reporter: Henric Larsson
> Fix For: 1.1
>
> Attachments: idlj.patch
>
>
> If a non valid idl is parsed the plugin doesn't fail the build as expected.
> The problem is that the IDLJTranslator ignores the return value of the main
> method invocation. If the main method return a non zero value the
> invokeCompiler() method should throw a MojoExecutionException
> I've attached a patch to fix it.
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email