Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Save/Export Bill of Material (BOM) in headless build
Save/Export Bill of Material (BOM) in headless build [message #381643] Fri, 09 January 2009 10:24 Go to next message
Markus Kuppe is currently offline Markus Kuppe
Messages: 177
Registered: July 2009
Senior Member
Hi,

how can I save/export the generated BOM during a headless build started
off from a CQUERY or MSPEC?

Markus
Re: Save/Export Bill of Material (BOM) in headless build [message #381644 is a reply to message #381643] Fri, 09 January 2009 10:58 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Hi Marcus,
You do:

buckminster resolve --bomfile <bom output file> <query or mspec>

You can also prevent materialization at that point so that the query
resolution stops when the BOM is created by doing

buckminster resolve --bomfile <bom output file> --noimport <query or mspec>

Regards,
Thomas Hallgren


Markus Alexander Kuppe wrote:
> Hi,
>
> how can I save/export the generated BOM during a headless build started
> off from a CQUERY or MSPEC?
>
> Markus
Re: Save/Export Bill of Material (BOM) in headless build [message #381645 is a reply to message #381644] Fri, 09 January 2009 11:05 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus Kuppe
Messages: 177
Registered: July 2009
Senior Member
Thomas Hallgren wrote:
> Hi Marcus,
> You do:
>
> buckminster resolve --bomfile <bom output file> <query or mspec>
>
> You can also prevent materialization at that point so that the query
> resolution stops when the BOM is created by doing
>
> buckminster resolve --bomfile <bom output file> --noimport <query or mspec>

Hi Thomas,

thanks for the quick reply. Unfortunately this doesn't work with
"import". Is this intended or simply missing?

Markus
Re: Save/Export Bill of Material (BOM) in headless build [message #381646 is a reply to message #381645] Fri, 09 January 2009 11:31 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Markus Alexander Kuppe wrote:
> Hi Thomas,
>
> thanks for the quick reply. Unfortunately this doesn't work with
> "import". Is this intended or simply missing?
>
It was originally intended but the idea behind it is perhaps no longer
applicable. The resolve was originally intended to resolve from cquery
to bom and import was intended to actually materialize the bom. After
that, the resolve command was extended to also include the import and
the import was extended to automatically resolve when given a cquery
instead of a bom.

A better way would probably be to make resolve an alias for import and
move all functionality to that command. Can you please enter a bugzilla
for that?

- thomas
Re: Save/Export Bill of Material (BOM) in headless build [message #381654 is a reply to message #381646] Mon, 12 January 2009 10:29 Go to previous message
Markus Kuppe is currently offline Markus Kuppe
Messages: 177
Registered: July 2009
Senior Member
Thomas Hallgren wrote:
> Can you please enter a bugzilla
> for that?

https://bugs.eclipse.org/260675
Previous Topic:Version resolution problem
Next Topic:org.eclipse.buckminster.pde.targetOS and others don't take wildcard (*)
Goto Forum:
  


Current Time: Wed Sep 17 01:36:23 GMT 2014

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

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