Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [] Moving to GMF Runtime 1.14 and Batik 1.14 for 2022-03?

Le 02/02/2022 à 14:55, DEVILLE Pauline a écrit :
Hi Pierre-Charles,

Hi Pauline,

We should be ok to publish papyrus M2, pending the new GMF-runtime release. Do not hesitate to deactivate Papyrus from the Simrel and handle your own contributions and we will get back on after you.

I've merged which includes all the patches I hade in separate commits. This disables Papyrus for the moment.

The GMF Runtime version to use is at

It is still an RC and not the final release. There are no other changes planned, but I'd rather wait a little and only promote the final release for M3 to avoid multiplying versions if something else comes up and other changes are needed.

Note that M2+3 is today. If you can not contribute a compatible version of Papyrus today, it will not be in M2 (unless we revert my patch).


Best regards,

-----Message d'origine-----
De : <> De la part de Pierre-Charles David
Envoyé : mardi 1 février 2022 18:50
À :
Objet : Re: [] Moving to GMF Runtime 1.14 and Batik 1.14 for 2022-03?

Le 01/02/2022 à 10:20, Pierre-Charles David a écrit :
Le 31/01/2022 à 15:34, TESSIER Patrick a écrit :
Hi Pierre-Charles,

We have updated Papyrus with the milestone of GMF. See our gerrit
Have you succeed to update Sirius with this milestones?
Not yet. I had to make a new GMF Runtime RC to make sure it uses the
new Xerces 2.12.2 (see the thread on cross-project about the CVE in
earlier versions of Xerces).
It is available at
es/S202202010858/ The only change compared to the RC1 is the Xerces
update (

Sirius also has an explicit dependency on Xerces that needs to be
updated. I'll keep you posted when I have consistent milestones on my
Hopefully today, depending on other priorities.
I had to make yet another GMF Runtime RC (I forgot to update the plug-in version number), so rc3 is at:

A new Sirius milestone (7.0.0M3) which consumes this and updates its dependency to Xerces 2.12.2 is at

I have updated my patch series for contributing these to the SimRel:

Currently it still includes a patch at the end to disabled Papyrus. It was just to very that there was no other projects to synchronize.
I'll abandon that patch, and if you have one to contribute a milestone with a compatible version of Papyrus you can put it on top of:

If the whole series builds I think we can merge all that. Ideally tomorrow for M2, but I don't know where you are in terms of milestones on the Papyrus side.


-----Message d'origine-----
De : <> De la part
de Pierre-Charles David Envoyé : mardi 25 janvier 2022 16:16 À : Objet : Re: [] Moving to
GMF Runtime 1.14 and Batik
1.14 for 2022-03?

Le 25/01/2022 à 11:30, TESSIER Patrick a écrit :
Hi Pierre-Charles,
We have good news.

To be able to use batik 1.14.0 of orbit for papyrus:
- We have declared a bug and propose a
patch for gmf-runtime:
- As soon as the patch is accepted we can commit our patch for
Thanks. I've merged your PR and published a 1.14.1 milestone with it

I'll update Sirius to use this version of GMF, and if testing does
not reveal other issues it will become GMF Runtime 1.14.1 and be
contributed to 2022-03 along with the rest.

Best regards,

-----Message d'origine-----
De : <> De la
part de TESSIER Patrick Envoyé : lundi 24 janvier 2022 11:43 À :
Papyrus Project list <> Objet :
[PROVENANCE INTERNET] Re: [] Moving to GMF Runtime
1.14 and Batik
1.14 for 2022-03?

Hi Pierre-Charles,
We are working on this upgrade, we will inform you on the progress.

-----Message d'origine-----
De : <> De la
part de Pierre-Charles David Envoyé : vendredi 21 janvier 2022 10:03
À : Objet : [] Moving to
GMF Runtime 1.14 and Batik 1.14 for 2022-03?

Hi Papyrus team,

As you may know, for a long time GMF Runtime has depended on very
old versions of Apache Batik (1.6) for its SVG support.

This is a problem for several reasons:

* we don't get the benefits from new features and bug fixes (even
though Batik is not the most active project, there are some,
including changes to support more "recent" versions of Java);
* Batik 1.6 is no longer available in current Orbits, which means
projects like GMF Runtime (and transitively Sirius and Papyrus)
which depend on it have to pull it from very old Orbit repositories.
The platform itself (via e4 which uses Batik's CSS parser)
contributes some Batik JARs from the most recent version into the
SimRel. This leads to duplicate versions of the same bundles in the
main repository, never a good thing.
* there are known CVEs which affect all versions of Batik until the
most recent, v1.14.0.

We've made some efforts in previous years to move to more recent
versions (1.9 at the time), but they failed, mostly because the way
Batik was built/bundled was not OSGi-friendly (split packages, etc.).

Last year, Shiheng Guan (guans@xxxxxxxxxxxx) contributed Batik 1.13
to Orbit and then Michael Istria moved that to 1.14 (to address
In July 2021 I released GMF Runtime 1.14 [1] which used that to
finally move GMF to Batik 1.14.
I did not contribute that to the SimRel for the moment, because it
needs downstream projects (Sirius, Ecore Tools which is based on
Sirius and
Papyrus) to adapt to that version.
We've made the required changes in Sirius last summer [2] and have
not noticed any regression since then (well, except a known one: GMF
1.14 no longer supports exporting to PDFs, as Batik PDF 1.14 is not
available in Orbit).

We will soon release Sirius 7.0 which moves to GMF Runtime and Batik
1.14, and would like to contribute that to the SimRel for 2022-03.
This currently fails [3] because:

       [0]Missing requirement: Papyrus GMF Diagrams Support (org.eclipse.papyrus.infra.gmfdiag.common requires 'osgi.bundle; org.apache.batik.dom
[1.6.0,1.7.0)' but it could not be found

       Bundle(org.apache.batik.dom [1.6.0,1.7.0)) is required by:


Disabling Papyrus from the aggregation [4] works, so it seems no
other project has constraints on older versions of Batik.

    From the URL above (milestones/6.1/M1) it looks like you are
preparing for a 6.1 release.
Do you think it would be possible to include the move to GMF Runtime
1.14 and Batik 1.14 in that release?
It would be great to finally get rid of these old version and
duplicate Batik JARs in the SimRel repo!

Depending on how exactly your code depends on Batik, it might be as
simple as changing the ranges, or it might require some adaptation.
See the patches we had to do in bug #572899, in particular [5] (it's
mostly updating imports as Batik moved some of its classes to
different packages).

BTW, I don't know if you contribute the org.eclipse.papyrus-sirius
part into the SimRel, but if you do you may need to adapt to Sirius
There is a 7.0.0M2 available at [6] which includes most important
changes. See the release notes [7] for details.

Pierre-Charles David (Sirius and GMF Runtime co-lead)

14.0 [2]
/o rg.eclipse.sirius.doc/doc/Release_Notes.textile

Back to the top