Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » build command that proceeds on error
build command that proceeds on error [message #1114137] Sun, 22 September 2013 04:12 Go to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1324
Registered: July 2009
Senior Member
Hi

is there a way to tell buckminster, when executing the build command, to
proceed in case of errors? For instance, the import command has the
command line argument --continueonerror.

The reason why I would need that is that I managed to compile xtend
files with the xtend command line compiler in a buckminster build, but
in order to achieve that I first need to perform a first build so that
some Java files, which the xtend files depend on, are compiled. Only a
few Java files will be compiled and the build will fail, but this is
enough to compile xtend files to Java files. Then I'll perform a second
build and it will succeed.

For the moment, I managed to achieve that by performing the first build
in a separate buckminster run, ignoring the failure. But it would be
nice to have a "build --continueonerror" so that I can do everything in
one shot (i.e., with a single commands file).

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
Re: build command that proceeds on error [message #1114168 is a reply to message #1114137] Sun, 22 September 2013 05:26 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Hi Lorenzo,

We don't have a --continueonerror flag. Seems like a reasonable addition though. Please enter an enhancement request for it.

- thomas

On 2013-09-22 10:12, Lorenzo Bettini wrote:
> Hi
>
> is there a way to tell buckminster, when executing the build command, to
> proceed in case of errors? For instance, the import command has the
> command line argument --continueonerror.
>
> The reason why I would need that is that I managed to compile xtend
> files with the xtend command line compiler in a buckminster build, but
> in order to achieve that I first need to perform a first build so that
> some Java files, which the xtend files depend on, are compiled. Only a
> few Java files will be compiled and the build will fail, but this is
> enough to compile xtend files to Java files. Then I'll perform a second
> build and it will succeed.
>
> For the moment, I managed to achieve that by performing the first build
> in a separate buckminster run, ignoring the failure. But it would be
> nice to have a "build --continueonerror" so that I can do everything in
> one shot (i.e., with a single commands file).
>
> cheers
> Lorenzo
>
Re: build command that proceeds on error [message #1116413 is a reply to message #1114168] Wed, 25 September 2013 07:56 Go to previous message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1324
Registered: July 2009
Senior Member
Done https://bugs.eclipse.org/bugs/show_bug.cgi?id=418009

and there's also a patch that works for me :)

cheers
Lorenzo

On 22/09/2013 11:26, Thomas Hallgren wrote:
> Hi Lorenzo,
>
> We don't have a --continueonerror flag. Seems like a reasonable addition
> though. Please enter an enhancement request for it.
>
> - thomas
>
> On 2013-09-22 10:12, Lorenzo Bettini wrote:
>> Hi
>>
>> is there a way to tell buckminster, when executing the build command, to
>> proceed in case of errors? For instance, the import command has the
>> command line argument --continueonerror.
>>
>> The reason why I would need that is that I managed to compile xtend
>> files with the xtend command line compiler in a buckminster build, but
>> in order to achieve that I first need to perform a first build so that
>> some Java files, which the xtend files depend on, are compiled. Only a
>> few Java files will be compiled and the build will fail, but this is
>> enough to compile xtend files to Java files. Then I'll perform a second
>> build and it will succeed.
>>
>> For the moment, I managed to achieve that by performing the first build
>> in a separate buckminster run, ignoring the failure. But it would be
>> nice to have a "build --continueonerror" so that I can do everything in
>> one shot (i.e., with a single commands file).
>>
>> 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
Previous Topic:platform-independent target platform
Next Topic:Trigger Xtend 2 builder in a headless CI job using ant / classpath problem
Goto Forum:
  


Current Time: Wed Aug 27 19:21:58 EDT 2014

Powered by FUDForum. Page generated in 0.02261 seconds