Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Incremental builders, when do they execute?
Incremental builders, when do they execute? [message #290429] Thu, 25 August 2005 13:36 Go to next message
Eclipse UserFriend
Originally posted by: thhal.mailblocks.com

I have an implementation of an IncrementalProjectBuilder. Its purpose is
to create a properties file that contains properties derived from
project meta-data, i.e. there's no IResource object that acts as the
source for the build.

I would like this builder to execute (on demand only, i.e. when I do a
"Build Project" manually) whenever the target file is missing or when it
is outdated with respect to the meta-data. My problem is that when I
issue the "Build Project", nothing happens. I can see that the
getCommand() method of the builder is called but after that, nothing.

What do I need to do in order to make the build framework understand
that my builder must execute under the desired conditions?

Regards,
Thomas Hallgren
Re: Incremental builders, when do they execute? [message #290506 is a reply to message #290429] Thu, 25 August 2005 19:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.eclipsefaq.org

See:

http://www.eclipse.org/articles/Article-Builders/builders.ht ml

In particular, see step 3: Decide if the builder needs to be invoked.
--

Thomas Hallgren wrote:
> I have an implementation of an IncrementalProjectBuilder. Its purpose is
> to create a properties file that contains properties derived from
> project meta-data, i.e. there's no IResource object that acts as the
> source for the build.
>
> I would like this builder to execute (on demand only, i.e. when I do a
> "Build Project" manually) whenever the target file is missing or when it
> is outdated with respect to the meta-data. My problem is that when I
> issue the "Build Project", nothing happens. I can see that the
> getCommand() method of the builder is called but after that, nothing.
>
> What do I need to do in order to make the build framework understand
> that my builder must execute under the desired conditions?
>
> Regards,
> Thomas Hallgren
Re: Incremental builders, when do they execute? [message #290512 is a reply to message #290506] Thu, 25 August 2005 19:56 Go to previous message
Eclipse UserFriend
Originally posted by: thhal.mailblocks.com

Thanks, that answers my question.

Regards,
Thomas Hallgren

John Arthorne wrote:
> See:
>
> http://www.eclipse.org/articles/Article-Builders/builders.ht ml
>
> In particular, see step 3: Decide if the builder needs to be invoked.
> --
>
> Thomas Hallgren wrote:
>
>> I have an implementation of an IncrementalProjectBuilder. Its purpose
>> is to create a properties file that contains properties derived from
>> project meta-data, i.e. there's no IResource object that acts as the
>> source for the build.
>>
>> I would like this builder to execute (on demand only, i.e. when I do a
>> "Build Project" manually) whenever the target file is missing or when
>> it is outdated with respect to the meta-data. My problem is that when
>> I issue the "Build Project", nothing happens. I can see that the
>> getCommand() method of the builder is called but after that, nothing.
>>
>> What do I need to do in order to make the build framework understand
>> that my builder must execute under the desired conditions?
>>
>> Regards,
>> Thomas Hallgren
Previous Topic:How to use Session Properties for existing projects
Next Topic:building workspace blocks user operation
Goto Forum:
  


Current Time: Mon Sep 23 06:54:27 GMT 2024

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

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

Back to the top