Task #3148

Help, update about dialog message

Ajouté par Matthieu Decorde il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:New Début:06/09/2021
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

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

Description

The About dialog message is set in the "org.txm.rcp/plugin.xml" file and could be modified after building TXM in the setup&maj scripts.

Solution A

  • set the plugin.xml about message to "ABOUT_MESSAGE_CONTENT"
  • Externalize the message content in the "org.txm.rcp/about.txt" file
  • in build scripts, update the org.txm.rcp/plugin.xml file:
    • replace "ABOUT_MESSAGE_CONTENT" with the "about.txt" content
    • replace "TXM_BUILD_VERSION" with the org.txm.rcp build version
org.txm.rcp build version is found in :
  • XML file "org.txm.setups/exportRCP/repository/artifact.jar/content.xml"
    <artifact classifier='org.eclipse.update.feature' id='org.txm.rcp.feature' version='0.8.2.202109161600'>
     <properties size='2'>
      <property name='download.contentType' value='application/zip'/>
      <property name='download.size' value='2638'/>
     </properties>
    </artifact>
    

    plugin.xml files to update:
  • org.txm.setups/exportRCP/win32.win32.x86_64/TXM/plugins/org.txm.rcp_0.8.2.202109161600/plugin.xml
  • org.txm.setups/exportRCP/linux.gtk.x86_64/TXM/plugins/org.txm.rcp_0.8.2.202109161600/plugin.xml
  • org.txm.setups/exportRCP/macosx.cocoa.x86_64/TXM/plugins/org.txm.rcp_0.8.2.202109161600/plugin.xml
  • org.txm.setups/exportRCP/exportRCP/repository/plugins/org.txm.rcp_0.8.2.202109161600.jar

Solution B

Patch the right plugin.xml file before opening the About dialog

Solution C

Manually Patch the about content before building

Historique

#1 Mis à jour par Matthieu Decorde il y a environ 4 ans

  • Version cible changé de TXM 0.8.2 à TXM 0.8.4

#2 Mis à jour par Matthieu Decorde il y a environ 4 ans

  • Version cible changé de TXM 0.8.4 à TXM 0.8.2

#3 Mis à jour par Matthieu Decorde il y a environ 4 ans

  • Description mis à jour (diff)
  • Version cible changé de TXM 0.8.2 à TXM 0.8.4

#4 Mis à jour par Matthieu Decorde il y a environ 4 ans

  • Description mis à jour (diff)

Formats disponibles : Atom PDF