Home » Archived » Buckminster » build command that proceeds on error
build command that proceeds on error [message #1114137] |
Sun, 22 September 2013 08:12  |
Eclipse User |
|
|
|
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 09:26   |
Eclipse User |
|
|
|
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 11:56  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Sun Feb 16 13:36:48 GMT 2025
Powered by FUDForum. Page generated in 0.03053 seconds
|