Issue Type: Bug Bug
Affects Versions: native-maven-plugin-1.0-alpha-7
Assignee: Unassigned
Components: native
Created: 06/Jan/14 3:01 AM
Description:

With two native modules, one with <envFactoryName>org.codehaus.mojo.natives.msvc.MSVC2005x86EnvFactory</envFactoryName>, the other with <envFactoryName>org.codehaus.mojo.natives.msvc.MSVC2005AMD64EnvFactory</envFactoryName>, only the first one is used for both modules.

This is because in org.codehaus.mojo.natives.AbstractEnvFactory (maven-native-api), there is a static cache for envs. Thus only first built module provides the environment variables, and second one use same as envs is not null on line 14.

This especially prevents building 32 bits and 64 bits version of DLL in same reactor.

Environment: found on Windows
Project: Mojo
Priority: Major Major
Reporter: Vivien Tintillier
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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