Author: vmassol Date: Mon Apr 25 06:20:17 2005 New Revision: 164570 URL: http://svn.apache.org/viewcvs?rev=164570&view=rev Log: MPASPECTJ-19: Add support for <code>iajc</code>'s <code>messageHolderClass</code> attribute and added <code>maven.dependency.classpath</code> to the <code>iajc</code>'s taskdef so that custom message holder classes will be found at execution time.
Modified: maven/maven-1/plugins/trunk/aspectj/plugin.jelly maven/maven-1/plugins/trunk/aspectj/xdocs/changes.xml maven/maven-1/plugins/trunk/aspectj/xdocs/properties.xml Modified: maven/maven-1/plugins/trunk/aspectj/plugin.jelly URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/aspectj/plugin.jelly?rev=164570&r1=164569&r2=164570&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/aspectj/plugin.jelly (original) +++ maven/maven-1/plugins/trunk/aspectj/plugin.jelly Mon Apr 25 06:20:17 2005 @@ -2,7 +2,7 @@ <!-- /* - * Copyright 2001-2004 The Apache Software Foundation. + * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,6 +58,10 @@ source="${maven.aspectj.source}" time="${maven.aspectj.time}"> + <j:if test="${context.getVariable('maven.aspectj.messageHolder') != null}"> + <ant:setProperty name="messageHolderClass" value="${maven.aspectj.messageHolder}"/> + </j:if> + <j:if test="${context.getVariable('maven.aspectj.fork') == true}"> <j:if test="${context.getVariable('maven.aspectj.maxmem') != null}"> <ant:setProperty name="maxmem" value="${maven.aspectj.maxmem}" /> @@ -141,6 +145,7 @@ <ant:taskdef resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties"> <ant:classpath> <ant:pathelement path="${plugin.getDependencyPath('aspectj:aspectjtools')}"/> + <ant:path refid="maven.dependency.classpath"/> </ant:classpath> </ant:taskdef> Modified: maven/maven-1/plugins/trunk/aspectj/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/aspectj/xdocs/changes.xml?rev=164570&r1=164569&r2=164570&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/aspectj/xdocs/changes.xml (original) +++ maven/maven-1/plugins/trunk/aspectj/xdocs/changes.xml Mon Apr 25 06:20:17 2005 @@ -28,6 +28,12 @@ </properties> <body> <release version="3.3-SNAPSHOT" date="in CVS"> + <action dev="vmassol" type="update" issue="MPASPECTJ-19"> + Add support for <code>iajc</code>'s <code>messageHolderClass</code> attribute + and added <code>maven.dependency.classpath</code> to the + <code>iajc</code>'s taskdef so that custom message holder classes will be + found at execution time. + </action> <action dev="carlos" type="update">Now using AspectJ 1.2.1 release.</action> </release> <release version="3.2" date="2004-10-06"> Modified: maven/maven-1/plugins/trunk/aspectj/xdocs/properties.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/aspectj/xdocs/properties.xml?rev=164570&r1=164569&r2=164570&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/aspectj/xdocs/properties.xml (original) +++ maven/maven-1/plugins/trunk/aspectj/xdocs/properties.xml Mon Apr 25 06:20:17 2005 @@ -166,6 +166,16 @@ Defaults to <code>warning</code>. </td> </tr> + + <tr> + <td>maven.aspectj.messageHolder</td> + <td>Yes</td> + <td> + Specify a class to use as the message holder for the compile process. The entry must be + a fully-qualified name of a class complying with the <code>org.aspectj.bridge.IMessageHolder</code> + interface and having a public no-argument constructor. + </td> + </tr> </table> </section> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]