|Re: file updates and rebuilds. [message #997619 is a reply to message #997618]
||Tue, 08 January 2013 10:03
| Ronald Krijgsheld
Registered: November 2010
I was just wondering if this could cause unnecessary building.
(From the top of my head, don't have the code here)
I think the implementation of afterFileUpdate() calls
context.needRebuild(). I would expect that that is not necessary when no
changes were made.
But as I understand your answer it serves to keep the generated files
list in sync also.
BTW. your answer did not show up in the forum. But I think that is a
On 7-1-2013 18:13, Sebastian Zarnekow wrote:
> Am 07.01.13 10:13, schrieb Ronald Krijgsheld:
>> Hi All,
>> Not sure if this the right place to ask. But, I was looking at the
>> implementation of EclipseResourceFileSystemAccess2.generateFile() and I
>> noticed that calling the afterFileUpdate() on the callback is always
>> called and not only when hasContentsChanged() is there a reason for this?
> It's used to keep track of files that will be regenerated, or in other
> words: The callback helps to get rid of stale, generated files. Why are
> you asking?
Powered by FUDForum
. Page generated in 0.02299 seconds