Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [jdt-apt-dev] Automatic suppression of generated class

Is there anything showing up in the error log?  Sometimes an exception thrown from the processor can cause it to fail seemingly silently.
 
Does it get regenerated if you do a clean?
 
Doing a rebuild of correct code should cause the expected generated types to be regenerated.  If it's not, it's possibly an APT bug; it will be hard to tell without looking at the specific example, so please feel free to enter a bug report in Bugzilla with a sample processor that demonstrates the problem.
 
  -Walter Harley
   JDT APT team


From: jdt-apt-dev-bounces@xxxxxxxxxxx [mailto:jdt-apt-dev-bounces@xxxxxxxxxxx] On Behalf Of Mickaël Rifflard
Sent: Wednesday, August 23, 2006 4:51 AM
To: Eclipse JDT Apt developers list.
Subject: Re: [jdt-apt-dev] Automatic suppression of generated class

No, the generated class is not re-generated.

Mickaël

2006/8/22, Jess Garms <jgarms@xxxxxxx>:

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.

_______________________________________________
jdt-apt-dev mailing list
jdt-apt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-apt-dev




Back to the top