Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Fire IncrementalProjectBuilder on Eclipse launch
Fire IncrementalProjectBuilder on Eclipse launch [message #493231] Fri, 23 October 2009 17:55 Go to next message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi all,

I've implemented an IncrementalProjectBuilder, which works when a resource changes in a project. How do I cause the builder to be run during Eclipse startup? This doesn't seem to be happening automatically...

Apologies if this has been asked before; I couldn't find an answer after Googling for quite some time.

Many thanks,
Louis.
Re: Fire IncrementalProjectBuilder on Eclipse launch [message #493242 is a reply to message #493231] Fri, 23 October 2009 19:20 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Louis Rose wrote:
> I've implemented an IncrementalProjectBuilder, which works when a
> resource changes in a project. How do I cause the builder to be run
> during Eclipse startup? This doesn't seem to be happening automatically...

IProject.buid() should call all the builders on the project. (if you
really have to, then) You can extend the o.e.ui.startup to run it at
startup.

- Prakash

Platform UI Team, IBM
http://blog.eclipse-tips.com
Re: Fire IncrementalProjectBuilder on Eclipse launch [message #493284 is a reply to message #493242] Sat, 24 October 2009 09:24 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Thanks Prakash, I'll take the IStartUp route. Just wanted to check there wasn't a way to achieve this with builder API.
Previous Topic:Java file mapping to there generated class files in Eclipse 2.0, 2.1 and 3.0 versions
Next Topic:Command line building with antRunner and "external" in bundle-classpath
Goto Forum:
  


Current Time: Tue Mar 19 08:02:15 GMT 2024

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

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

Back to the top