Révision 3700

TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/preferences/AdvancedPreferencePage.java (revision 3700)
59 59
	@Override
60 60
	protected void createFieldEditors() {
61 61
		
62
		// install directory
63
		// addField(new DirectoryFieldEditor(TBXPreferences.INSTALL_DIR, TXMUIMessages.tXMInstallDirectory, getFieldEditorParent()));
64
		
65
		// txmhome directory
66
		// addField(new DirectoryFieldEditor(TBXPreferences.USER_TXM_HOME, TXMUIMessages.tXMUserDirectory, getFieldEditorParent()));
67
		
68 62
		Group updateGroup = new Group(getFieldEditorParent(), SWT.NONE);
69 63
		updateGroup.setText(TXMUIMessages.logs);
70 64
		GridData gridData2 = new GridData(SWT.FILL, SWT.FILL, true, false);
......
104 98
		addField(new BooleanFieldEditor(TBXPreferences.LOG_IN_FILE, TXMUIMessages.logInAFile, updateGroup));
105 99
		
106 100
		// Update level
107
		String[][] choices2 = new String[4][2];
101
		String[][] choices2 = new String[2][2];
108 102
		choices2[0][0] = choices2[0][1] = "STABLE"; //$NON-NLS-1$
109 103
		choices2[1][0] = choices2[1][1] = "BETA"; //$NON-NLS-1$
110
		choices2[2][0] = choices2[2][1] = "ALPHA"; //$NON-NLS-1$
111
		choices2[3][0] = choices2[3][1] = "DEV"; //$NON-NLS-1$
104
//		choices2[2][0] = choices2[2][1] = "ALPHA"; //$NON-NLS-1$
105
//		choices2[3][0] = choices2[3][1] = "DEV"; //$NON-NLS-1$
112 106
		addField(new ComboFieldEditor(RCPPreferences.UPDATE_LEVEL, TXMUIMessages.updateLevel, choices2, getFieldEditorParent()));
113
		
114 107
	}
115 108
	
116 109
	/*
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/ApplicationWorkbenchAdvisor.java (revision 3700)
942 942
			public void run() {
943 943
				try {
944 944
					System.out.println(getTXMStartMessage());
945
					if ("BETA".equals(RCPPreferences.getInstance().getString(RCPPreferences.UPDATE_LEVEL))) {
946
						System.out.println("WARNING: TXM IS CURRENTLY RUNNING IN TEST MODE.");
947
						System.out.println("         Change update level to STABLE and remove the tested extension&updates if you need to work.");
948
					}
945 949

  
946 950
					// ensure some preferences are set
947 951
					DefaultScope.INSTANCE.getNode("org.eclipse.ui.workbench").putBoolean(IPreferenceConstants.RUN_IN_BACKGROUND, false); //$NON-NLS-1$ //$NON-NLS-2$ $NON-NLS-2$
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/p2/plugins/TXMUpdateHandler.java (revision 3700)
35 35
import org.eclipse.equinox.p2.repository.metadata.IMetadataRepositoryManager;
36 36
import org.eclipse.equinox.p2.ui.ProvisioningUI;
37 37
import org.eclipse.osgi.util.NLS;
38
import org.eclipse.swt.SWT;
39 38
import org.eclipse.swt.widgets.Display;
40 39
import org.eclipse.swt.widgets.Shell;
41 40
import org.eclipse.ui.console.ConsolePlugin;
42
import org.eclipse.ui.console.IConsole;
43 41
import org.eclipse.ui.console.IOConsole;
44
import org.eclipse.ui.handlers.HandlerUtil;
45 42
import org.osgi.framework.Version;
46 43
import org.txm.core.preferences.TBXPreferences;
47 44
import org.txm.rcp.Activator;
48 45
import org.txm.rcp.messages.TXMUIMessages;
49 46
import org.txm.rcp.preferences.RCPPreferences;
50
import org.txm.rcp.swt.dialog.TXMMessageBox;
51 47
import org.txm.utils.BundleUtils;
52
import org.txm.utils.OSDetector;
53 48
import org.txm.utils.logger.Log;
54 49
import org.txm.utils.zip.GZip;
55 50

  
......
309 304
		}
310 305
		
311 306
		String updateLevel = RCPPreferences.getInstance().getString(RCPPreferences.UPDATE_LEVEL);
312
		boolean alphaMode = false;
313 307
		boolean betaMode = false;
314
		boolean devMode = false;
315
		if ("DEV".equals(updateLevel)) {//$NON-NLS-1$
316
			devMode = alphaMode = betaMode = true;
317
		}
318
		else if ("ALPHA".equals(updateLevel)) {//$NON-NLS-1$
319
			alphaMode = betaMode = true;
320
		}
321
		else if ("BETA".equals(updateLevel)) {//$NON-NLS-1$
308
		if ("BETA".equals(updateLevel)) {//$NON-NLS-1$
322 309
			betaMode = true;
323 310
		}
324
		Log.fine("Update levels: dev=" + devMode + " alpha=" + alphaMode + " beta=" + betaMode); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
325
		
326
		String uriDev = uriBase + "/dev";//$NON-NLS-1$
327
		try {
328
			URI repoUriDev = new URI(uriDev);
329
			if (devMode) {
330
				addURL(agent, repoUriDev, "dev"); //$NON-NLS-1$
331
			}
332
			else {
333
				removeURL(agent, repoUriDev);
334
			}
335
		}
336
		catch (Exception e) {
337
			Log.warning(TXMUIMessages.bind(TXMUIMessages.CouldNotAddTheP0UpdateRepositoryP1, uriDev, e));
338
			Log.printStackTrace(e);
339
		}
340
		
341
		String uriAlpha = uriBase + "/alpha";//$NON-NLS-1$
342
		try {
343
			URI repoUriAlpha = new URI(uriAlpha);
344
			if (alphaMode) {
345
				addURL(agent, repoUriAlpha, "alpha"); //$NON-NLS-1$
346
			}
347
			else {
348
				removeURL(agent, repoUriAlpha);
349
			}
350
		}
351
		catch (Exception e) {
352
			Log.warning(TXMUIMessages.bind(TXMUIMessages.CouldNotAddTheP0UpdateRepositoryP1, uriAlpha, e));
353
			Log.printStackTrace(e);
354
		}
355
		
311
		Log.fine("Update mode: beta=" + betaMode); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
312
				
356 313
		String uriBeta = uriBase + "/beta";//$NON-NLS-1$
357 314
		try {
358 315
			URI repoUriBeta = new URI(uriBeta);
......
387 344
		}
388 345
		
389 346
		String updateLevel = RCPPreferences.getInstance().getString(RCPPreferences.UPDATE_LEVEL);
390
		boolean alphaMode = false;
391 347
		boolean betaMode = false;
392
		boolean devMode = false;
393
		if ("DEV".equals(updateLevel)) {//$NON-NLS-1$
394
			devMode = alphaMode = betaMode = true;
395
		}
396
		else if ("ALPHA".equals(updateLevel)) {//$NON-NLS-1$
397
			alphaMode = betaMode = true;
398
		}
399
		else if ("BETA".equals(updateLevel)) {//$NON-NLS-1$
348
		if ("BETA".equals(updateLevel)) {//$NON-NLS-1$
400 349
			betaMode = true;
401 350
		}
402
		Log.fine("Update levels: dev=" + devMode + " alpha=" + alphaMode + " beta=" + betaMode); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
403
		
404
		String uriDev = uriBase + "/dev";//$NON-NLS-1$
405
		try {
406
			URI repoUriDev = new URI(uriDev);
407
			if (devMode) {
408
				addURL(agent, repoUriDev, "dev"); //$NON-NLS-1$
409
			}
410
			else {
411
				removeURL(agent, repoUriDev);
412
			}
413
		}
414
		catch (Exception e) {
415
			Log.warning(TXMUIMessages.bind(TXMUIMessages.CouldNotAddTheP0ExtensionsUpdateRepositoryP1, uriDev, e));
416
			Log.printStackTrace(e);
417
		}
418
		
419
		String uriAlpha = uriBase + "/alpha";//$NON-NLS-1$
420
		try {
421
			URI repoUriAlpha = new URI(uriAlpha);
422
			if (alphaMode) {
423
				addURL(agent, repoUriAlpha, "alpha"); //$NON-NLS-1$
424
			}
425
			else {
426
				removeURL(agent, repoUriAlpha);
427
			}
428
		}
429
		catch (Exception e) {
430
			Log.warning(TXMUIMessages.bind(TXMUIMessages.CouldNotAddTheP0ExtensionsUpdateRepositoryP1, uriAlpha, e));
431
			Log.printStackTrace(e);
432
		}
433
		
351
		Log.fine("Update levels: beta=" + betaMode); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
352
				
434 353
		String uriBeta = uriBase + "/beta";//$NON-NLS-1$
435 354
		try {
436 355
			URI repoUriBeta = new URI(uriBeta);
......
445 364
			Log.warning(TXMUIMessages.bind(TXMUIMessages.CouldNotAddTheP0ExtensionsUpdateRepositoryP1, uriBeta, e));
446 365
			Log.printStackTrace(e);
447 366
		}
448
		
449 367
	}
450 368
	
451 369
	public static boolean addURL(IProvisioningAgent agent, URI location, String level) {
452
		IMetadataRepositoryManager manager = (IMetadataRepositoryManager) agent
453
				.getService(IMetadataRepositoryManager.SERVICE_NAME);
454
		IArtifactRepositoryManager manager2 = (IArtifactRepositoryManager) agent
455
				.getService(IArtifactRepositoryManager.SERVICE_NAME);
370
		IMetadataRepositoryManager manager = (IMetadataRepositoryManager) agent.getService(IMetadataRepositoryManager.SERVICE_NAME);
371
		IArtifactRepositoryManager manager2 = (IArtifactRepositoryManager) agent.getService(IArtifactRepositoryManager.SERVICE_NAME);
456 372
		
457 373
		if (manager == null) {
458 374
			System.out.println("No metadata repository manager found"); //$NON-NLS-1$
......
484 400
		}
485 401
		
486 402
		try {
487
			// manager.removeRepository(location)
488 403
			manager2.loadRepository(location, null);
489 404
			return true;
490 405
		}
......
505 420
	}
506 421
	
507 422
	public static boolean removeURL(IProvisioningAgent agent, URI location) {
508
		IMetadataRepositoryManager manager = (IMetadataRepositoryManager) agent
509
				.getService(IMetadataRepositoryManager.SERVICE_NAME);
510
		IArtifactRepositoryManager manager2 = (IArtifactRepositoryManager) agent
511
				.getService(IArtifactRepositoryManager.SERVICE_NAME);
512 423
		
424
		IMetadataRepositoryManager manager = (IMetadataRepositoryManager) agent.getService(IMetadataRepositoryManager.SERVICE_NAME);
425
		IArtifactRepositoryManager manager2 = (IArtifactRepositoryManager) agent.getService(IArtifactRepositoryManager.SERVICE_NAME);
426
		
513 427
		if (manager == null) {
514 428
			Log.severe("No metadata repository manager found"); //$NON-NLS-1$
515 429
			return false;
TXM/trunk/bundles/org.txm.core/src/java/org/txm/core/preferences/TBXPreferences.java (revision 3700)
6 6
import org.txm.Toolbox;
7 7

  
8 8
public class TBXPreferences extends TXMPreferences {
9
	
9

  
10 10
	public static String VERSION = "version";
11
	
11

  
12 12
	public static final String FETCH_UPDATES_AT_STARTUP = "fetch_updates_at_startup";
13
	
13

  
14 14
	/** The Constants for Toolbox properties. */
15 15
	public static final String LOG_LEVEL = "log_level"; //$NON-NLS-1$
16
	
16

  
17 17
	public static final String ADD_TECH_LOGS = "log_in_console"; //$NON-NLS-1$
18
	
18

  
19 19
	public static final String SHOW_TIMINGS = "show_timings"; //$NON-NLS-1$
20
	
20

  
21 21
	public static final String LOG_DIR = "log_directory"; //$NON-NLS-1$
22
	
22

  
23 23
	public static final String LOG_IN_FILE = "log_in_file"; //$NON-NLS-1$
24
	
24

  
25 25
	public static final String EXPERT_USER = "txm_expert_user"; //$NON-NLS-1$
26
	
26

  
27 27
	public static final String LOG_STACKTRACE = "log_stacktrace"; //$NON-NLS-1$
28
	
28

  
29 29
	/** The Constant SCRIPT_ROOT_DIR. */
30 30
	public static final String SCRIPT_ROOT_DIR = "script_root_dir"; //$NON-NLS-1$
31
	
31

  
32 32
	/** The Constant SCRIPT_CURRENT_DIR. */
33 33
	public static final String SCRIPT_CURRENT_DIR = "script_current_dir"; //$NON-NLS-1$
34
	
34

  
35 35
	/** The Constant UI_LOCALE. */
36 36
	public static final String UI_LOCALE = "ui_locale"; //$NON-NLS-1$
37
	
37

  
38 38
	/** The Constant INSTALL_DIR. */
39 39
	public static final String INSTALL_DIR = "install_dir"; //$NON-NLS-1$
40
	
40

  
41 41
	/** The Constant USER_TXM_HOME. */
42 42
	public static final String USER_TXM_HOME = "user_txm_home"; //$NON-NLS-1$
43
	
43

  
44 44
	public static final String METADATA_ENCODING = "metadata_encoding"; //$NON-NLS-1$
45
	
45

  
46 46
	public static final String METADATA_COLSEPARATOR = "metadata_colseparator"; //$NON-NLS-1$
47
	
47

  
48 48
	public static final String METADATA_TXTSEPARATOR = "metadata_txtseparator"; //$NON-NLS-1$
49
	
49

  
50 50
	public static final String EMPTY_PROPERTY_VALUE_CODE = "empty_property_value_code";
51
	
51

  
52 52
	public static final String CLIPBOARD_IMPORT_DEFAULT_LANG = "import_default_lang";
53
	
53

  
54 54
	/** The Constant EXPORT_SHOW. */
55 55
	public static final String EXPORT_SHOW = "export_show"; //$NON-NLS-1$
56
	
56

  
57 57
	/** The Constant EXPORT_ENCODING. */
58 58
	public static final String EXPORT_ENCODING = "export_encoding"; //$NON-NLS-1$
59
	
59

  
60 60
	/** The Constant EXPORT_COLSEPARATOR. */
61 61
	public static final String EXPORT_COL_SEPARATOR = "export_colseparator"; //$NON-NLS-1$
62
	
62

  
63 63
	/** The Constant EXPORT_TXTSEPARATOR. */
64 64
	public static final String EXPORT_TXT_SEPARATOR = "export_txtseparator"; //$NON-NLS-1$
65
	
65

  
66 66
	public static final String EDITION_DEFINITION_BUILD = "edition_definition_build"; //$NON-NLS-1$
67
	
67

  
68 68
	public static final String EDITION_DEFINITION_PAGINATE = "edition_definition_paginate"; //$NON-NLS-1$
69
	
69

  
70 70
	public static final String EDITION_DEFINITION_WORDS_PER_PAGE = "edition_definition_words_per_page"; //$NON-NLS-1$
71
	
71

  
72 72
	public static final String EDITION_DEFINITION_ENABLE_COLLAPSIBLE_METADATA = "edition_definition_enable_collapsible"; //$NON-NLS-1$
73
	
73

  
74 74
	public static final String EDITION_DEFINITION_PAGE_BREAK_ELEMENT = "edition_definition_page_break_element"; //$NON-NLS-1$
75
	
75

  
76 76
	public static final String EDITION_DEFINITION_IMAGES_DIRECTORY = "edition_definition_images_directory"; //$NON-NLS-1$
77
	
77

  
78 78
	public static final String EDITION_DEFINITION_TOOLTIP_PROPERTIES = "edition_definition_tooltip_properties"; //$NON-NLS-1$
79
	
79

  
80 80
	/**
81 81
	 * To show or not all nodes in some views, eg. in CorporaView tree.
82 82
	 */
83 83
	public static final String SHOW_ALL_RESULT_NODES = "show_all_result_nodes"; //$NON-NLS-1$
84
	
84

  
85 85
	/*
86 86
	 * Base URL of TXM update site
87 87
	 */
88 88
	public static final String UPDATESITE = "update_site"; //$NON-NLS-1$
89
	
89

  
90 90
	/*
91 91
	 * Base URL of TXM files site
92 92
	 */
93 93
	public static final String RAWFILESSITE = "raw_files_site"; //$NON-NLS-1$
94
	
94

  
95 95
	/*
96 96
	 * Base URL of TXM files site
97 97
	 */
98 98
	public static final String FILESSITE = "files_site"; //$NON-NLS-1$
99
	
100
	
101
	
99

  
102 100
	/**
103
	 * To enable/disable the results persistence (save after a computing and load at Toolbox start).
101
	 * To enable/disable the results persistence (save after a computing and load at
102
	 * Toolbox start).
104 103
	 */
105 104
	public static final String AUTO_PERSISTENCE_ENABLED = "auto_persistence_enabled"; //$NON-NLS-1$
106
	
105

  
107 106
	public static final String VALUE = "value";
108
	
107

  
109 108
	public static final String INDEX = "index";
110
	
109

  
111 110
	public static final String NAME = "name";
112
	
111

  
113 112
	public static final String NAMES = "names";
114
	
113

  
115 114
	public static final String TYPE = "type";
116
	
115

  
117 116
	public static final String SOURCE = "source";
118
	
117

  
119 118
	public static final String XMLTXM = "xmltxm";
120
	
119

  
121 120
	public static final String LANG = "lang";
122
	
121

  
123 122
	/**
124 123
	 * start script of the import process of a corpus
125 124
	 */
126 125
	public static final String IMPORT_MODULE_NAME = "import_module_name";
127
	
126

  
128 127
	/**
129 128
	 * corpus alignment configurations
130 129
	 */
131 130
	public static final String LINKS = "corpus_links";
132
	
131

  
133 132
	public static final String IMPORTXMLFILE = "import_xml_path";
134
	
133

  
135 134
	public static final String FONT = "font";
136
	
135

  
137 136
	public static final String AUTHOR = "author";
138
	
137

  
139 138
	public static final String FRONT_XSL = "front_xsl";
140
	
139

  
141 140
	public static final String DEFAULT_EDITION = "default_edition";
142
	
141

  
143 142
	public static final String FRONT_XSL_PARAMETERS = "front_xsl_parameters";
144
	
143

  
145 144
	public static final String DESCRIPTION = "description";
146
	
145

  
147 146
	public static final String ANNOTATE = "annotate";
148
	
147

  
149 148
	public static final String ID = "id";
150
	
149

  
151 150
	public static final String REF_PROPERTY = "ref_property";
152
	
151

  
153 152
	public static final String SORT_PROPERTY = "sort_property";
154
	
153

  
155 154
	public static final String VIEW_PROPERTY = "view_property";
156
	
155

  
157 156
	public static final String CLEAN = "clean.directories";
158
	
157

  
159 158
	public static final String TTMODEL = "annotate.model";
160
	
159

  
161 160
	public static final String TTANNOTATE = "annotate.run";
162
	
161

  
163 162
	public static final String MULTITHREAD = "multithread";
164
	
163

  
165 164
	public static final String DEBUG = "debug";
166
	
165

  
167 166
	public static final String UPDATECORPUS = "corpus.update";
168 167
	public static final String UPDATEEDITIONS = "update_editions";
169
	
168

  
170 169
	public static final String NORMALISEANAVALUES = "normalize.ana.values";
171
	
170

  
172 171
	public static final String NORMALISEATTRIBUTEVALUES = "normalize.attribute.values";
173
	
172

  
174 173
	public static final String CORPUS_VERSION = "corpus_version";
175 174

  
176 175
	public static final String CLIPBOARD_IMPORT_ASK_LANG = "clipboard_import_ask_lang";
177
	
178
	
176

  
179 177
	/**
180 178
	 * Gets the instance.
181 179
	 * 
......
187 185
		}
188 186
		return TXMPreferences.instances.get(TBXPreferences.class);
189 187
	}
190
	
191
	
188

  
192 189
	@Override
193 190
	public void initializeDefaultPreferences() {
194 191
		super.initializeDefaultPreferences();
195 192
		Preferences preferences = this.getDefaultPreferencesNode();
196
		
197
		// //FIXME: USE osgi.instance.area later & done in ApplicationWorkbenchAdvisor
198
		// preferences.put(TBXPreferences.USER_TXM_HOME, System.getProperty("user.home")+"/TXM");
199
		// preferences.put(TBXPreferences.USER_TXM_HOME, System.getProperty("user.home")); //$NON-NLS-1$
200
		
193

  
201 194
		preferences.putBoolean(TBXPreferences.EXPERT_USER, false);
202 195
		preferences.putBoolean(TBXPreferences.VISIBLE, true);
203 196
		preferences.putBoolean(TBXPreferences.CLEAN, true);
204 197
		preferences.putBoolean(TBXPreferences.PERSITABLE, false);
205
		
206
		
198

  
207 199
		// FIXME
208 200
		preferences.putBoolean(TBXPreferences.ADD_TECH_LOGS, true);
209 201
		preferences.putBoolean(TBXPreferences.LOG_STACKTRACE, false);
210 202
		preferences.putBoolean(TBXPreferences.LOG_IN_FILE, false);
211 203
		preferences.put(TBXPreferences.LOG_LEVEL, "INFO"); //$NON-NLS-1$
212
		
204

  
213 205
		preferences.putBoolean(TBXPreferences.CLIPBOARD_IMPORT_ASK_LANG, true);
214 206
		preferences.put(TBXPreferences.CLIPBOARD_IMPORT_DEFAULT_LANG, Locale.getDefault().getLanguage().toLowerCase());
215 207
		preferences.put(TBXPreferences.UI_LOCALE, "fr"); //$NON-NLS-1$
216
		
208

  
217 209
		preferences.put(TBXPreferences.LANG, Locale.getDefault().getLanguage().toLowerCase());
218 210
		preferences.put(TBXPreferences.ENCODING, DEFAULT_ENCODING);
219 211
		preferences.put(TBXPreferences.DEFAULT_EDITION, "default"); //$NON-NLS-1$
220 212
		preferences.putBoolean(TBXPreferences.ANNOTATE, false);
221
		
213

  
222 214
		preferences.put(TBXPreferences.METADATA_ENCODING, "UTF-8"); //$NON-NLS-1$
223
		
215

  
224 216
		if (Locale.getDefault().getCountry().equals("fr")) {
225 217
			preferences.put(TBXPreferences.METADATA_COLSEPARATOR, ";"); //$NON-NLS-1$
226 218
			preferences.put(TBXPreferences.METADATA_TXTSEPARATOR, "\""); //$NON-NLS-1$
......
229 221
			preferences.put(TBXPreferences.METADATA_TXTSEPARATOR, "\""); //$NON-NLS-1$
230 222
		}
231 223
		preferences.put(TBXPreferences.EMPTY_PROPERTY_VALUE_CODE, "__UNDEF__"); //$NON-NLS-1$
232
		
224

  
233 225
		preferences.put(EXPORT_COL_SEPARATOR, "\t"); //$NON-NLS-1$
234 226
		preferences.put(EXPORT_ENCODING, System.getProperty("file.encoding")); //$NON-NLS-1$
235 227
		preferences.put(EXPORT_TXT_SEPARATOR, ""); //$NON-NLS-1$
236 228
		preferences.putBoolean(EXPORT_SHOW, false);
237
		
229

  
238 230
		preferences.putBoolean(SHOW_ALL_RESULT_NODES, false);
239 231
		preferences.putBoolean(AUTO_PERSISTENCE_ENABLED, false);
240
		
232

  
241 233
		preferences.putBoolean(UPDATEEDITIONS, true);
242
		
243
		if (Toolbox.getTxmHomePath().endsWith("-dev")) {
244
			preferences.put(UPDATESITE,		"file://" + System.getProperty("user.home") + "/workspace047/TXMReleasePlugins.site/");
245
			preferences.put(RAWFILESSITE,	"file://" + System.getProperty("user.home") + "/workspace047/org.txm.setups/");
246
			preferences.put(FILESSITE,		"file://" + System.getProperty("user.home") + "/workspace047/org.txm.setups/");
247
		}
248
		else {
249
			preferences.put(UPDATESITE,		"https://gitlab.huma-num.fr/txm/txm-software/-/raw/master/dist/");
250
			preferences.put(RAWFILESSITE,	"https://gitlab.huma-num.fr/txm/txm-software/-/raw/master/files/");
251
			preferences.put(FILESSITE,		"https://txm.gitpages.huma-num.fr/textometrie/files/");
252
		}
234

  
235
		preferences.put(UPDATESITE, "https://gitlab.huma-num.fr/txm/txm-software/-/raw/master/dist/");
236
		preferences.put(RAWFILESSITE, "https://gitlab.huma-num.fr/txm/txm-software/-/raw/master/files/");
237
		preferences.put(FILESSITE, "https://txm.gitpages.huma-num.fr/textometrie/files/");
238

  
253 239
	}
254 240
}

Formats disponibles : Unified diff