Task #3148
Mis à jour par Matthieu Decorde il y a environ 4 ans
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.
h3. 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"
<pre>
<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>
</pre>
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
h3. Solution B
Patch the right plugin.xml file before opening the About dialog
h3. Solution C
Manually Patch the about content before building
h3. 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"
<pre>
<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>
</pre>
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
h3. Solution B
Patch the right plugin.xml file before opening the About dialog
h3. Solution C
Manually Patch the about content before building