diff options
author | acolyer <acolyer> | 2006-05-16 12:30:08 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2006-05-16 12:30:08 +0000 |
commit | fc7db25dad5d302221669c7cfdb4890f061d2e9e (patch) | |
tree | 234bc8313ac7902b28f38792200592be012c5844 /tests | |
parent | b14d5e8a49519156f711d9e6ee15a6ff6c729b69 (diff) | |
download | aspectj-fc7db25dad5d302221669c7cfdb4890f061d2e9e.tar.gz aspectj-fc7db25dad5d302221669c7cfdb4890f061d2e9e.zip |
fix for pr141945, misleading message re. aop.xml
Diffstat (limited to 'tests')
-rw-r--r-- | tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java b/tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java index caa4a9ac7..3bb30da74 100644 --- a/tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java +++ b/tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java @@ -37,7 +37,7 @@ public class MainReweavableLogging implements Advisable { } public static void main (String[] args) { - String ERROR_STRING = "error aspect 'ataspectj.ltwreweavable.AspectReweavableLogging' woven into 'ataspectj.ltwreweavable.MainReweavableLogging' must be declared in an aop.xml file."; + String ERROR_STRING = "error aspect 'ataspectj.ltwreweavable.AspectReweavableLogging' woven into 'ataspectj.ltwreweavable.MainReweavableLogging' must be defined to the weaver (placed on the aspectpath, or defined in an aop.xml file if using LTW)."; if(Boolean.getBoolean("aspectDeclared")){ //if the aspect is declared there should not be an error if (MessageHolder.startsAs( Arrays.asList( new String[]{ ERROR_STRING } )) ) { |