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, 1.1
            Reporter: Henric Larsson
         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