Révision 1913
tmp/org.txm.edition.rcp/plugin.xml (revision 1913) | ||
---|---|---|
113 | 113 |
commandId="org.txm.edition.rcp.handlers.BackToText" |
114 | 114 |
contextId="org.eclipse.ui.contexts.window" |
115 | 115 |
schemeId="org.txm.rcp.scheme" |
116 |
sequence="M1+E">
|
|
116 |
sequence="Enter">
|
|
117 | 117 |
</key> |
118 | 118 |
</extension> |
119 | 119 |
<extension |
tmp/org.txm.treetagger.core/src/org/txm/treetagger/core/TreeTaggerEngine.java (revision 1913) | ||
---|---|---|
25 | 25 |
|
26 | 26 |
ttBinaryDirectory = new File(TreeTaggerPreferences.getInstance().getString(TreeTaggerPreferences.INSTALL_PATH)+"/bin/"); |
27 | 27 |
if (!ttBinaryDirectory.exists()) { |
28 |
System.out.println(NLS.bind("** Error: TreeTagger software not found in the {0} directory.", ttBinaryDirectory));
|
|
28 |
Log.fine(NLS.bind("** Error: TreeTagger software not found in the {0} directory.", ttBinaryDirectory));
|
|
29 | 29 |
return false; |
30 | 30 |
} |
31 | 31 |
|
32 | 32 |
ttModelsDirectory = new File(TreeTaggerPreferences.getInstance().getString(TreeTaggerPreferences.MODELS_PATH)); |
33 | 33 |
if (!ttModelsDirectory.exists()) { |
34 |
System.out.println(NLS.bind("** Error: TreeTagger models not found in the {0} directory.", ttModelsDirectory));
|
|
34 |
Log.fine(NLS.bind("** Error: TreeTagger models not found in the {0} directory.", ttModelsDirectory));
|
|
35 | 35 |
return false; |
36 | 36 |
} |
37 | 37 |
|
tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/workspace/LoadBinaryCorporaDirectory.java (revision 1913) | ||
---|---|---|
347 | 347 |
//Log.warning("Failed to load binary corpus: "+corpusDirectory); |
348 | 348 |
} else { |
349 | 349 |
projects.add(project); |
350 |
project.save(); |
|
350 | 351 |
} |
351 | 352 |
} |
352 | 353 |
|
tmp/org.txm.rcp/src/main/java/org/txm/rcp/ApplicationWorkbenchAdvisor.java (revision 1913) | ||
---|---|---|
975 | 975 |
// restore corpora if TXMHOME has been created |
976 | 976 |
if (txmHomeRestored) { |
977 | 977 |
installCorporaDirectory(monitor); |
978 |
|
|
979 |
Toolbox.workspace.saveParameters(true); |
|
980 |
ResourcesPlugin.getWorkspace().save(true, null); |
|
978 | 981 |
} |
979 | 982 |
monitor.worked(20); |
980 | 983 |
jobHandler.setTaskName("Toolbox ready."); |
tmp/org.txm.rcp/src/main/java/org/txm/rcp/corpuswizard/ImportWizard.java (revision 1913) | ||
---|---|---|
75 | 75 |
|
76 | 76 |
Engine e = Toolbox.getEngineManager(EngineType.ANNOTATION).getEngine("TreeTagger"); |
77 | 77 |
if (e != null) { |
78 |
System.out.println("set annotate if TT is ready: "+e.isRunning()); |
|
79 | 78 |
project.setAnnotate(e.isRunning()); |
80 | 79 |
} |
81 | 80 |
|
Formats disponibles : Unified diff