Task #2698

RCP: X.X, JavaFX libraries

Ajouté par Matthieu Decorde il y a presque 6 ans. Mis à jour il y a plus d'un an.

Statut:Feedback Début:19/12/2019
Priorité:Normal Echéance:
Assigné à:- % réalisé:

80%

Catégorie:Development Temps passé: -
Version cible:TXM 0.8.4

Description

To enable JavaFX in TXM we need to use JavaFX library and the JavaFX SWT library.

JavaFX SWT library are be loaded in classloader with SWT libraries: in 1 plugin org.txm.libs.javafx and 3 fragments org.txm.libs.javafx.linux, org.txm.libs.javafx.win32 and org.txm.libs.javafx.macosx.

Each fragment contains the JavaFX runtime library (jfxrt.jar) and the JavaFX SWT library (jfxswt.jar).

Validation steps

  • install Media Player extension
  • open a video from "File\Open Media file..."

Demandes liées

lié à Feature #2739: RCP: X.X, Replace VLC player with JFX player Closed 23/01/2020

Historique

#1 Mis à jour par Matthieu Decorde il y a presque 6 ans

  • Description mis à jour (diff)

#2 Mis à jour par Serge Heiden il y a presque 6 ans

There is maybe also the org.osgi.framework.system.packages.extra property to drive the osgi boot classpath.

#3 Mis à jour par Serge Heiden il y a presque 6 ans

Documentation

#4 Mis à jour par Matthieu Decorde il y a plus de 5 ans

  • % réalisé changé de 0 à 80

javafx plugins (4: core, linux, win32 and macosx) are shipped in the TXM main update

#5 Mis à jour par Sebastien Jacquot il y a plus de 5 ans

  • % réalisé changé de 80 à 60

We do not need to publish a new installer to modify launcher arguments but should look at the P2.inf mechanism.
P2 offers a way for bundles to execute some commands at different stage of an installation or an uninstallation.
Commands can for example, change file rights, change JVM path, add/remove JVM launcher args, copy/delete files, etc.

See: https://help.eclipse.org/2019-12/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html
https://wiki.eclipse.org/Equinox/p2/Engine

#6 Mis à jour par Sebastien Jacquot il y a plus de 5 ans

New proposal

Add a p2.inf file to the root of org.txm.libs.javafx.feature containing the following touchpoint actions:

instructions.configure = org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg(jvmArg:-Dorg.osgi.framework.bundle.parent=ext);
instructions.unconfigure = org.eclipse.equinox.p2.touchpoint.eclipse.removeJVMArg(jvmArg:-Dorg.osgi.framework.bundle.parent=ext);

#7 Mis à jour par Sebastien Jacquot il y a plus de 5 ans

  • Tracker changé de Feature à Task
  • Description mis à jour (diff)
  • Catégorie mis à Development
  • Statut changé de New à Feedback
  • Version cible changé de TXM 0.8.2 à TXM 0.8.1
  • % réalisé changé de 60 à 80

#8 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Version cible changé de TXM 0.8.1 à TXM 0.8.4

Formats disponibles : Atom PDF