You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Anthony Vito (JIRA)" <ji...@codehaus.org> on 2006/02/24 16:20:40 UTC

[jira] Created: (MPNATIVE-15) No implementation of EnvFactory for generic C, example fails with error.

No implementation of EnvFactory for generic C, example fails with error.
------------------------------------------------------------------------

         Key: MPNATIVE-15
         URL: http://jira.codehaus.org/browse/MPNATIVE-15
     Project: maven-native-plugin
        Type: Bug

 Environment: Linux
    Reporter: Anthony Vito
 Attachments: maven-native-env.patch

There is no built in implementation of EnvFactory for generic C. A user could implement this and add the classname to the EnvFactoryName property of the configuration. This is not documented though, and even the internal example fails on linux trying to instantiate "null".

The attached patch does the following:
 1.) Adds a basic implementation of a generic C EnvFactory.
 2.) Completes the linux example, enabling "mvn package -Dplatform=linux" to pass the unit test.

In addition to the Factory related changes, there are a few changes to the pom.xml that contains the surefire test setup for linux.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org