Feature #2092

RCP: X.X, move ".txm" directory in the "TXM" user directory

Added by Serge Heiden about 6 years ago. Updated over 5 years ago.

Status:New Start date:03/30/2017
Priority:Urgent Due date:
Assignee:- % Done:


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


Currently the .txm directory, which stores the TXM user preferences storing critical settings for TXM operation like where is TXM user home, where are the search engine binaries and the statistical engine, the corpora registries, the TreeTagger binaries and linguistic models, etc., is managed by a user preference independent of the TXM user home directory preference (aka $HOME/TXM).

In some operating systems like Windows, the .txm directory is set in the user "%AppData%" environment directory which management can be transient in some settings. Typically for roaming type user accounts in teaching room computers. In such settings the AppData directory can be regularly CLEANED, for example when leaving the Windows user session (which means that the TXM user preferences settings are removed and lost), or its contents removed partially unpredictably.

The result is that some TXM installations in Windows teaching room computers can't be reliable or are impossible to use reliably. TXM can work at one moment (for example until the first or second TXM run) and stop working unpredictably.


Move the .txm directory into the TXM user directory.

  • it simplifies TXM settings
  • it makes a move toward "archive drop in installation" of TXM

Related issues

related to Bug #1826: RCP: 0.7.7, Windows network accounts not saving preferences New 07/19/2016


#1 Updated by Serge Heiden about 6 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot about 6 years ago

About the launcher.ini arguments and RCP configuration locations: https://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html&anchor=locations

For information, TXM uses at this moment the InstanceScope to save the plug-ins .prefs files (aka the Workspace), so the linked argument is osgi.instance.area (shortcut: -data). (the actual TXM.bat defines it as -data "%appdata%\.txm")

#3 Updated by Matthieu Decorde almost 6 years ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.7.8

#4 Updated by Matthieu Decorde almost 6 years ago

  • % Done changed from 0 to 80

still some bugs during TXM post-installation step that restart the post-installation step

#5 Updated by Matthieu Decorde almost 6 years ago

  • % Done changed from 80 to 60

#6 Updated by Matthieu Decorde almost 6 years ago

  • % Done changed from 60 to 80

#7 Updated by Matthieu Decorde over 5 years ago

  • Description updated (diff)

Also available in: Atom PDF