make:compile ignores derived configuration parameters
-----------------------------------------------------

                 Key: CBUILDS-52
                 URL: http://jira.codehaus.org/browse/CBUILDS-52
             Project: Mojo C Builds
          Issue Type: Bug
          Components: Automake/Autoconfig Orchestration
    Affects Versions: 1.0-beta-1
            Reporter: Anton Nikitin


make:compile should take into account parameters derived from base class.

E.g. <environment> and <skipped> parameters are ignored even if 
<compileEnvironment> and <skipCompile> are not set.

It seems that implementation class (org.codehaus.mojo.make.CompileExecMojo) 
should set the values like other mojos only if overriding parameter is set, i.e.


 if ( compileEnvironment != null && !compileEnvironment.isEmpty() )
   {
       setEnvironment( compileEnvironment );
   }


-- 
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