Page MenuHomePhabricator

collons are added to the VIEW_CLASS name
Closed, InvalidPublic

Description

When generating a bundle with the bundlegenerator, two collons are added to the VIEW_CLASS:

plugin.xml:

<extension point="org.blueberry.ui.views">
  <view id="org.mitk.views.test.plugin"
        name="MITK test"
        class="::QmitkMITKTestPlugin" 
        icon="resources/icon.xpm" />
</extension>

manifest:
POCO_BEGIN_NAMED_MANIFEST(berryIViewPart, berry::IViewPart)

POCO_EXPORT_CLASS(::QmitkMITKTestPlugin)

POCO_END_MANIFEST

This leeds to an error in the view.

Event Timeline

Couldn´t reproduce the error, therefore I have to correct my earlier comment. The collons are still added, but the error doesn't appear.

It works with or without the double colons. This is just a matter of taste.

kislinsk changed the task status from Invalid to Spite.Jun 27 2018, 1:33 PM
kislinsk added a project: Bulk Edit.
kislinsk changed the task status from Spite to Invalid.Jun 27 2018, 1:37 PM
kislinsk removed a project: Bulk Edit.