What does replace PRE_AUTO_BUILD? [message #107669] |
Sun, 19 October 2003 19:18  |
Eclipse User |
|
|
|
In Eclipse 2.1, I used to listen to the PRE_AUTO_BUILD (note that I could
have listen to POST_CHANGE) events broadcasted by Java delta to know about
modifications that were done in a compilation unit when this one was saved.
This allowed me to exactly know for sure what was modified.
Now in Eclipse 3.0 (M4), the only way to get the same information is to
listen to both POST_RECONCILE and POST_CHANGE. This is annoying because the
post change event no longer return the same information (see 1) and the
reconcile event occurs *very* frequently and gives me information I do not
want since it is sent as the user types in.
Do I miss something, or is there a pb in the POST_CHANGE event?
Estelle
(1) it stops at the compilation unit level, and it is not sent on save. Is
this a bug?
|
|
|
Re: What does replace PRE_AUTO_BUILD? [message #108103 is a reply to message #107669] |
Tue, 21 October 2003 05:35  |
Eclipse User |
|
|
|
Due to the following change in Platform/Core:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-core-home/d
ocuments/plan_concurrency_listeners.html, PRE_AUTO_BUILD support got
discontinued.
Another change that you're seeing is the fact that compilation units that
are opened in an editor are now fully integrated in the Java model (they are
called primary working copies). See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=36888 for more details. As a
consequence, the model is now updated on reconcile, and no longer on save.
So you should listen to POST_RECONCILE events to get the same information
you were seeing before.
Jerome
"Estelle Ringenbach" <estelle_ringenbach@yahoo.fr> wrote in message
news:bmv62r$u3r$1@eclipse.org...
> In Eclipse 2.1, I used to listen to the PRE_AUTO_BUILD (note that I could
> have listen to POST_CHANGE) events broadcasted by Java delta to know about
> modifications that were done in a compilation unit when this one was
saved.
> This allowed me to exactly know for sure what was modified.
>
> Now in Eclipse 3.0 (M4), the only way to get the same information is to
> listen to both POST_RECONCILE and POST_CHANGE. This is annoying because
the
> post change event no longer return the same information (see 1) and the
> reconcile event occurs *very* frequently and gives me information I do not
> want since it is sent as the user types in.
>
> Do I miss something, or is there a pb in the POST_CHANGE event?
>
> Estelle
>
> (1) it stops at the compilation unit level, and it is not sent on save. Is
> this a bug?
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06210 seconds