[ 
http://jira.codehaus.org/browse/MIDLJ-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arnaud Heritier closed MIDLJ-6.
-------------------------------

      Assignee: Arnaud Heritier
    Resolution: Fixed

a failOnError parameter can be used to deactive the check

> 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
>            Assignee: Arnaud Heritier
>             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


Reply via email to