Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » [Buckminster headless] How to control buckminster workspace?
[Buckminster headless] How to control buckminster workspace? [message #784417] Fri, 27 January 2012 13:44 Go to next message
Gerard Maas is currently offline Gerard MaasFriend
Messages: 10
Registered: January 2012
Junior Member
Hi,

I currently have installed buckminster in a shared drive and I'm using -data to indicate the directory where to write the artifacts.
./buckminster -data <my/data/dir>



But I see that buckminster is creating a /tmp/buckminster/build dir and it's building the workspace there.
My buckminster.properties file looks like this:

# Where all the output should go
buckminster.output.root=/shared/drive
# Where the temp files should go
buckminster.temp.root=/shared/drive/hsp-site.tmp
# How .qualifier in versions should be replaced


But it doesn't look like buckminster is picking any of those properties up. (After 4 days of Buckminster, I still have many loose ends to understand)

Where/how should I indicate buckminster to use the share drive iso /tmp? Where is this /tmp dir coming from?

Hoping to have a working build today...

Many thanks,

Gerard.
Re: [Buckminster headless] How to control buckminster workspace? [message #784428 is a reply to message #784417] Fri, 27 January 2012 14:10 Go to previous messageGo to next message
Gerard Maas is currently offline Gerard MaasFriend
Messages: 10
Registered: January 2012
Junior Member
I worked around this issue by providing the properties through the command line.
-Dbuckminster.output.root=/shared/drive/workspace -Dbuckminster.temp.root=/shared/drive/workspace/tmp

Not sure this is the recommended way, but it seems to work. Still wondering where the /tmp comes from if anybody feels like shinning some light on that point.

-kr, Gerard.
Re: [Buckminster headless] How to control buckminster workspace? [message #784804 is a reply to message #784428] Sat, 28 January 2012 01:44 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 2012-27-01 15:10, Gerard Maas wrote:
> I worked around this issue by providing the properties through the
> command line.
> -Dbuckminster.output.root=/shared/drive/workspace
> -Dbuckminster.temp.root=/shared/drive/workspace/tmp
>
> Not sure this is the recommended way, but it seems to work. Still
> wondering where the /tmp comes from if anybody feels like shinning some
> light on that point.

IIRC you can tell headless buckminster which property file you want to
use rather than setting each property.

It is common to use different sets of properties for building in the IDE
and headless.

Regards
- henrik
Re: [Buckminster headless] How to control buckminster workspace? [message #786378 is a reply to message #784804] Mon, 30 January 2012 10:48 Go to previous messageGo to next message
Gerard Maas is currently offline Gerard MaasFriend
Messages: 10
Registered: January 2012
Junior Member
Henrik Lindberg wrote on Fri, 27 January 2012 20:44
On 2012-27-01 15:10, Gerard Maas wrote:
(...)
> Not sure this is the recommended way, but it seems to work. Still
> wondering where the /tmp comes from if anybody feels like shinning some
> light on that point.

IIRC you can tell headless buckminster which property file you want to
use rather than setting each property.

Hi Henrik,

Thanks for that.
How should I instruct headless buckminster to use a given property file?

-kr, Gerard.
Re: [Buckminster headless] How to control buckminster workspace? [message #786480 is a reply to message #786378] Mon, 30 January 2012 13:39 Go to previous messageGo to next message
Matthew Webber is currently offline Matthew WebberFriend
Messages: 198
Registered: December 2010
Senior Member
The isntructions are in the BuckyBook (see the chapter on "Headless commands"). Most commands can take a --properties (or -P) option.

Note that you specify this on an individual buckminster command, not on the shell command that calls buckminster.

Matthew
Re: [Buckminster headless] How to control buckminster workspace? [message #786543 is a reply to message #786378] Mon, 30 January 2012 14:55 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 2012-01-30 11:48, Gerard Maas wrote:
> Henrik Lindberg wrote on Fri, 27 January 2012 20:44
>> On 2012-27-01 15:10, Gerard Maas wrote:
>> (...)
>> > Not sure this is the recommended way, but it seems to work. Still
>> > wondering where the /tmp comes from if anybody feels like shinning some
>> > light on that point.
>>
>> IIRC you can tell headless buckminster which property file you want to use rather than setting each property.
>
> Hi Henrik,
>
> Thanks for that. How should I instruct headless buckminster to use a given property file?
>
> -kr, Gerard.

Use -P <property file>

- thomas
Previous Topic:Buckminster headless Subclipse download site is old version
Next Topic:web start/jnlp/signing question
Goto Forum:
  


Current Time: Thu Apr 25 14:25:39 GMT 2024

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

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

Back to the top