Hello.
No, I am not aware of such a switch and in fact I am not sure why ajc
does not give you an error as well. Why should it not be an error to
reference a type which does not exist? It's certainly an error in any
Java program.
Eric
From: Majordomo list server [mailto:majordomo@comlab.ox.ac.uk] On Behalf
Of Thiago Bartolomei
Sent: Tuesday, August 29, 2006 7:48 AM
To: abc-users@comlab.ox.ac.uk
Subject: [abc-users] Warning instead of error when type is not found
Hi,
abc sends an error when a type is not found in some pointcuts, where ajc
would just emit a warning. The following code, for example:
public aspect MyAspect {
pointcut foo() : this(AClass);
}
Since AClass does not exist in the system, abc throws a "Could not find
advice formal or type "AClass"", while ajc just gives a warning. Is it
possible to send a command line argument to abc, so that this error
becomes a warning? I read the pdf with the command line options but
could not find that.
Best regards,
Thiago
Received on Tue Sep 05 17:47:18 2006
This archive was generated by hypermail 2.1.8 : Tue Sep 12 2006 - 10:30:07 BST