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

Bug 341552

Summary: [callgraph] Zest code not found for callgraph to build against
Product: [Tools] Linux Tools Reporter: Andrew Overholt <overholt>
Component: SystemtapAssignee: anithra <anithra>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pmuldoon, sgehwolf
Version: unspecified   
Target Milestone: 0.8.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 337509    

Description Andrew Overholt CLA 2011-03-31 17:25:55 EDT
Something appears to be "off" with the new Tycho-based build on hudson.eclipse.org.  org.eclipse.linuxtools.callgraph can't find some zest APIs:

[ERROR] import org.eclipse.zest.layouts.dataStructures.InternalNode;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.zest.layouts.dataStructures.InternalNode cannot be resolved
[ERROR] 
[ERROR] /opt/public/jobs/cbi-linuxtools-Indigo/workspace/systemtap/org.eclipse.linuxtools.callgraph/src/org/eclipse/linuxtools/callgraph/AggregateLayoutAlgorithm.java (at line 19):[-1,-1]
[ERROR] import org.eclipse.zest.layouts.dataStructures.InternalRelationship;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.zest.layouts.dataStructures.InternalRelationship cannot be resolved
[ERROR] 
[ERROR] /opt/public/jobs/cbi-linuxtools-Indigo/workspace/systemtap/org.eclipse.linuxtools.callgraph/src/org/eclipse/linuxtools/callgraph/AggregateLayoutAlgorithm.java (at line 55):[-1,-1]
[ERROR] protected void postLayoutAlgorithm(InternalNode[] entitiesToLayout,
[ERROR] ^^^^^^^^^^^^
[ERROR] InternalNode cannot be resolved to a type
[ERROR] 
[ERROR] /opt/public/jobs/cbi-linuxtools-Indigo/workspace/systemtap/org.eclipse.linuxtools.callgraph/src/org/eclipse/linuxtools/callgraph/AggregateLayoutAlgorithm.java (at line 56):[-1,-1]
[ERROR] InternalRelationship[] relationshipsToConsider) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^
[ERROR] InternalRelationship cannot be resolved to a type
[ERROR] 
[ERROR] /opt/public/jobs/cbi-linuxtools-Indigo/workspace/systemtap/org.eclipse.linuxtools.callgraph/src/org/eclipse/linuxtools/callgraph/AggregateLayoutAlgorithm.java (at line 61):[-1,-1]
[ERROR] for (InternalNode sn : entitiesToLayout) {
[ERROR] ^^^^^^^^^^^^
[ERROR] InternalNode cannot be resolved to a type
[ERROR] 
[ERROR] /opt/public/jobs/cbi-linuxtools-Indigo/workspace/systemtap/org.eclipse.linuxtools.callgraph/src/org/eclipse/linuxtools/callgraph/StapGraph.java (at line 500):[-1,-1]
[ERROR] GraphNode n = new GraphNode(this.getGraphModel(),SWT.NONE);
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getGraphModel() is undefined for the type StapGraph
Comment 1 Andrew Overholt CLA 2011-03-31 17:27:10 EDT
Severin, can you reproduce this on your machine?
Comment 2 Severin Gehwolf CLA 2011-04-04 12:57:03 EDT
(In reply to comment #1)
> Severin, can you reproduce this on your machine?

Looks good on my local machine, FWIW.
Comment 3 Alexander Kurtakov CLA 2011-05-12 08:30:24 EDT
Callgraph build enabled. Works fine with latest tycho. See https://hudson.eclipse.org/hudson/job/cbi-linuxtools-Indigo/280/