This seems like expected behavior to me,
but perhaps I’m not understanding your use case exactly right. If you
modified the annotated input class and remove the error, does the generated
class get re-generated?
-Jess
From:
jdt-apt-dev-bounces@xxxxxxxxxxx [mailto:jdt-apt-dev-bounces@xxxxxxxxxxx] On Behalf Of Mickaël Rifflard
Sent: Tuesday, August 22, 2006
9:15 AM
To: jdt-apt-dev@xxxxxxxxxxx
Subject: [jdt-apt-dev] Automatic
suppression of generated class
Hi all,
After performing some tests with JDT-APT in Eclipse 3.2, I have this issue :
I have an annotated class as input
APT-JDT generate a new class from this input class
This generation is performed in an AnnotationProcessor using Filer.createSourceFile()
method
The annotated input class is modified with an error
The generated class is deleted
Is it a JDT APT bug ? Is it a bad usage ?
Thanks for your responses
Mickaël
_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and affiliated
entities, that may be confidential, proprietary, copyrighted and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.
|