Incremental builders, when do they execute? [message #290429] |
Thu, 25 August 2005 13:36 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03859 seconds