Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Bug in eclipse.build for headless Buckminster 3.4-10097
Bug in eclipse.build for headless Buckminster 3.4-10097 [message #385473] Tue, 19 May 2009 13:21 Go to next message
Mikhail Kadan is currently offline Mikhail KadanFriend
Messages: 61
Registered: July 2009
Member
Hello.

"eclipse.build" action on plug-in component in headless Buckminster
3.4-10097 doesn't invoke custom builders defined on plug-ins, but building
from IDE with Buckminster 3.4-10100 is ok. This can be seen by defining
additional ant builder, which will create some output file in a known
location, and then starting build with Buckminster from IDE (previously
turning autobuilding off) and from headless mode. In first case file will
be created, in second case it will be not. Is this a bug so I can report
it?

Thanks.
Re: Bug in eclipse.build for headless Buckminster 3.4-10097 [message #385476 is a reply to message #385473] Tue, 19 May 2009 16:32 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Mikhail,
Buckminster invokes the incremental Eclipse builder. It in turn, will invoke all builders listed in the .project file if
there's a need to do that. That's not always the case. It's very much dependent on the current state of the workspace.

I'm not claiming that Buckminster is bug free in this respect, I'm just pointing out that you must make very sure that
you indeed have the exact same conditions when you see the difference. Buckminster will perform the exact same actions
regardless of if it executes in an IDE or headlessly.

You mention 'custom builders'. Does that mean that you can see that other builders indeed are invoked? What custom
builders are you using?

- thomas

Mikhail Kadan wrote:
> Hello.
>
> "eclipse.build" action on plug-in component in headless Buckminster
> 3.4-10097 doesn't invoke custom builders defined on plug-ins, but
> building from IDE with Buckminster 3.4-10100 is ok. This can be seen by
> defining additional ant builder, which will create some output file in a
> known location, and then starting build with Buckminster from IDE
> (previously turning autobuilding off) and from headless mode. In first
> case file will be created, in second case it will be not. Is this a bug
> so I can report it?
>
> Thanks.
>
Re: Bug in eclipse.build for headless Buckminster 3.4-10097 [message #385477 is a reply to message #385476] Tue, 19 May 2009 17:38 Go to previous messageGo to next message
Mikhail Kadan is currently offline Mikhail KadanFriend
Messages: 61
Registered: July 2009
Member
Hello.

I've used an ant builder which creates file in temp directory to me to see
that it was successfully executed. Then I disabled autobuilding in IDE,
created a new plug-in and placed this builder on it.

After this I invoked "buckminster.clean" on this plugin and then invoked
"bundle.jar" on this plugin, the last action executed my ant script and
created file.

Then I deleted this file, cleaned workspace, exited IDE, invoked
"buckminster.clean" on this plugin in headless mode, and invoked
"bundle.jar" on this plugin also in headless mode. No file was created.
Re: Bug in eclipse.build for headless Buckminster 3.4-10097 [message #385478 is a reply to message #385477] Tue, 19 May 2009 20:23 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Interesting. I wonder what might be different. Can you please enter a bugzilla on this? An attachment with the sample
plugin would be very appreciated.

Thanks,
Thomas Hallgren


Mikhail Kadan wrote:
> Hello.
>
> I've used an ant builder which creates file in temp directory to me to
> see that it was successfully executed. Then I disabled autobuilding in
> IDE, created a new plug-in and placed this builder on it.
>
> After this I invoked "buckminster.clean" on this plugin and then invoked
> "bundle.jar" on this plugin, the last action executed my ant script and
> created file.
>
> Then I deleted this file, cleaned workspace, exited IDE, invoked
> "buckminster.clean" on this plugin in headless mode, and invoked
> "bundle.jar" on this plugin also in headless mode. No file was created.
>
Previous Topic:Issue with Buckminster build after upgrade to Eclipse RC1 Platform
Next Topic:bundles expanding upon materialization
Goto Forum:
  


Current Time: Tue Jan 14 15:49:20 GMT 2025

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

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

Back to the top