Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » What does replace PRE_AUTO_BUILD?
What does replace PRE_AUTO_BUILD? [message #107669] Sun, 19 October 2003 19:18 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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?
>
>
>
Previous Topic:Why a new source formatter in M4?
Next Topic:Source exclusion filters
Goto Forum:
  


Current Time: Thu Jul 17 17:11:39 EDT 2025

Powered by FUDForum. Page generated in 0.06210 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top