Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] declare error



We have had the same problem with -outjar (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=71339). My view is that we
should not generate or remove class files for which there are errors. WRT
incremental compilation we should behave like the JDT because that is what
people are familiar with.

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/

"Wes Isberg" <wes@xxxxxxxxxxxxxx>@eclipse.org on 17/03/2005 14:20:52

Please respond to aspectj-users@xxxxxxxxxxx

Sent by:    aspectj-users-admin@xxxxxxxxxxx


To:    aspectj-users@xxxxxxxxxxx
cc:
Subject:    Re: [aspectj-users] declare error


Compilation *is* aborted after errors, but the .class files are
already written.  This should be submitted as a bug, at least to
be documented, if not to recommend deleting .class files after a
compile fails.  (There are some interactions with incremental
compilation to consider.)

Wes

------------Original Message------------
From: "Nadia Guerroumi" <n_guerro@xxxxxxxxxxxxxxxx>
To: aspectj-users@xxxxxxxxxxx
Date: Thu, Mar-17-2005 6:07 AM
Subject: Re: [aspectj-users] declare error
It generates the two class files, one for the aspect and the other for the
class where the error occurs.

If you say that weaving is done clearly separated after compilation it
seems to be normal to have the class files. Effectively, I forgot that the
weaving in aspectJ is done on the byte code!!!

So we can not say that declare error is a custom compilation as I read in
some papers because in usual  compilation, where there are errors, the
compiltation is aborted.

Thank you,

NAdia


----- Original Message -----
From: Eric Bodden
To: aspectj-users@xxxxxxxxxxx
Sent: Wednesday, March 16, 2005 11:48 PM
Subject: Re: [aspectj-users] declare error


Hi.

What classfile dows it generate? The one of the aspect or the one of the
class the error occurs in? Since normally "declare error" is evaluated
during matching, which is done during weaving, which is done clearly
separated after compilation, I would assume it to be normal actually...

Eric
----- Original Message -----
From: Nadia Guerroumi
To: aspectj-users@xxxxxxxxxxx
Sent: Wednesday, March 16, 2005 8:32 AM
Subject: [aspectj-users] declare error


I am trying the declare error of AspectJ1.2. The compiler declares the
error but generates the class file?? Is it normal??


thank you very much,
Nadia.


============================================================
Nadia Belblidia-Guerroumi,
Ph.D Candidate, ECE Department,
Concordia University, 1425 Rene Levesque
Room 420-16
email:n_guerro@xxxxxxxxxxxxxxxx
==============================================================

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users




Back to the top