Skip to main content



      Home
Home » Modeling » Papyrus » How to fix plugin version number problems with "nightly" update site
How to fix plugin version number problems with "nightly" update site [message #1863853] Fri, 01 March 2024 05:57 Go to next message
Eclipse UserFriend
Hello,

I'm using https://ci.eclipse.org/papyrus/job/papyrus-designer-2023-03/lastSuccessfulBuild/artifact/releng/org.eclipse.papyrus.designer.p2/target/repository/. as a code generator for an RCP based on Papyrus 2023-12.

During the maven build in Jenkins, I get this error:

[ERROR] Failed to resolve target definition file:/var/jenkins_home/jobs/Activity_Test/workspace/releng/target-definition/org.eclipse.papyrus.sim4sys.rcp.portable.target: Could not find "org.eclipse.papyrus.designer.test.feature.feature.group/3.0.0.202402270142" in the repositories of the current location -> [Help 1].

Of course, the version number proposed during the lastsuccessfulBuild is: 3.0.0.202403010142

How can I retrieve a Site update from a previous commit on this branch to point to the correct version?
Is there another solution?

Regards,

Antoine

Re: How to fix plugin version number problems with "nightly" update site [message #1863891 is a reply to message #1863853] Mon, 04 March 2024 05:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi Antoine,

If you are not bound to a specific version of designer (3.0.0.202402270142) and only depend on 3.0.0 you might want to add a lazy dependency (e.g. "lazy" tag in you tpd or 0.0.0 in you target).
This should resolve your current problem.

HTH,
/Quentin

[Updated on: Mon, 04 March 2024 05:58] by Moderator

Re: How to fix plugin version number problems with "nightly" update site [message #1863906 is a reply to message #1863891] Tue, 05 March 2024 05:51 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for your answer.
I thought that when the .tpd file was correctly written with "lazy", it was automatically set to 0.0.0 in the .target file. The manual change solved the problem (go to the "source" tab of the .target file).
Re: How to fix plugin version number problems with "nightly" update site [message #1863942 is a reply to message #1863906] Thu, 07 March 2024 08:00 Go to previous message
Eclipse UserFriend
Hi Antoine,
you should generate your target file from your tpd file with the simrel tool. You have the documentation here to install the tooling : https://github.com/eclipse-cbi/targetplatform-dsl

HTH,
Vincent
Previous Topic:Papyrus Extension Points
Next Topic:dependencies not found in Orbit
Goto Forum:
  


Current Time: Sun Aug 31 11:12:30 EDT 2025

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

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

Back to the top