Bug 530060

Summary: Papyrus C++ code generation is disabled
Product: [Modeling] Papyrus Reporter: Madhav Srinivasan <madhav.sn>
Component: DesignerAssignee: Project Inbox <mdt-papyrus-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ansgar.radermacher
Version: 2.0.3Keywords: bugday, helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Madhav Srinivasan CLA 2018-01-19 16:26:17 EST
Hi,
I have Eclipse Neon Modeling tool 4.6.3. I have installed Papyrus 2.0.3 and Papyrus Designer CPP from Help > Install Papyrus Additional Components. I went through the step by step process of creating hello world code generation document using the link below. 

https://wiki.eclipse.org/Papyrus/Codegen/CppHelloWorld#Setup

But when I get to the part of generating the code: Right Click > Designer > Generate C++ code, I get a pop up window "The chosen operation is not enabled". 

Can you please help in resolving the issue ?

thanks,
Madhav.



-- Configuration Details --
Product: Eclipse 4.6.3.20170314-1500 (org.eclipse.epp.package.modeling.product)Installed Features:
 org.eclipse.pde 3.12.3.v20170301-0400
Comment 1 Madhav Srinivasan CLA 2018-01-19 17:01:41 EST
Papyrus C++ designer version is 1.0.5
Comment 2 Ansgar Radermacher CLA 2018-01-21 05:00:14 EST
The issue is probably caused by a bad dependency that has been solved in bug 518913. This dependency enabled the installation of version 1.0.5 for oxygen on an Eclipse neon.

Try to either upgrade to Eclipse oxygen or downgrade Papyrus SW designer to version 1.0.4. The latter can be done by appending a /neon to the update site, i.e. use http://download.eclipse.org/modeling/mdt/papyrus/components/designer/neon/
Comment 3 Madhav Srinivasan CLA 2018-01-25 17:09:09 EST
Downgrading to 1.0.4 works. thanks for the help.
Comment 4 Ansgar Radermacher CLA 2018-01-29 07:06:41 EST
I'm closing the bug. The tag "fixed" anticipates that a new release will be made in a couple of week. See comment 2.