Incremental build with headless buckminster [message #696659] |
Thu, 14 July 2011 10:05  |
Eclipse User |
|
|
|
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 11:41   |
Eclipse User |
|
|
|
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 09:17  |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.03470 seconds