Task #3148

Help, update about dialog message

Added by Matthieu Decorde about 1 month ago. Updated about 1 month ago.

Status:New Start date:09/06/2021
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Setup Spent time: -
Target version:TXM 0.8.3

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

History

#1 Updated by Matthieu Decorde about 1 month ago

  • Target version changed from TXM 0.8.2 to TXM 0.8.3

#2 Updated by Matthieu Decorde about 1 month ago

  • Target version changed from TXM 0.8.3 to TXM 0.8.2

#3 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)
  • Target version changed from TXM 0.8.2 to TXM 0.8.3

#4 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)

Also available in: Atom PDF