From a492d32f8fbc623c9c58e6e9178930404aa5317a Mon Sep 17 00:00:00 2001 From: brett Date: Tue, 28 Dec 2004 07:34:25 +0000 Subject: [PATCH] PR: MPNATIVE-10 add DLL support git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@123478 13f79535-47bb-0310-9956-ffa450edef68 --- native/plugin.jelly | 34 ++++++++++++++++++++++++++++++---- native/xdocs/changes.xml | 1 + native/xdocs/faq.fml | 19 +++++++++++++++++++ native/xdocs/index.xml | 7 +++++++ native/xdocs/navigation.xml | 1 + native/xdocs/properties.xml | 2 +- native/xdocs/tasks.xml | 15 --------------- 7 files changed, 59 insertions(+), 20 deletions(-) create mode 100755 native/xdocs/faq.fml diff --git a/native/plugin.jelly b/native/plugin.jelly index 926c200f..eb44b25b 100644 --- a/native/plugin.jelly +++ b/native/plugin.jelly @@ -106,7 +106,7 @@ - + @@ -132,11 +132,25 @@ - - - + + + + + + + + + + + + + + @@ -151,9 +165,21 @@ artifactDirectory = '${pom.artifactDirectory}' + + + + + + + + + + + + diff --git a/native/xdocs/changes.xml b/native/xdocs/changes.xml index 2ae2ae7f..e953cd7b 100644 --- a/native/xdocs/changes.xml +++ b/native/xdocs/changes.xml @@ -25,6 +25,7 @@ + Add DLL support to the plugin Changed repository location of libraries from so to sos so Maven can handle them as dependencies Add support for native dependencies (libset/syslibset) Add support for optional include path (includepath/sysincludepath) diff --git a/native/xdocs/faq.fml b/native/xdocs/faq.fml new file mode 100755 index 00000000..3afe06c8 --- /dev/null +++ b/native/xdocs/faq.fml @@ -0,0 +1,19 @@ + + + + + General + + + How to run the gcc under cygwin? + + Set the follwing properties in your project.properties: + + maven.native.include.os=win32 + maven.native.compiler.arg.start=-mno-cygwin + maven.native.linker.arg.start=-mno-cygwin -Wl,--add-stdcall-alias + + + + + diff --git a/native/xdocs/index.xml b/native/xdocs/index.xml index 9f8eb2bd..61056ed6 100644 --- a/native/xdocs/index.xml +++ b/native/xdocs/index.xml @@ -40,6 +40,13 @@ Description + + 17 October 2004 + + support for dlls added + + + 31 July 2004 diff --git a/native/xdocs/navigation.xml b/native/xdocs/navigation.xml index d4d2bd9a..31cc9bd5 100644 --- a/native/xdocs/navigation.xml +++ b/native/xdocs/navigation.xml @@ -30,6 +30,7 @@ + diff --git a/native/xdocs/properties.xml b/native/xdocs/properties.xml index 046113c0..88bf0e3c 100644 --- a/native/xdocs/properties.xml +++ b/native/xdocs/properties.xml @@ -180,7 +180,7 @@ syslibset tag is used insted of the normal libset tag. - Only sos are supported a the moment. + sos and dlls are supported a the moment.

Lists of todos and ideas for future versions.

- - -

-

    -
  • - Add support for other native dependencies. Currently only - so is supported. dll and - a are not supported. Maybe introduce a property - like maven.native.libType. -
  • -
-

-
- -