Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [triquetrum-dev] Triquetrum errors in org.eclipse.triquetrum.workflow.actor.plot

Hi Erwin,
I've cc'd triquetrum-dev because this is an interesting design decision point.

The summary is that supporting the plotter requires Nebula XYGraph. Currently, while following the Triquetrum Getting Started example, there are errors in the build, which new users would find confusing, because Nebula XYGraph must be added to the workspace by hand.

This is a classic problem of configuration management, where using a separate package adds a requirement. However, I'm not sure if we want to require this package in the default minimal configuration.

In Ptolemy, we run ./configure, which checks for packages and excludes them if they are not found. I'm not saying we should use configure here, but using configure does avoid compile time and run time errors later.

We could just add Nebula XYGraph, but then I'm afraid that it might end up being required for all configurations of Triquetrum. I supposed could be avoided if the configuration does not include the org.eclipse.triquetrum.workflow.actor.plot package.

In general, we should have some sort of minimal non-graphical Triquetrum configuration so that Triquetrum is easier to reuse. If the rest of Triquetrum has no hard dependencies on org.eclipse.triquetrum.workflow.actor.plot, then I suppose we could add Nebula XYGraph.

_Christopher

On 2/23/16 1:09 PM, Erwin de Ley wrote:
Hi Christopher,

The current plot implementation is related to the example for an actor extension feature. It indeed depends on Nebula XYGraph, but I didn't want to add that one to the default Triquetrum target.
I've added it separately in my workspace.

Let me think about another option for this, or if you have suggestions...? Or we could just "promote" it to be part of the std Triquetrum build, and then I can add the nebula bundle to our target platform.

regards
erwin

Op 23/02/2016 om 21:16 schreef Christopher Brooks:
Hi Erwin,
In a clean clone of the Triquetrum git repo, I get a bunch of errors in org.eclipse.triquetrum.actor.plot.

I realize that the plot project is a work in progress, but is there any chance the errors could be fixed?

Thanks,

_Christopher
Description    Resource    Path Location    Type
CircularBufferDataProvider cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 38 Java Problem CircularBufferDataProvider cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 92 Java Problem CircularBufferDataProvider cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 92 Java Problem CircularBufferDataProvider cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 93 Java Problem CircularBufferDataProvider cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 96 Java Problem CircularBufferDataProvider cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 118 Java Problem No available bundle exports package 'org.eclipse.nebula.visualization.xygraph.dataprovider' MANIFEST.MF /org.eclipse.triquetrum.workflow.actor.plot/META-INF line 11 Plug-in Problem No available bundle exports package 'org.eclipse.nebula.visualization.xygraph.figures' MANIFEST.MF /org.eclipse.triquetrum.workflow.actor.plot/META-INF line 12 Plug-in Problem PointStyle cannot be resolved to a variable XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 99 Java Problem Sample cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 118 Java Problem The import org.eclipse.nebula cannot be resolved XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 15 Java Problem The import org.eclipse.nebula cannot be resolved XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 16 Java Problem The import org.eclipse.nebula cannot be resolved XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 17 Java Problem The import org.eclipse.nebula cannot be resolved XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 18 Java Problem The import org.eclipse.nebula cannot be resolved XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 19 Java Problem Trace cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 96 Java Problem Trace cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 96 Java Problem XYGraph cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 37 Java Problem XYGraph cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 60 Java Problem XYGraph cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 79 Java Problem XYGraph cannot be resolved to a type XYPlot.java /org.eclipse.triquetrum.workflow.actor.plot/src/main/java/org/eclipse/triquetrum/workflow/actor/plot/ui line 79 Java Problem 'target/classes/' is not an output folder. build.properties /org.eclipse.triquetrum.workflow.editor.palette line 12 Plug-in Problem Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment. org.eclipse.triquetrum.dependencies Build path JRE System Library Problem Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment. org.eclipse.triquetrum.workflow.model Build path JRE System Library Problem Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment. org.eclipse.triquetrum.workflow.model.edit Build path JRE System Library Problem Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment. org.eclipse.triquetrum.workflow.model.editor Build path JRE System Library Problem Discouraged access: The method 'ExtensionManager.getImageProvidersForDiagramTypeProviderId(String)' is not API (restriction on required library '/Users/cxh/src/workspaceTriq23Feb/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.graphiti.ui_0.12.1.v20150916-0905.jar') TriqDiagramTypeProvider.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor line 35 Java Problem Discouraged access: The method 'ExtensionManager.getSingleton()' is not API (restriction on required library '/Users/cxh/src/workspaceTriq23Feb/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.graphiti.ui_0.12.1.v20150916-0905.jar') TriqDiagramTypeProvider.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor line 35 Java Problem Discouraged access: The type 'DiagramEditPart' is not API (restriction on required library '/Users/cxh/src/workspaceTriq23Feb/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.graphiti.ui_0.12.1.v20150916-0905.jar') EditorUtils.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/util line 22 Java Problem Discouraged access: The type 'DiagramEditPart' is not API (restriction on required library '/Users/cxh/src/workspaceTriq23Feb/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.graphiti.ui_0.12.1.v20150916-0905.jar') RunAction.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/actions line 16 Java Problem Discouraged access: The type 'ExtensionManager' is not API (restriction on required library '/Users/cxh/src/workspaceTriq23Feb/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.graphiti.ui_0.12.1.v20150916-0905.jar') TriqDiagramTypeProvider.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor line 17 Java Problem Discouraged access: The type 'ExtensionManager' is not API (restriction on required library '/Users/cxh/src/workspaceTriq23Feb/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.graphiti.ui_0.12.1.v20150916-0905.jar') TriqDiagramTypeProvider.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor line 35 Java Problem Discouraged access: The type 'GFCreationTool' is not API (restriction on required library '/Users/cxh/src/workspaceTriq23Feb/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.graphiti.ui_0.12.1.v20150916-0905.jar') TriqPaletteRoot.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/palette line 22 Java Problem Discouraged access: The type 'GFCreationTool' is not API (restriction on required library '/Users/cxh/src/workspaceTriq23Feb/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.graphiti.ui_0.12.1.v20150916-0905.jar') TriqPaletteRoot.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/palette line 60 Java Problem Discouraged access: The type 'GFPaletteRoot' is not API (restriction on required library '/Users/cxh/src/workspaceTriq23Feb/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.graphiti.ui_0.12.1.v20150916-0905.jar') TriqPaletteRoot.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/palette line 23 Java Problem Discouraged access: The type 'GFPaletteRoot' is not API (restriction on required library '/Users/cxh/src/workspaceTriq23Feb/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.graphiti.ui_0.12.1.v20150916-0905.jar') TriqPaletteRoot.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/palette line 28 Java Problem Element 'action' is deprecated plugin.xml /org.eclipse.triquetrum.workflow.model.editor line 41 Plug-in Problem Element 'action' is deprecated plugin.xml /org.eclipse.triquetrum.workflow.model.editor line 42 Plug-in Problem Element 'action' is deprecated plugin.xml /org.eclipse.triquetrum.workflow.model.editor line 43 Plug-in Problem Element 'action' is deprecated plugin.xml /org.eclipse.triquetrum.workflow.model.editor line 50 Plug-in Problem Element 'actionSet' is deprecated plugin.xml /org.eclipse.triquetrum.workflow.model.editor line 40 Plug-in Problem Element 'actionSet' is deprecated plugin.xml /org.eclipse.triquetrum.workflow.model.editor line 49 Plug-in Problem EventListener is a raw type. References to generic type EventListener<T> should be parameterized WorkflowExecutionTask.java /org.eclipse.triquetrum.workflow.execution.impl/src/main/java/org/eclipse/triquetrum/workflow/execution/impl/executor line 67 Java Problem EventListener is a raw type. References to generic type EventListener<T> should be parameterized WorkflowExecutionTask.java /org.eclipse.triquetrum.workflow.execution.impl/src/main/java/org/eclipse/triquetrum/workflow/execution/impl/executor line 70 Java Problem List is a raw type. References to generic type List<E> should be parameterized OutlineEditPart.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/outline/tree line 115 Java Problem Plug-in reference 'diva' cannot be resolved feature.xml /org.eclipse.triquetrum.ptolemy.feature line 31 Plug-in Problem Plug-in reference 'org.eclipse.nebula.visualization.xygraph' cannot be resolved feature.xml /org.eclipse.triquetrum.workflow.actor.plot.feature line 45 Plug-in Problem Plug-in reference 'org.ptolemy.commons' cannot be resolved feature.xml /org.eclipse.triquetrum.ptolemy.feature line 87 Plug-in Problem Plug-in reference 'ptolemy.actor.lib.gui' cannot be resolved feature.xml /org.eclipse.triquetrum.ptolemy.feature line 45 Plug-in Problem Plug-in reference 'ptolemy.actor.lib' cannot be resolved feature.xml /org.eclipse.triquetrum.ptolemy.feature line 38 Plug-in Problem Plug-in reference 'ptolemy.core' cannot be resolved feature.xml /org.eclipse.triquetrum.ptolemy.feature line 52 Plug-in Problem Plug-in reference 'ptolemy.domains.process' cannot be resolved feature.xml /org.eclipse.triquetrum.ptolemy.feature line 59 Plug-in Problem Plug-in reference 'ptolemy.domains.sdf' cannot be resolved feature.xml /org.eclipse.triquetrum.ptolemy.feature line 66 Plug-in Problem Plug-in reference 'ptolemy.gui' cannot be resolved feature.xml /org.eclipse.triquetrum.ptolemy.feature line 73 Plug-in Problem Plug-in reference 'ptolemy.moml' cannot be resolved feature.xml /org.eclipse.triquetrum.ptolemy.feature line 80 Plug-in Problem Redundant entry for output folder 'bin/'. It does not correspond to any source folder in 'source..' entry. build.properties /org.eclipse.triquetrum.dependencies line 1 Plug-in Problem The extension point 'org.eclipse.ui.actionSets' is deprecated plugin.xml /org.eclipse.triquetrum.workflow.model.editor line 38 Plug-in Problem The extension point 'org.eclipse.ui.actionSets' is deprecated plugin.xml /org.eclipse.triquetrum.workflow.model.editor line 47 Plug-in Problem The folder "src/main/java/" does not exist in the workspace build.properties /org.eclipse.triquetrum.workflow.editor.palette line 11 Plug-in Problem The import org.eclipse.triquetrum.processing.ProcessingException is never used TaskProcessingBroker.java /org.eclipse.triquetrum.processing.api/src/main/java/org/eclipse/triquetrum/processing/service line 16 Java Problem The import org.eclipse.triquetrum.workflow.editor.ExecutionStatusManager is never used RunFeature.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/features line 21 Java Problem The import org.eclipse.triquetrum.workflow.editor.features.AnnotationChangeColorFeature is never used TriqFeatureProvider.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor line 42 Java Problem The import org.slf4j.Logger is never used AbstractExecutionManagementFeature.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/features line 24 Java Problem The import ptolemy.kernel.util.NameDuplicationException is never used AnnotationImpl.java /org.eclipse.triquetrum.workflow.model/src/main/java/org/eclipse/triquetrum/workflow/model/impl line 23 Java Problem The method createTool(ICreationToolEntry) from the type TriqPaletteRoot is never used locally TriqPaletteRoot.java /org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/palette line 52 Java Problem Type safety: The expression of type Class needs unchecked conversion to conform to Class<Object> TriqEditor.java /org.eclipse.triquetrum.workflow.model.editor/src/main/java/org/eclipse/triquetrum/workflow/model/presentation line 1230 Java Problem Type safety: The method handle(Event) belongs to the raw type EventListener. References to generic type EventListener<T> should be parameterized WorkflowExecutionTask.java /org.eclipse.triquetrum.workflow.execution.impl/src/main/java/org/eclipse/triquetrum/workflow/execution/impl/executor line 171 Java Problem Type safety: The method handle(Event) belongs to the raw type EventListener. References to generic type EventListener<T> should be parameterized WorkflowExecutionTask.java /org.eclipse.triquetrum.workflow.execution.impl/src/main/java/org/eclipse/triquetrum/workflow/execution/impl/executor line 235 Java Problem Type safety: The method handle(Event) belongs to the raw type EventListener. References to generic type EventListener<T> should be parameterized WorkflowExecutionTask.java /org.eclipse.triquetrum.workflow.execution.impl/src/main/java/org/eclipse/triquetrum/workflow/execution/impl/executor line 255 Java Problem Type safety: The return type Object for getAdapter(Class) from the type TriqEditor needs unchecked conversion to conform to T from the type MultiPageEditorPart TriqEditor.java /org.eclipse.triquetrum.workflow.model.editor/src/main/java/org/eclipse/triquetrum/workflow/model/presentation line 1222 Java Problem Type safety: Unchecked invocation getAdapter(Class) of the generic method getAdapter(Class<T>) of type MultiPageEditorPart TriqEditor.java /org.eclipse.triquetrum.workflow.model.editor/src/main/java/org/eclipse/triquetrum/workflow/model/presentation line 1230 Java Problem Unnecessary @SuppressWarnings("restriction") AbstractPlaceableSWT.java /org.eclipse.triquetrum.workflow.ui/src/main/java/org/eclipse/triquetrum/workflow/ui line 34 Java Problem Unnecessary @SuppressWarnings("restriction") SizeAttribute.java /org.eclipse.triquetrum.workflow.ui/src/main/java/org/eclipse/triquetrum/workflow/ui line 42 Java Problem Unnecessary @SuppressWarnings("restriction") WindowPropertiesAttribute.java /org.eclipse.triquetrum.workflow.ui/src/main/java/org/eclipse/triquetrum/workflow/ui line 44 Java Problem



--
Christopher Brooks, PMP                       University of California
Academic Program Manager & Software Engineer  US Mail: 337 Cory Hall
CHESS/iCyPhy/Ptolemy/TerraSwarm               Berkeley, CA 94720-1774
cxh@xxxxxxxxxxxxxxxxx, 707.332.0670           (Office: 545Q Cory)



Back to the top