Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] Differences between a FULL_BUILD and a CLEAN_BUILD


See answers below...

Pat McCarthy wrote on 04/23/2004 09:55:59 AM:
>
> Trying to make sure I understand the expectation on a builder when
> the different build events are triggered - especially with the
> changes in this area for 3.0.
>
> Based on reading the Javadoc for getDelta(),  it seems appropriate
> to assume that in the case where an AUTO_BUILD or INCREMENTAL_BUILD
> is triggered and a null IResourceDelta is returned that processing
> similar to a FULL_BUILD is required (not shown above). Agreed?


Yes., this has always been the recommendation. See the example in the Platform Plugin Developer Guide, under Programmer's Guide > Resource and workspace API > Incremental project builders.  When the delta is null you should do the same as a full build.

> Is there a trigger point for starting a FULL_BUILD anymore in 3.0?  
> My read of https://bugs.eclipse.org/bugs/show_bug.cgi?id=57321 tells
> me that the UI in M8 is close to complete and the option to add the
> 2.1 actions back is temporary - they will not be there in the final
> build of Eclipse 3.0.  Or is there something I've missed in the
> changes you have made for 3.0 build invocations?

The behaviour here has changed since M8.  Now, the build immediately following a clean will have the FULL_BUILD trigger. Clean followed by Build is now exactly equivalent to the old "Rebuild" (full build) action. The builder can optionally implement special clean behaviour, such as deleting derived resources, but this is not required.


Back to the top