evenisse 2004/07/07 08:59:27
Modified: jalopy plugin.jelly plugin.properties
jalopy/xdocs changes.xml properties.xml
Log:
[MPJALOPY-5]. Add some exclude properties.
Revision Changes Path
1.7 +4 -2 maven-plugins/jalopy/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/jalopy/plugin.jelly,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- plugin.jelly 10 May 2004 23:38:03 -0000 1.6
+++ plugin.jelly 7 Jul 2004 15:59:27 -0000 1.7
@@ -64,12 +64,14 @@
classpathref="project.classpath">
<j:if test="${sourcesPresent == 'true'}">
<ant:fileset dir="${pom.build.sourceDirectory}" >
- <ant:include name="${maven.jalopy.filesetInclude}" />
+ <ant:include name="${maven.jalopy.src.filesetInclude}" />
+ <ant:exclude name="${maven.jalopy.src.filesetExclude}" />
</ant:fileset>
</j:if>
<j:if test="${unitTestSourcesPresent == 'true'}">
<ant:fileset dir="${pom.build.unitTestSourceDirectory}" >
- <ant:include name="${maven.jalopy.filesetInclude}" />
+ <ant:include name="${maven.jalopy.test.filesetInclude}" />
+ <ant:exclude name="${maven.jalopy.test.filesetExclude}" />
</ant:fileset>
</j:if>
</ant:jalopy>
1.5 +8 -0 maven-plugins/jalopy/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/maven-plugins/jalopy/plugin.properties,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- plugin.properties 4 Mar 2004 18:31:20 -0000 1.4
+++ plugin.properties 7 Jul 2004 15:59:27 -0000 1.5
@@ -25,3 +25,11 @@
maven.jalopy.nbThread=1
maven.jalopy.failOnError=true
maven.jalopy.filesetInclude=**/*.java
+maven.jalopy.filesetExclude=
+
+maven.jalopy.src.filesetInclude=${maven.jalopy.filesetInclude}
+maven.jalopy.src.filesetExclude=${maven.jalopy.filesetExclude}
+
+maven.jalopy.test.filesetInclude=${maven.jalopy.filesetInclude}
+maven.jalopy.test.filesetExclude=${maven.jalopy.filesetExclude}
+
1.12 +2 -1 maven-plugins/jalopy/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/jalopy/xdocs/changes.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- changes.xml 5 Jul 2004 08:05:28 -0000 1.11
+++ changes.xml 7 Jul 2004 15:59:27 -0000 1.12
@@ -25,7 +25,8 @@
</properties>
<body>
<release version="1.3" date="In CVS">
- <action dev="dion" type="update">Move to jalopy 1.0b11</action>
+ <action dev="evenisse" type="update" issue="MPJALOPY-5">Add some exclude
properties.</action>
+ <action dev="evenisse" type="update">Move to jalopy 1.0b11</action>
</release>
<release version="1.2" date="2004-05-15"></release>
<release version="1.1" date="2003-09-29">
1.3 +42 -1 maven-plugins/jalopy/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven-plugins/jalopy/xdocs/properties.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- properties.xml 4 Mar 2004 18:31:21 -0000 1.2
+++ properties.xml 7 Jul 2004 15:59:27 -0000 1.3
@@ -27,6 +27,7 @@
<body>
<section name="Jalopy Settings">
<table>
+ <tr><th>Property</th><th>Optional?</th><th>Description</th></tr>
<tr>
<td>maven.jalopy.fileFormat</td>
<td>Yes</td>
@@ -84,9 +85,49 @@
<td>maven.jalopy.filesetInclude</td>
<td>Yes</td>
<td>
- Specifies a fileset source file to format. Defaults to "**/*.java".
+ Specifies a fileset source file to format. Defaults to
<code>**/*.java</code>.
</td>
</tr>
+ <tr>
+ <td>maven.jalopy.filesetExclude</td>
+ <td>Yes</td>
+ <td>
+ Source files excluded from format. Default: empty.
+ </td>
+ </tr>
+ <tr>
+ <td>maven.jalopy.src.filesetInclude</td>
+ <td>Yes</td>
+ <td>
+ For <code>src/java</code> directory. Specifies a fileset source file to
format.
+ Defaults to <code>${maven.jalopy.filesetInclude}</code>.
+ </td>
+ </tr>
+ <tr>
+ <td>maven.jalopy.src.filesetExclude</td>
+ <td>Yes</td>
+ <td>
+ For <code>src/java</code> direcotry. Source files excluded from format.
+ Defaults to <code>${maven.jalopy.filesetExclude}</code>.
+ </td>
+ </tr>
+ <tr>
+ <td>maven.jalopy.test.filesetInclude</td>
+ <td>Yes</td>
+ <td>
+ For <code>src/test</code> directory. Specifies a fileset source file to
format.
+ Defaults to <code>${maven.jalopy.filesetInclude}</code>.
+ </td>
+ </tr>
+ <tr>
+ <td>maven.jalopy.test.filesetExclude</td>
+ <td>Yes</td>
+ <td>
+ For <code>src/test</code> direcotry. Source files excluded from format.
+ Defaults to <code>${maven.jalopy.filesetExclude}</code>.
+ </td>
+ </tr>
+
</table>
</section>
</body>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]