Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CamiTK Community Edition CamiTK Community Edition
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • CamiTKCamiTK
  • CamiTK Community EditionCamiTK Community Edition
  • Issues
  • #76
Closed
Open
Issue created Nov 08, 2018 by Matthias Tummers@tummersmDeveloper

change the Q_PLUGIN_METADATA(IID ... string in cep wizzard

As a CEP developer
I would like to not forget anything and have a clearer understanding of some generated code
So that I can avoid mistakes when I manipulate extension after they are generated by the wizard
Epic/Topics

Description / Overview

Change the

Q_PLUGIN_METADATA(IID "fr.imag.camitk.wizardgenerated.component.myNewComponentExtension")

string to something like

"fr.imag.camitk.myCepName.component.myNewComponentExtension"

or anything that does not include wizardgenerated as this is very confusing.

When users copy this code to manually to create new components/actions they might be rightfully tricked into leaving this line out.

Hints

Modify corresponding cepgenerator code

Acceptance tests

tmpDir=$(mktemp -d)
cd /path/to/buildir
bin/camitk-cepgenerator -f /path/to/camitk/sdk/libraries/cepcoreschema/testdata/actionAndComponent.xml -d $tmpDir
found=$(find $tmpDir -name "*.h" | xargs grep wizardgenerated)
if [ "$found" == "" ]; then echo "Passed"; else echo "Failed"; fi
Edited Dec 05, 2018 by Emmanuel Promayon
Assignee
Assign to
Time tracking