Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Compilation Errors in Papyrus Neon Workspace

Hi Christian

At least a couple of the errors look like generic 'incrementally confused Eclipse'.

When silly things happen refresh-all/rebuild-all/restart-eclipse and repeat again if necessary.

    Regards

        Ed Willink


On 25/05/2016 01:35, Christian Damus wrote:

Hi,

It’s been a couple of weeks since I worked in my Papyrus development workspace (having been focused on Papyrus-RT), and now I find I’m quite out of touch and have compilation errors all over the place. I pulled the latest from git today and ran the Oomph setup to get all of the latest target platform. I have these errors:

Bundle org.eclipse.papyrus.infra.core.sasheditor:

The method getAdapter(Object, Class<T>, T) is ambiguous for the type PlatformHelper ComponentPart.java  /org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal   line 65 Java Problem
The target type of this _expression_ must be a functional interface   ComponentPart.java  /org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal   line 65 Java Problem
The target type of this _expression_ must be a functional interface   EditorPart.java /org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal   line 179    Java Problem

Bundle org.eclipse.papyrus.uml.diagram.clazz.tests:

The method or field failing is undefined    ClassDiagramGenerateTestsWorkflow.xtend /org.eclipse.papyrus.uml.diagram.clazz.tests/test/org/eclipse/papyrus/uml/diagram/clazz/tests/generation    line: 70 /org.eclipse.papyrus.uml.diagram.clazz.tests/test/org/eclipse/papyrus/uml/diagram/clazz/tests/generation/ClassDiagramGenerateTestsWorkflow.xtend   Xtend Problem
The method or field failing is undefined    ClassDiagramGenerateTestsWorkflow.xtend /org.eclipse.papyrus.uml.diagram.clazz.tests/test/org/eclipse/papyrus/uml/diagram/clazz/tests/generation    line: 94 /org.eclipse.papyrus.uml.diagram.clazz.tests/test/org/eclipse/papyrus/uml/diagram/clazz/tests/generation/ClassDiagramGenerateTestsWorkflow.xtend   Xtend Problem

Similar problems in other UML diagram test bundles.

Bundle org.eclipse.papyrus.uml.diagram.css:

no viable alternative at input ';'  umlBase.css /org.eclipse.papyrus.uml.diagram.css/theme  line: 237 /org.eclipse.papyrus.uml.diagram.css/theme/umlBase.css    CSS Problem
no viable alternative at input ';'  umlBase.css /org.eclipse.papyrus.uml.diagram.css/theme  line: 237 /org.eclipse.papyrus.uml.diagram.css/theme/umlBase.css    CSS Problem
no viable alternative at input ';'  umlBase.css /org.eclipse.papyrus.uml.diagram.css/theme  line: 28 /org.eclipse.papyrus.uml.diagram.css/theme/umlBase.css CSS Problem
no viable alternative at input ';'  umlBase.css /org.eclipse.papyrus.uml.diagram.css/theme  line: 28 /org.eclipse.papyrus.uml.diagram.css/theme/umlBase.css CSS Problem
no viable alternative at input '*'  umlBase.css /org.eclipse.papyrus.uml.diagram.css/theme  line: 236 /org.eclipse.papyrus.uml.diagram.css/theme/umlBase.css    CSS Problem
no viable alternative at input '*'  umlBase.css /org.eclipse.papyrus.uml.diagram.css/theme  line: 236 /org.eclipse.papyrus.uml.diagram.css/theme/umlBase.css    CSS Problem
no viable alternative at input '*'  umlBase.css /org.eclipse.papyrus.uml.diagram.css/theme  line: 236 /org.eclipse.papyrus.uml.diagram.css/theme/umlBase.css    CSS Problem
no viable alternative at input '*'  umlBase.css /org.eclipse.papyrus.uml.diagram.css/theme  line: 236 /org.eclipse.papyrus.uml.diagram.css/theme/umlBase.css    CSS Problem
no viable alternative at input '*'  umlBase.css /org.eclipse.papyrus.uml.diagram.css/theme  line: 236 /org.eclipse.papyrus.uml.diagram.css/theme/umlBase.css    CSS Problem

and lots more CSS problems like these.

Bundle org.eclipse.papyrus.uml.diagram.paletteconfiguration.editor:

Attribute 'id' of element 'plugin' must be defined. plugin.xml  /org.eclipse.papyrus.uml.diagram.paletteconfiguration.editor    line 7  Plug-in Problem
Attribute 'name' of element 'plugin' must be defined.   plugin.xml  /org.eclipse.papyrus.uml.diagram.paletteconfiguration.editor    line 7  Plug-in Problem
Attribute 'version' of element 'plugin' must be defined.    plugin.xml  /org.eclipse.papyrus.uml.diagram.paletteconfiguration.editor    line 7  Plug-in Problem

and it looks like this project has no code nor manifest?

Bundle org.eclipse.papyrus.releng.tools:

Converter cannot be resolved to a type  GenerateTargetsHandler.java /org.eclipse.papyrus.releng.tools/src/org/eclipse/papyrus/releng/tools/internal/popup/actions   line 235    Java Problem
ICompositeNode cannot be resolved to a type TPDUpdater.java /org.eclipse.papyrus.releng.tools/src/org/eclipse/papyrus/releng/tools/internal/popup/actions   line 119    Java Problem
ILeafNode cannot be resolved to a type  TPDUpdater.java /org.eclipse.papyrus.releng.tools/src/org/eclipse/papyrus/releng/tools/internal/popup/actions   line 122    Java Problem

and more like this on missing packages fr.obeo.releng.targetplatform.*.

In bundle org.eclipse.papyrus.uml.ui.perspectiveconfiguration:

Bundle 'org.eclipse.papyrus.editor.perspectiveconfiguration' cannot be resolved MANIFEST.MF /org.eclipse.papyrus.uml.ui.perspectiveconfiguration/META-INF   line 2  Plug-in Problem
Unknown extension point: 'org.eclipse.papyrus.editor.perspectiveconfiguration'  plugin.xml  /org.eclipse.papyrus.uml.ui.perspectiveconfiguration    line 5  Plug-in Problem

Any suggestions how to fix these problems? I feel as though I must be missing something obvious. I see that the master branch builds don’t fail, so the root cause(s) is/are local, but running the Oomph setup doesn’t seem to resolve them.

Thanks,

Christian







_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev


Back to the top