Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Custom builders are not invoked in headless build
Custom builders are not invoked in headless build [message #526246] Fri, 09 April 2010 07:13 Go to next message
Maciej Oledzki is currently offline Maciej Oledzki
Messages: 23
Registered: July 2009
Junior Member
It's very strange situation for me. If I click right mouse button on project and then chose Buckminster/Invoke action/eclipse.build everything works fine, the right builder is invoked.

But during headless build (on other machine) the same custom builder is not invoked. There is no error during build process, final product is created, but unfortunately it doesn't work, because of lack of builder results.

I'm using buckminister 1.2.0.r11379 on headless build, and 1.1 .x on local build.
Re: Custom builders are not invoked in headless build [message #526257 is a reply to message #526246] Fri, 09 April 2010 07:54 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2498
Registered: July 2009
Senior Member
When you are running headless, automatic building of workspace is turned
off. You have to issue a build command to make all ws builders run after
you have imported everything, but before you run the buckminster action.
(I.e it works as in the IDE with auto build off)

- henrik

Maciej Oledzki <maciej.oledzki@gmail.com> wrote:
> It's very strange situation for me. If I click right mouse button on
> project and then chose Buckminster/Invoke action/eclipse.build
> everything works fine, the right builder is invoked.
>
> But during headless build (on other machine) the same custom builder
> is not invoked. There is no error during build process, final product
> is created, but unfortunately it doesn't work, because of lack of
> builder results.
>
> I'm using buckminister 1.2.0.r11379 on headless build, and 1.1 .x on
> local build.
>


--
- henrik
Re: Custom builders are not invoked in headless build [message #526263 is a reply to message #526257] Fri, 09 April 2010 08:11 Go to previous messageGo to next message
Maciej Oledzki is currently offline Maciej Oledzki
Messages: 23
Registered: July 2009
Junior Member
I have auto-builds turned off in my local eclipse, and despite of this eclipse.build action invoke my custom builder.

Additionally during headless build I perform build command before invoking perform action.
Re: Custom builders are not invoked in he adless build [message #526275 is a reply to message #526263] Fri, 09 April 2010 08:36 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2498
Registered: July 2009
Senior Member
Ok,
Sounds like it is not one of the obvious problems. Hope someone else has
more troubleshooting hints...

- henrik

Maciej Oledzki <maciej.oledzki@gmail.com> wrote:
> I have auto-builds turned off in my local eclipse, and despite of this
> eclipse.build action invoke my custom builder.
>
> Additionally during headless build I perform build command before
> invoking perform action.
>


--
- henrik
Re: Custom builders are not invoked in headless build [message #526295 is a reply to message #526263] Fri, 09 April 2010 10:16 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3214
Registered: July 2009
Senior Member
Hi Maciej,
What kind of custom build is it? Please note that some custom builders have UI dependencies (the external tools builder
is one) and are disabled in a headless environment for that reason.

Buckminster provides it's own ant launcher to partly remedy that situation. Is that what you need a custom builder for?

Regards,
Thomas Hallgren



On 04/09/2010 02:11 PM, Maciej Oledzki wrote:
> I have auto-builds turned off in my local eclipse, and despite of this
> eclipse.build action invoke my custom builder.
>
> Additionally during headless build I perform build command before
> invoking perform action.
Re: Custom builders are not invoked in headless build [message #526351 is a reply to message #526295] Fri, 09 April 2010 14:47 Go to previous messageGo to next message
Maciej Oledzki is currently offline Maciej Oledzki
Messages: 23
Registered: July 2009
Junior Member
Hi Thomas,

This custom build is Ant script, so it looks that buckminster ant launcher should solve my problem.
How can I use it?

BR
Maciej
Re: Custom builders are not invoked in headless build [message #526379 is a reply to message #526351] Fri, 09 April 2010 18:09 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3214
Registered: July 2009
Senior Member
Hi Maciej,
This part is just being added to our documentation (not yet released). Until it's out, you'll have to do with the
information that you find here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=296994#c0

and, if anything is unclear, please don't hesitate to ask.

HTH,
- thomas


On 04/09/2010 08:47 PM, Maciej Oledzki wrote:
> Hi Thomas,
>
> This custom build is Ant script, so it looks that buckminster ant
> launcher should solve my problem.
> How can I use it?
>
> BR
> Maciej
Re: Custom builders are not invoked in headless build [message #526624 is a reply to message #526379] Mon, 12 April 2010 09:00 Go to previous message
Maciej Oledzki is currently offline Maciej Oledzki
Messages: 23
Registered: July 2009
Junior Member
Thanks a lot Thomas, this custom ant builder solved my problem.
Previous Topic:Eclipse RCP plugins automated version number increment
Next Topic:Downloading
Goto Forum:
  


Current Time: Wed Jul 30 07:08:39 EDT 2014

Powered by FUDForum. Page generated in 0.01852 seconds