brett 2004/05/07 18:16:02
Modified: native plugin.jelly plugin.properties project.xml
native/xdocs properties.xml
Log:
PR: MPNATIVE-5
Submitted by: Joachim Bader
add src includes/excludes
Revision Changes Path
1.9 +1 -1 maven-plugins/native/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/native/plugin.jelly,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- plugin.jelly 25 Apr 2004 02:34:08 -0000 1.8
+++ plugin.jelly 8 May 2004 01:16:02 -0000 1.9
@@ -50,7 +50,7 @@
<linker name="${maven.native.linker.name}">
<linkerparam name="target" value="${maven.native.linker.target}"/>
</linker>
- <fileset dir="${maven.native.src}" />
+ <fileset dir="${maven.native.src}"
includes="${maven.native.src.includes}" excludes="${maven.native.src.excludes}"/>
<j:if test="${jniFilesPresent == 'true'}">
<includepath location="${java.home}/../include"/>
<includepath
location="${java.home}/../include/${maven.native.include.os}"/>
1.2 +2 -0 maven-plugins/native/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/maven-plugins/native/plugin.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin.properties 25 Apr 2004 02:34:08 -0000 1.1
+++ plugin.properties 8 May 2004 01:16:02 -0000 1.2
@@ -8,3 +8,5 @@
maven.native.compiler.target=
maven.native.linker.target=${maven.native.compiler.target}
+maven.native.src.includes=**/*.h **/*.c **/*.cpp
+maven.native.src.excludes=
1.17 +4 -0 maven-plugins/native/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/maven-plugins/native/project.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- project.xml 2 May 2004 14:16:25 -0000 1.16
+++ project.xml 8 May 2004 01:16:02 -0000 1.17
@@ -55,6 +55,10 @@
<contributors>
<contributor>
<name>Joachim Bader</name>
+ <email>[EMAIL PROTECTED]</email>
+ <organization>proveo.de</organization>
+ <url>http://www.joachim-bader.de</url>
+ <timezone>+1</timezone>
</contributor>
</contributors>
<dependencies>
1.4 +16 -0 maven-plugins/native/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven-plugins/native/xdocs/properties.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- properties.xml 25 Apr 2004 02:34:08 -0000 1.3
+++ properties.xml 8 May 2004 01:16:02 -0000 1.4
@@ -50,6 +50,22 @@
</td>
</tr>
<tr>
+ <td>maven.native.src.includes</td>
+ <td>Yes</td>
+ <td>
+ Specifies a list of patterns to include into the native compile process.
+ Default value is <code>**/*.h **/*.c **/*.cpp</code>.
+ </td>
+ </tr>
+ <tr>
+ <td>maven.native.src.excludes</td>
+ <td>Yes</td>
+ <td>
+ Specifies a list of patterns to exclude from the native compile process.
+ Default value is empty.
+ </td>
+ </tr>
+ <tr>
<td>maven.native.link</td>
<td>Yes</td>
<td>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]