eclipse-capella / capella

Open Source Solution for Model-Based Systems Engineering
https://mbse-capella.org
Eclipse Public License 2.0
239 stars 98 forks source link

Fix disable.nebula.richtext property. #2740

Closed jeffallen closed 9 months ago

jeffallen commented 1 year ago

In v6.1.0, I am trying to work around #2316 by using the line

disable.nebula.richtext=true

in my config.ini file. When I do that, I get errors at runtime from this call to setBaseHREF.

I have also found that it is impossible to build v6.1.0 right now, because Sirius 7.1.0 has gone missing from the distribution site. Here is the patch I needed to make to be able to build this at all:

diff --git a/releng/plugins/org.polarsys.capella.targets/full/capella.target-definition.targetplatform b/releng/plugins/org.polarsys.capella.targets/full/capella.target-definition.targetplatform
index 56d2674f9b..fedd4e6d0b 100644
--- a/releng/plugins/org.polarsys.capella.targets/full/capella.target-definition.targetplatform
+++ b/releng/plugins/org.polarsys.capella.targets/full/capella.target-definition.targetplatform
@@ -64,7 +64,7 @@ location Xerces-2.12.2 "https://download.eclipse.org/modeling/gmp/gmf-runtime/up
        org.apache.xerces
 }

-location sirius "https://download.eclipse.org/sirius/updates/stable/7.1.0-S20230302-034329/2021-06" {
+location sirius "https://download.eclipse.org/sirius/updates/stable/7.2.0-S20230616-100446/2023-03" {
        org.eclipse.sirius.doc.feature.feature.group
        org.eclipse.sirius.doc.feature.source.feature.group
        org.eclipse.sirius.runtime.source.feature.group

I am hoping that maybe this dependency is cached on the build server, and that this PR will build anyway.

eclipse-capella-bot commented 1 year ago

:rocket: Build master-PR-2740-1 started!

eclipse-capella-bot commented 1 year ago

:disappointed: Build master-PR-2740-1 failed!

jeffallen commented 1 year ago

This build failed because of the missing dependency I mentioned above. Do one of the Capella maintainers know people on the Sirius team, in order to solve this first?

eclipse-capella-bot commented 1 year ago

:rocket: Build master-PR-2740-2 started!

pdulth commented 1 year ago

Hi, Looks good yes. I think the build failed due to your master branch being not up-to-date with the intended target version.

eclipse-capella-bot commented 1 year ago

:disappointed: Build master-PR-2740-2 failed!

jeffallen commented 1 year ago

What I want is for rich text editing to work on Linux with v6.1.x. What I'm willing to settle for is the ability to at least turn off rich text editing in some hypothetical to-be-released v6.1.1. So that's why I based this PR on tag V6.1.0.

jeffallen commented 1 year ago

😞 Build master-PR-2740-2 failed!

This build failure is now about javadoc, so my last commit apparently fixed the missing dependency problem.

jeffallen commented 1 year ago

I have rebased onto master. I will take care of building a v6.1.0+PR2740 binary for my colleagues to use to work around the problem with the editor.

eclipse-capella-bot commented 1 year ago

:rocket: Build master-PR-2740-3 started!

eclipse-capella-bot commented 1 year ago

:worried: Build master-PR-2740-3 is unstable! The product is available here.

eclipse-capella-bot commented 1 year ago

:rocket: Build master-PR-2740-4 started!

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

eclipse-capella-bot commented 1 year ago

:thumbsup: Build master-PR-2740-4 is successfull! The product is available here.

jeffallen commented 9 months ago

This is apparently not going to be merged. We still need a build with this in it, so I'm sending through another PR for that, and will close it too.