Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 395158

Summary: [CBI] Gather up the compiler output
Product: [Eclipse Project] Platform Reporter: Paul Webster <pwebster>
Component: RelengAssignee: Paul Webster <pwebster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david_williams, john.arthorne, thanh.ha
Version: 4.2.1   
Target Milestone: 4.3 M6   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 372792, 393922    

Description Paul Webster CLA 2012-11-27 07:49:39 EST
The PDE build generates @dot.xml files from which we gather compile logs.  The CBI build can generate those as well, they should be in each <project>/target directory

PW
Comment 2 Paul Webster CLA 2012-11-28 15:42:44 EST
Released http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?h=R4_2_maintenance&id=4ea09a4fec6b03fa73fb2f595bd89b00be3ac4c2 to gather the output to the build directory

Now we need  to process it, turning @dot.xml into @dot.html

David, is this something that's done by the org.eclipse.build.tools?

PW
Comment 3 David Williams CLA 2012-11-28 16:11:35 EST
(In reply to comment #2)
> Released
> http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/
> commit/?h=R4_2_maintenance&id=4ea09a4fec6b03fa73fb2f595bd89b00be3ac4c2 to
> gather the output to the build directory
> 
> Now we need  to process it, turning @dot.xml into @dot.html
> 
> David, is this something that's done by the org.eclipse.build.tools?
> 

No. So far its a "jar only" solution that's been part of the base builder since forever ... making this into a re-usable tool is the topic of bug 321028.
Comment 4 Paul Webster CLA 2012-11-30 07:46:14 EST
for my information: eclipse.convert is used in eclipsebuilder/eclipse/helper*.xml

PW
Comment 5 Paul Webster CLA 2012-11-30 13:19:33 EST
I've added a call to eclipse.convert running basebuilder for converting the compilelogs directory, as before.

If I have the basebuilder, in theory I could use it to generate many of the files to be published using helper.xml or helpernew.xml from eclipsebuilder, right David?

PW
Comment 6 David Williams CLA 2012-11-30 15:30:11 EST
(In reply to comment #5)
> I've added a call to eclipse.convert running basebuilder for converting the
> compilelogs directory, as before.
> 
> If I have the basebuilder, in theory I could use it to generate many of the
> files to be published using helper.xml or helpernew.xml from eclipsebuilder,
> right David?
> 
> PW

In theory, its just a custom ant task. Probably depends on "running in Eclipse" (base builder) but maybe not? I've never had time to look at it. Likely to be some hidden assumptions about locations, etc. I'd classify it "you'd be lucky" instead of "in theory" ... but it might work.
Comment 7 Paul Webster CLA 2012-12-10 08:53:13 EST
I'm looking at using more and more of the ant scripts to assemble and run all of the post compiler parts.

I've already adapted the repos/*.xml files to generate correct repo zips.

PW
Comment 8 Paul Webster CLA 2012-12-13 15:48:22 EST
I've started using the helper.xml to generate the compile logs:

http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?h=R4_2_maintenance&id=0e8970640253e000ac25923c1281d1a004de8d19

The rest of the gather-parts.sh still needs to be copied in the correct order into publish-eclipse.sh

PW
Comment 9 David Williams CLA 2013-02-28 10:15:38 EST
I think the intent of this bug was fixed some time ago, by Paul. 

I'm sure future improvements (not to depend on "base builder") will be addressed by other bugs.