Browse Source

improved handling of optional joinpoints argument processing. and updated usage text to correct an error.

tags/V1_5_2rc1
aclement 18 years ago
parent
commit
a5b3183051

+ 2
- 2
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java View File

@@ -537,8 +537,8 @@ public class BuildArgParser extends Main {
buildConfig.setAddSerialVerUID(true);
} else if (arg.equals("-Xdev:Pinpoint")) {
buildConfig.setXdevPinpointMode(true);
} else if (arg.equals("-Xjoinpoints:arrayconstruction")) {
buildConfig.setXJoinpoints("arrayconstruction");
} else if (arg.startsWith("-Xjoinpoints:")) {
buildConfig.setXJoinpoints(arg.substring(13));
} else if (arg.equals("-noWeave") || arg.equals( "-XnoWeave")) {
showWarning("the noweave option is no longer required and is being ignored");
} else if (arg.equals( "-XterminateAfterCompilation")) {

+ 5
- 2
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/messages.properties View File

@@ -134,10 +134,13 @@ xoption.usage = {0} non-standard options:\n\
\t-XterminateAfterCompilation compile classes then terminate before weaving\n\
\t-XaddSerialVersionUID calculates and adds the serialVersionUID to any\n\
\t serializable type woven by an aspect\n\
\t-Xajruntimelevel:<level> allows code to be generated that targets\n\
\t-Xajruntimetarget:<level> allows code to be generated that targets\n\
\t a 1.2 or a 1.5 level AspectJ runtime (default 1.5)\n\
\t-XhasMember allow hasmethod() and hasfield type patterns in\n\
\t declare parents and declare @type\n
\t declare parents and declare @type\n\
\t-Xjoinpoints: supply a comma separated list of new joinpoints\n\
\t that can be identified by pointcuts. Values are:\n\
\t arrayconstruction, synchronization\n
## options not documented above (per ..ajdt.ajc.BuildArgParser.java):
# -XincrementalFile, -XjavadocsInModel


Loading…
Cancel
Save