You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ka...@apache.org on 2003/05/26 17:43:49 UTC
cvs commit: maven/src/plugins-build/aspectj/xdocs properties.xml
kaz 2003/05/26 08:43:49
Modified: src/plugins-build/aspectj plugin.jelly project.xml
src/plugins-build/aspectj/xdocs properties.xml
Added: src/plugins-build/aspectj plugin.properties
Log:
Enhanced the AspectJ plugin to enable users to specify that emacs
symbols should be generated. This is important for users that rely on
the -emacssym ajc command line option. Specifically, the AspectJ emacs
minor mode uses these symbols (which is a very cool mode btw).
I've simply added a property called maven.aspectj.ajc.option.emacssym
which defaults to 'off' so there is no change in previous behavior of
the plugin. However, if you set this option to 'on', the aspectj
compile goal will generate the appropriate symbol information.
Documentation has been updated to reflect the change.
Revision Changes Path
1.4 +7 -2 maven/src/plugins-build/aspectj/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/aspectj/plugin.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin.jelly 30 Mar 2003 16:17:20 -0000 1.3
+++ plugin.jelly 26 May 2003 15:43:49 -0000 1.4
@@ -32,12 +32,17 @@
<j:set var="aspectjCompileNotRequired" value="${aspectj.compile.notRequired}"/>
<j:if test="${aspectjCompileNotRequired == null}">
+ <j:set
+ var="ajcEmacssymFlag"
+ value="${maven.aspectj.ajc.option.emacssym}"/>
+
<ant:ajc
destdir="${maven.build.dest}"
excludes="**/package.html"
debug="${maven.compile.debug}"
deprecation="${maven.compile.deprecation}"
- optimize="${maven.compile.optimize}">
+ optimize="${maven.compile.optimize}"
+ emacssym="${ajcEmacssymFlag}">
<ant:src>
<ant:path refid="maven.compile.src.set"/>
@@ -124,4 +129,4 @@
</goal>
-</project>
\ No newline at end of file
+</project>
1.10 +10 -0 maven/src/plugins-build/aspectj/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/aspectj/project.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- project.xml 9 Apr 2003 01:06:44 -0000 1.9
+++ project.xml 26 May 2003 15:43:49 -0000 1.10
@@ -33,6 +33,16 @@
<role>Java Developer</role>
</roles>
</developer>
+ <developer>
+ <name>Pete Kazmier</name>
+ <id>kaz</id>
+ <email>pete-apache-dev@kazmier.com</email>
+ <organization></organization>
+ <roles>
+ <role>Java Developer</role>
+ <role>Documentation</role>
+ </roles>
+ </developer>
</developers>
<dependencies>
<dependency>
1.1 maven/src/plugins-build/aspectj/plugin.properties
Index: plugin.properties
===================================================================
maven.aspectj.ajc.option.emacssym=no
1.3 +16 -6 maven/src/plugins-build/aspectj/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/aspectj/xdocs/properties.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- properties.xml 19 Mar 2003 06:01:18 -0000 1.2
+++ properties.xml 26 May 2003 15:43:49 -0000 1.3
@@ -15,11 +15,21 @@
<th>Description</th>
</tr>
<tr>
+ <td>maven.aspectj.ajc.option.emacssym</td>
+ <td>Yes</td>
+ <td>
+ When set to <code>on</code>, instructs the AspectJ compiler
+ to generate emacs symbols. Users taking advantage of the
+ AspectJ-emacs minor mode will want to specify this option.
+ The default value is <code>off</code>.
+ </td>
+ </tr>
+ <tr>
<td>maven.compile.debug</td>
<td>Yes</td>
<td>
- Specifies wether to include debugging information in the compiled
- class files; the default value is <code>on</code>.
+ Specifies whether to include debugging information in the
+ compiled class files; the default value is <code>on</code>.
Used by the "java:compile" goal.
</td>
</tr>
@@ -27,9 +37,9 @@
<td>maven.compile.deprecation</td>
<td>Yes</td>
<td>
- Specifies wether source should be compiled with deprecation
- information; the default value is <code>off</code>.
- Used by the "java:compile" goal.
+ Specifies whether source should be compiled with deprecation
+ information; the default value is <code>off</code>. Used by
+ the "java:compile" goal.
</td>
</tr>
<tr>
@@ -109,4 +119,4 @@
</table>
</section>
</body>
-</document>
\ No newline at end of file
+</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org