Split Buckminster build [message #1709054] |
Wed, 23 September 2015 11:16  |
Eclipse User |
|
|
|
Hi *,
We build a Eclipse RCP application with Buckminster. Everthing is working fine, but we want to improve the Jenkins-Job execution time.
Our Buckminster commands file looks similar to this:
setpref targetPlatformPath=...
resolve ...
resolve ...
build ...
emma ...
emma ...
emma ...
emma ...
emma ...
emma ...
emma ...
emma ...
emma ...
perform -D target.os=* -D target.ws=* -D target.arch=* ...#site.p2
perform -D target.os=win32 -D target.ws=win32 -D target.arch=x86 ...#create.product.zip
perform -D target.os=win32 -D target.ws=win32 -D target.arch=x86_64 ...#create.product.zip
perform -D target.os=linux -D target.ws=gtk -D target.arch=x86 ...#create.product.zip
perform -D target.os=linux -D target.ws=gtk -D target.arch=x86_64 ...#create.product.zip
What I want to do is to split this in two buckminster runs, e.g. one for the emma commands and one for the perform commands, without to do the build stuff twice.
Is there a possibility to do that? Can I set somehow the build directories?
Thanks for your help,
Raphael
|
|
|
Re: Split Buckminster build [message #1709435 is a reply to message #1709054] |
Mon, 28 September 2015 07:53   |
Eclipse User |
|
|
|
On 23/09/2015 17:16, Raphael Geissler wrote:
> Hi *,
>
> We build a Eclipse RCP application with Buckminster. Everthing is
> working fine, but we want to improve the Jenkins-Job execution time.
> Our Buckminster commands file looks similar to this:
> setpref targetPlatformPath=...
> resolve ...
> resolve ...
> build ...
> emma ...
> emma ...
> emma ...
> emma ...
> emma ...
> emma ...
> emma ...
> emma ...
> emma ...
> perform -D target.os=* -D target.ws=* -D target.arch=* ...#site.p2
> perform -D target.os=win32 -D target.ws=win32 -D target.arch=x86
> ...#create.product.zip perform -D target.os=win32 -D target.ws=win32 -D
> target.arch=x86_64 ...#create.product.zip perform -D target.os=linux -D
> target.ws=gtk -D target.arch=x86 ...#create.product.zip perform -D
> target.os=linux -D target.ws=gtk -D target.arch=x86_64
> ...#create.product.zip
> What I want to do is to split this in two buckminster runs, e.g. one for
> the emma commands and one for the perform commands, without to do the
> build stuff twice.
> Is there a possibility to do that? Can I set somehow the build directories?
> Thanks for your help,
>
> Raphael
>
Hi
You can specify most directories with buckminster (please have a look at
the documentation); if I understand correctly, it should be enough to
"point" to the same Buckminster eclipse workspace and source folders to
run tests without rebuilding the sources...
That would mimic, for example, opening a workspace with Eclipse, doing a
full build, close Eclipse, rerun Eclipse opening the same workspace and
run the tests (without needing to recompile).
hope this helps
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
|
|
Re: Split Buckminster build [message #1710004 is a reply to message #1709456] |
Fri, 02 October 2015 10:51  |
Eclipse User |
|
|
|
On 28/09/2015 16:10, Raphael Geissler wrote:
> Hi Lorenzo,
>
> A short look in the documentation shows me, that I can set the workspace
> with '-data' !
>
> So all I have to do is:
> $ ~/buckminster/buckminster -data buckminster.workspace --scriptfile
> commands.txt
>
> What's confusing me a little bit is that my command line help doesn't
> show the '-data'-flag. Here is the help text:
I think that it does not appear there because it's a "standard" eclipse
command line argument, and buckminster is an eclipse product.
You can pass -data to eclipse on the command line to specify the workspace.
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
|
Powered by
FUDForum. Page generated in 0.03379 seconds