Feature #2092

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

Ajouté par Serge Heiden il y a presque 2 ans. Mis à jour il y a plus d'un an.

Statut:New Début:30/03/2017
Priorité:Urgent Echéance:
Assigné à:- % réalisé:

80%

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

Description

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.

Solution

Move the .txm directory into the TXM user directory.

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

Demandes liées

lié à Bug #1826: RCP: 0.7.7, Windows network accounts not saving preferences New 19/07/2016

Historique

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

  • Description mis à jour (diff)

#2 Mis à jour par Sebastien Jacquot il y a presque 2 ans

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 Mis à jour par Matthieu Decorde il y a plus d'un an

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.7.8

#4 Mis à jour par Matthieu Decorde il y a plus d'un an

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

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

#5 Mis à jour par Matthieu Decorde il y a plus d'un an

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

#6 Mis à jour par Matthieu Decorde il y a plus d'un an

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

#7 Mis à jour par Matthieu Decorde il y a plus d'un an

  • Description mis à jour (diff)

Formats disponibles : Atom PDF