Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Trigger Eclipse Compiler Log generation in Headless Build
Trigger Eclipse Compiler Log generation in Headless Build [message #1068095] Fri, 12 July 2013 07:01 Go to next message
Jochen Schmich is currently offline Jochen SchmichFriend
Messages: 29
Registered: July 2009
Junior Member
Hi all,

we're running a reliable (thanks Smile ) headless build for our plug-ins with Buckminster.

Our ANT-based build is triggered by the build subsystem of Rational Team Concert. We're able to publish several build artifacts in the RTC repository. For example the Junit test logs (launched via Buckminster) are pushed to the repository. This way we can see which tests fail, how long they take, etc. in the RTC Build UI.

There's also a possibility to publish the ECJ log to RTC and view the results like the Junit logs.

Unfortunately we couldn't find a way to generate the ECJ log via the Buckminster compile. AFAIK, the compile log can only be generated if the ECJ BatchCompiler is used.
This should be the case with the ANT-based Headless PDE Build, but not with Buckminster.

Is that correct, or are there some "hidden switches" to enable log generation, for example by setting a property in the 'build.properties'-file of each plug-in?

Thanks in advance,
Jochen

[Updated on: Fri, 12 July 2013 09:35]

Report message to a moderator

Re: Trigger Eclipse Compiler Log generation in Headless Build [message #1068109 is a reply to message #1068095] Fri, 12 July 2013 08:27 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 2013-07-12 09:01, Jochen Schmich wrote:
> Hi all,
>
> we're running a reliable (thanks :) ) headless build for our plug-ins with Buckminster.
>
> Our ANT-based build is triggered by the build subsystem of Rational Team Concert. We're able to publish several build
> artifacts in the RTC repository. For example the Junit test logs (launched via Buckminster) are pushed to the
> repository. This way we can see which tests fail, how long they take, etc. in the RTC Build UI.
>
> There's also a possibility to publish the ECJ log to RTC and view the results like the Junit logs.
>
> Unfortunately we couldn't find a way to generate the ECJ log via the Buckminster compile. AFAIK, the compile log can
> only be generated if the ECJ BatchCompiler is used.
> This should be the case with the ANT-based Headless PDE Build, but not with Buckminster.
>
> Is that correct, or are there some "hidden switches" to enable log generation, for example by setting a property in the
> 'build.properties'-file of each plug-in?
>
Last time I looked, the ANT-based Headless PDE build is not a PDE build at all but rather an external build that mimics
parts of the PDE build. It does not not run the builders configured in your .project file. That means that you get no
errors or warnings from the PDE ManifestBuilder and SchemaBuilder.

Buckminster is all about building headlessly exactly like you would build in the IDE and produce the same set of errors
and warnnings from all configured builders.

That said, you can probably generate the ant-script using PDE, save it, and then run it from Buckminster with an ant
action if that is what you want.

Regards,
Thomas Hallgren
Re: Trigger Eclipse Compiler Log generation in Headless Build [message #1068116 is a reply to message #1068109] Fri, 12 July 2013 09:35 Go to previous messageGo to next message
Jochen Schmich is currently offline Jochen SchmichFriend
Messages: 29
Registered: July 2009
Junior Member
Hi Thomas,

thanks for your response - but, not exactly. It seems to me like this is rather more of a JDT-related question and not so much about Buckminster.

I'm looking for a way to trigger JDT-log generation for the workspace build (like it is possible with the ECJ Batch Compiler - with the -log <filename> argument).
In the last consequence I'll have to try and run the compiler from ANT, but that is, as you said, a rather complicated task since PDE Headless build / ECJ Batch Compiler do not honor all the workspace and project settings.

[Updated on: Fri, 12 July 2013 09:40]

Report message to a moderator

Re: Trigger Eclipse Compiler Log generation in Headless Build [message #1103672 is a reply to message #1068095] Sat, 07 September 2013 04:58 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 12.07.2013 09:01, schrieb Jochen Schmich:
> Hi all,
>
> we're running a reliable (thanks :) ) headless build for our plug-ins with Buckminster.
>
> Our ANT-based build is triggered by the build subsystem of Rational Team Concert. We're able to publish several build
> artifacts in the RTC repository. For example the Junit test logs (launched via Buckminster) are pushed to the
> repository. This way we can see which tests fail, how long they take, etc. in the RTC Build UI.
>
> There's also a possibility to publish the ECJ log to RTC and view the results like the Junit logs.
>
> Unfortunately we couldn't find a way to generate the ECJ log via the Buckminster compile. AFAIK, the compile log can
> only be generated if the ECJ BatchCompiler is used.
> This should be the case with the ANT-based Headless PDE Build, but not with Buckminster.
>
> Is that correct, or are there some "hidden switches" to enable log generation, for example by setting a property in
> the 'build.properties'-file of each plug-in?
I've absolutely no clue what you all mean by this ECJ, RTC, etc. stuff. But if you're asking for a way to export the
markers found during the Build command to a separate log file you may be interested in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=416771 ;-)

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:Problem with plugin-based products
Next Topic:platform-independent target platform
Goto Forum:
  


Current Time: Thu Apr 25 00:14:09 GMT 2024

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

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

Back to the top