vmassol 2003/12/26 04:55:20
Modified: aspectwerkz plugin.jelly plugin.properties
aspectwerkz/xdocs properties.xml
aspectwerkz/src/plugin-test project.properties
Log:
Added support for definition validation
Revision Changes Path
1.4 +3 -0 maven-plugins/aspectwerkz/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/aspectwerkz/plugin.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin.jelly 25 Dec 2003 20:47:57 -0000 1.3
+++ plugin.jelly 26 Dec 2003 12:55:20 -0000 1.4
@@ -23,6 +23,9 @@
<ant:java dir="${maven.build.dir}" failonerror="true" fork="true"
classname="org.codehaus.aspectwerkz.metadata.AttributeC">
+ <sysproperty key="aspectwerkz.definition.validate"
+ value="${maven.aspectwerkz.definition.validate}"/>
+
<ant:arg file="${maven.aspectwerkz.src.dir}"/>
<ant:arg file="${maven.aspectwerkz.build.definition.file}"/>
<j:if test="${context.getVariable('maven.aspectwerkz.definition.merge.file')
!= null}">
1.3 +3 -0 maven-plugins/aspectwerkz/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/maven-plugins/aspectwerkz/plugin.properties,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- plugin.properties 25 Dec 2003 20:47:57 -0000 1.2
+++ plugin.properties 26 Dec 2003 12:55:20 -0000 1.3
@@ -5,6 +5,9 @@
# attribute compilation (when calling <aspectwerkz:attributeC>).
maven.aspectwerkz.build.definition.file = ${maven.build.dir}/aspectwerkz.xml
+# Decide whether definition validation is turned on or off.
+maven.aspectwerkz.definition.validate = false
+
# (optional). Definition file to be merged with the main definition file.
# Used by the <aspectwerkz:attributeC> goal.
# maven.aspectwerkz.definition.merge.file =
1.3 +8 -0 maven-plugins/aspectwerkz/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven-plugins/aspectwerkz/xdocs/properties.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- properties.xml 25 Dec 2003 20:47:57 -0000 1.2
+++ properties.xml 26 Dec 2003 12:55:20 -0000 1.3
@@ -32,6 +32,14 @@
</td>
</tr>
<tr>
+ <td>maven.aspectwerkz.definition.validate</td>
+ <td>Yes</td>
+ <td>
+ Decide whether definition validation is turned on or off.
+ Defaults to <code>false</code>.
+ </td>
+ </tr>
+ <tr>
<td>maven.aspectwerkz.definition.merge.file</td>
<td>Yes</td>
<td>
1.3 +1 -0 maven-plugins/aspectwerkz/src/plugin-test/project.properties
Index: project.properties
===================================================================
RCS file: /home/cvs/maven-plugins/aspectwerkz/src/plugin-test/project.properties,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- project.properties 25 Dec 2003 20:47:58 -0000 1.2
+++ project.properties 26 Dec 2003 12:55:20 -0000 1.3
@@ -4,3 +4,4 @@
maven.aspectwerkz.uuid = test
maven.aspectwerkz.definition.merge.file = ${basedir}/conf/aspectwerkz.xml
+maven.aspectwerkz.definition.validate = true
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]