Skip to main content



      Home
Home » Modeling » Papyrus » Question about C/C++ Project Page
Question about C/C++ Project Page [message #1866009] Fri, 17 May 2024 10:25 Go to next message
Eclipse UserFriend
Hello,

For the C++ code generation in the tool I am developing, I call a class that opens a popup to select the project. Until now, this would open the Papyrus selection page (C++ Project Page) to choose the desired toolchain: Cygwin, MinGW, etc.
Now, when I select the project and confirm the selection, the code generation is automatically launched using Cross GCC.

Have there been any recent changes?
What changes need to be made to retrieve the C++ Project Page ?

I'm using the nightly Papyrus Designer target:
"https://ci.eclipse.org/papyrus/job/papyrus-designer-2023-03/lastSuccessfulBuild/artifact/releng/org.eclipse.papyrus.designer.p2/target/repository/"

If you have any ideas, I would appreciate them!
Thank you.

Antoine

Moreover, even though I have selected the Cygwin toolchain as the "preferred Toolchains" in the preferences ("Make toolchain(s) preferred" in C/C++ -> New C/C++ Project Wizard), it is not being taken into account.
Re: Question about C/C++ Project Page [message #1866171 is a reply to message #1866009] Wed, 22 May 2024 08:52 Go to previous messageGo to next message
Eclipse UserFriend
Dear Antoine,

the creation of C++ projects has changed in the context of separating UI and non-UI plugins (called by Papyrus web in the future). The older implementation requiring the UI is based on the C++ project wizard. It is still available, but has been moved to a new plugin called org.eclipse.papyrus.designer.languages.cpp.cdt.project.ui (the implementation of the existing plugin changed and chooses the first compatible toolchain automatically).
The existing way should still be used by default, if the UI is available, but this is only the case for direct code generation, not if you pass by a transformation chain. Can you please enter a bug? (using the designer gitlab page)

[Updated on: Wed, 22 May 2024 08:53] by Moderator

Re: Question about C/C++ Project Page [message #1866249 is a reply to message #1866171] Thu, 23 May 2024 09:20 Go to previous messageGo to next message
Eclipse UserFriend
Thank you for the answer.

issue created : https://gitlab.eclipse.org/eclipse/papyrus/org.eclipse.papyrus-designer/-/issues/10

Regards,

Antoine
Re: Question about C/C++ Project Page [message #1866717 is a reply to message #1866249] Wed, 05 June 2024 11:13 Go to previous messageGo to next message
Eclipse UserFriend
Hi Antoine,

the nightly build now has a new preference option that controls whether new project creation passes by the wizard or is done automatically. The default option is to use the wizard, as before. Can you please test?

Ansgar
Re: Question about C/C++ Project Page [message #1866747 is a reply to message #1866717] Thu, 06 June 2024 04:53 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ansgar,
This works perfectly.
Please note that the default option is not to use the wizard.

Antoine
Re: Question about C/C++ Project Page [message #1866765 is a reply to message #1866747] Thu, 06 June 2024 09:03 Go to previous message
Eclipse UserFriend
Hi Antoine,
thanks for the swift reply and the remark related to the default option. The new plugin.xml that registers the default initializer was not in the binary build (missing in build.properties). I will correct that asap.
Previous Topic:Usage (Create usage link)
Next Topic:FMI based cosimulation
Goto Forum:
  


Current Time: Tue Apr 29 08:19:56 EDT 2025

Powered by FUDForum. Page generated in 0.03985 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top