From 4bfab8a32536875bdfd5f436ffc1bb2f6b8d340a Mon Sep 17 00:00:00 2001 From: kaz Date: Mon, 26 May 2003 15:43:49 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113443 13f79535-47bb-0310-9956-ffa450edef68 --- aspectj/plugin.jelly | 9 +++++++-- aspectj/plugin.properties | 1 + aspectj/project.xml | 10 ++++++++++ aspectj/xdocs/properties.xml | 22 ++++++++++++++++------ 4 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 aspectj/plugin.properties diff --git a/aspectj/plugin.jelly b/aspectj/plugin.jelly index 9cf93f17..64232f6c 100644 --- a/aspectj/plugin.jelly +++ b/aspectj/plugin.jelly @@ -32,12 +32,17 @@ + + + optimize="${maven.compile.optimize}" + emacssym="${ajcEmacssymFlag}"> @@ -124,4 +129,4 @@ - \ No newline at end of file + diff --git a/aspectj/plugin.properties b/aspectj/plugin.properties new file mode 100644 index 00000000..186c7e8d --- /dev/null +++ b/aspectj/plugin.properties @@ -0,0 +1 @@ +maven.aspectj.ajc.option.emacssym=no diff --git a/aspectj/project.xml b/aspectj/project.xml index f450af4c..9bfbf25f 100644 --- a/aspectj/project.xml +++ b/aspectj/project.xml @@ -33,6 +33,16 @@ Java Developer + + Pete Kazmier + kaz + pete-apache-dev@kazmier.com + + + Java Developer + Documentation + + diff --git a/aspectj/xdocs/properties.xml b/aspectj/xdocs/properties.xml index 3cda720c..f2924511 100644 --- a/aspectj/xdocs/properties.xml +++ b/aspectj/xdocs/properties.xml @@ -14,12 +14,22 @@ Optional? Description + + maven.aspectj.ajc.option.emacssym + Yes + + When set to on, 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 off. + + maven.compile.debug Yes - Specifies wether to include debugging information in the compiled - class files; the default value is on. + Specifies whether to include debugging information in the + compiled class files; the default value is on. Used by the "java:compile" goal. @@ -27,9 +37,9 @@ maven.compile.deprecation Yes - Specifies wether source should be compiled with deprecation - information; the default value is off. - Used by the "java:compile" goal. + Specifies whether source should be compiled with deprecation + information; the default value is off. Used by + the "java:compile" goal. @@ -109,4 +119,4 @@ - \ No newline at end of file +