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

Dan Tran closed MOJO-1533.
--------------------------

    Resolution: Fixed
      Assignee: Dan Tran

patch applied thanks

Revision: 12228
Author: dantran
Date: 5:50:54 PM, Monday, May 24, 2010
Message:
[MOJO-1533] remove redundant envFactory
----
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/NativeMessageCompileMojo.java



> The message-compiler isn't executed in the environment specified in the 
> plugin-configuration
> --------------------------------------------------------------------------------------------
>
>                 Key: MOJO-1533
>                 URL: http://jira.codehaus.org/browse/MOJO-1533
>             Project: Mojo
>          Issue Type: Bug
>          Components: native
>            Reporter: Barnabas Bodnar
>            Assignee: Dan Tran
>            Priority: Minor
>         Attachments: 
> org.codehaus.mojo.natives.plugin.NativeMessageCompileMojo.patch
>
>
> Although in a MSVC6 installation the message-compiler (mc.exe) resides in the 
> same directory as the compiler and linker, 
> it is not found when attempted to be executed by the Maven Native Plugin. A 
> short research revealed, that the class 
> org.codehaus.mojo.natives.plugin.NativeMessageCompileMojo has an own member 
> "envFactoryName", which hides the member of the same name in the superclass 
> org.codehaus.mojo.natives.plugin.AbstractNativeMojo; during configuring the 
> plugin the former is set, while the plugin-code attempts to read the latter.
> Removing the member "envFactoryName" (which is never directly accessed in the 
> code) from org.codehaus.mojo.natives.plugin.NativeMessageCompileMojo solves 
> the problem; a corresponding patch based on 
> "http://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/nativemessagecompilemojo.j...@11550";
>   is attached.

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