You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by vm...@apache.org on 2004/05/10 20:23:06 UTC
cvs commit: maven-plugins/aspectj plugin.jelly plugin.properties
vmassol 2004/05/10 11:23:06
Modified: aspectj/xdocs changes.xml properties.xml
aspectj plugin.jelly plugin.properties
Log:
Applied MPASPECTJ-9
Revision Changes Path
1.11 +4 -0 maven-plugins/aspectj/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/aspectj/xdocs/changes.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- changes.xml 7 May 2004 19:19:10 -0000 1.10
+++ changes.xml 10 May 2004 18:23:05 -0000 1.11
@@ -28,6 +28,10 @@
</properties>
<body>
<release version="3.0" date="in CVS">
+ <action dev="vmassol" type="add" issue="MPASPECTJ-9" due-to="Carlos Sanchez" due-to-email="carlossg@users.sourceforge.net">
+ Added new <code>maven.aspectj.fork</code> and
+ <code>maven.aspectj.maxmem</code> properties.
+ </action>
<action dev="vmassol" type="update" issue="MPASPECTJ-8" due-to="Carlos Sanchez" due-to-email="carlossg@users.sourceforge.net">
Another almost complete rewrite of the plugin. The plugin is now
using AspectJ 1.2rc1 and allows weaving at class level (instead of
1.7 +23 -0 maven-plugins/aspectj/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven-plugins/aspectj/xdocs/properties.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- properties.xml 7 May 2004 19:19:10 -0000 1.6
+++ properties.xml 10 May 2004 18:23:05 -0000 1.7
@@ -84,6 +84,29 @@
</td>
</tr>
+ <tr>
+ <td>maven.aspectj.fork</td>
+ <td>Yes</td>
+ <td>
+ Run process in another VM. This gets the forking classpath either explicitly
+ from a forkclasspath entry or by searching the task or system/Ant classpath
+ for the first readable file with a name of the form aspectj{-}tools{.*}.jar.
+ When forking you can specify the amount of memory used with maxmem. Fork cannot
+ be used in incremental mode, unless using a tag file.<br/>
+ Default <code>false</code>
+ </td>
+ </tr>
+
+ <tr>
+ <td>maven.aspectj.maxmem</td>
+ <td>Yes</td>
+ <td>
+ The maximum memory to use for the new VM when fork is true. Values should have
+ the same form as accepted by the VM, e.g., "128m".
+ Default <code>128m</code>
+ </td>
+ </tr>
+
</table>
</section>
1.11 +4 -2 maven-plugins/aspectj/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/aspectj/plugin.jelly,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- plugin.jelly 7 May 2004 22:58:19 -0000 1.10
+++ plugin.jelly 10 May 2004 18:23:05 -0000 1.11
@@ -95,8 +95,10 @@
<j:if test="${shouldWeave == 'true'}">
- <ant:iajc fork="false"
- incremental="{maven.aspectj.incremental}"
+ <ant:iajc
+ fork="${maven.aspectj.fork}"
+ maxmem="${maven.aspectj.maxmem}"
+ incremental="${maven.aspectj.incremental}"
destDir="${maven.build.dest}"
sourceRootCopyFilter="${maven.aspectj.sourceRootCopyFilter}"
debug="${maven.aspectj.debug}"
1.5 +11 -0 maven-plugins/aspectj/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/maven-plugins/aspectj/plugin.properties,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- plugin.properties 7 May 2004 19:19:10 -0000 1.4
+++ plugin.properties 10 May 2004 18:23:05 -0000 1.5
@@ -34,3 +34,14 @@
# incremental mode: Build once, then recompile only required source files
# when user provides input.
maven.aspectj.incremental = false
+
+# Run process in another VM. This gets the forking classpath either explicitly
+# from a forkclasspath entry or by searching the task or system/Ant classpath
+# for the first readable file with a name of the form aspectj{-}tools{.*}.jar.
+# When forking you can specify the amount of memory used with maxmem. Fork cannot
+# be used in incremental mode, unless using a tag file.
+maven.aspectj.fork = false
+
+# The maximum memory to use for the new VM when fork is true. Values should
+# have the same form as accepted by the VM, e.g., "128m".
+maven.aspectj.maxmem = 128m
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org