Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Calling build from within the eclipse api
Calling build from within the eclipse api [message #690376] Wed, 29 June 2011 12:54 Go to next message
john doe is currently offline john doeFriend
Messages: 74
Registered: June 2011
Member
Hi,
I have gone into my eclipse settings (Window -> Preferences -> General -> Workspace) and unchecked the option 'build automatically'. I would like to call the build function for a project from within code. Can this be done via the api?
Thank you
Re: Calling build from within the eclipse api [message #690624 is a reply to message #690376] Wed, 29 June 2011 20:51 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4489
Registered: July 2009
Senior Member

On 6/29/2011 8:54 AM, john doe wrote:
> Hi,
> I have gone into my eclipse settings (Window -> Preferences -> General
> -> Workspace) and unchecked the option 'build automatically'. I would
> like to call the build function for a project from within code. Can this
> be done via the api?

Yes, from org.eclipse.core.resources.IProject . There are precious few
circumstances where invoking the build from your own plug-in is
desirable, though.

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Calling build from within the eclipse api [message #690845 is a reply to message #690624] Thu, 30 June 2011 10:13 Go to previous message
john doe is currently offline john doeFriend
Messages: 74
Registered: June 2011
Member
Thanks!
Previous Topic:error building scala project
Next Topic:Eclipse source code
Goto Forum:
  


Current Time: Thu Sep 19 14:35:59 GMT 2024

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

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

Back to the top