Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Incremental build with headless buckminster
Incremental build with headless buckminster [message #696659] Thu, 14 July 2011 14:05 Go to next message
Mario.Jonke is currently offline Mario.Jonke
Messages: 1
Registered: July 2011
Junior Member
Hi guys,

i'm currently trying to get an incremental build working with
headless buckminster (command: buckminster -data <ws_path> build).

Starting from a clean workspace the given command initiates a full
workspace build, which is the expected behavior. However, consecutive
calls to build also do a full build.

By taking a quick peek at the source code of the build command i noticed that
the command always initates a full build (line 66 ...core/commands/Build.java).
So i'm confused if there is a way to build the workspace incrementally
if it already has been build before. Judging from the quick inspection of the
source there is currently no way to do so, however since i'm not familiar with
the source code itself i could be dead wrong on this matter.

Regards
Mario
Re: Incremental build with headless buckminster [message #696691 is a reply to message #696659] Thu, 14 July 2011 15:41 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Hi Mario,

You're correct. Buckminster will always execute a full build. IIRC, the build state is persisted so it might make sense
to add an option for that. Please enter an enhancement request for this in our bugzilla. If you provide a patch, you'll
increase the chances of getting it committed sooner.

Regards,
Thomas Hallgren


On 2011-07-14 16:05, forums-noreply@eclipse.org wrote:
> Hi guys,
>
> i'm currently trying to get an incremental build working with
> headless buckminster (command: buckminster -data <ws_path> build).
>
> Starting from a clean workspace the given command initiates a full
> workspace build, which is the expected behavior. However, consecutive calls to build also do a full build.
> By taking a quick peek at the source code of the build command i noticed that
> the command always initates a full build (line 66 ...core/commands/Build.java).
> So i'm confused if there is a way to build the workspace incrementally
> if it already has been build before. Judging from the quick inspection of the
> source there is currently no way to do so, however since i'm not familiar with
> the source code itself i could be dead wrong on this matter.
> Regards
> Mario
Re: Incremental build with headless buckminster [message #720906 is a reply to message #696691] Wed, 31 August 2011 13:17 Go to previous message
Philip Bedingfield is currently offline Philip Bedingfield
Messages: 43
Registered: August 2011
Member
Shouldn't build on its own perform an incremental build?

The bucky book ->

build (make)
build (make) -- runs workspace build.
Synopsis
build [ { -? | --help } ]
[ { -c | --clean } ]
[ { -t | --thorough } ]
Description
Runs a workspace build. If -c is specified, a clean is performed before the build. If -t is specified a
full build is performed if an incremental build fails.

Or am I missing something?
Previous Topic:External component repository
Next Topic:Re: Headless build does not produce launcher
Goto Forum:
  


Current Time: Tue Sep 23 08:26:00 GMT 2014

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

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