[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] JAVA5 Annotations
|
Title: Message
Hi
Rodrigo,
Java 5
is the release *after* J2re1.4.1_02. Annotations are only available in
Java 5. Therefore you should upgrade your version of java to the latest
version (may be called Java 5 / Java 1.5 / j2re_1.5 - they all mean the
same thing).
The
simple answer is yes the problem is in using J2re1.4.1_02, because this does NOT
support annotations. NB - There is a later version called J2re1.4.2 which
also does not support annotations - so avoid this one as
well.
Regards,
Fintan
Hello!
I'm trying to write an aspect that contains a pointcut that captures JAVA5 Annotations. I also have a couple of classes annotated.
I'm getting some nasty messages from ajc when it comes to processing the
Annotations.
I was wondering if you need to import the java.lang.annotation.*; package
in order to process the annotations. So I included the afforementioned import
in the code but ajc says it cannot resolve the package.
I'm running ajc on a somewhat old machine with J2RE1.4.1_02 (also
somewhat old), and I'm using AspectJ 1.5.0 M1 running on a MS-DOS Shell.
So, is the problem in using J2RE1.4.1_02 or on the innability of ajc in
getting java.lang.annotation.*; ?
I would appreciate if someone could help.
Thanks!
Rodrigo
__________________________________________________
Converse com seus
amigos em tempo real com o Yahoo! Messenger
http://br.download.yahoo.com/messenger/
* ** *** ** * ** *** ** * ** *** ** *
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.
Any views or opinions presented are solely those of the author, and do not necessarily
represent those of ESB.
If you have received this email in error please notify the sender.
Although ESB scans e-mail and attachments for viruses, it does not guarantee
that either are virus-free and accepts no liability for any damage sustained
as a result of viruses.
* ** *** ** * ** *** ** * ** *** ** *