Révision 3587
TXM/trunk/org.txm.groovy.core/src/java/org/txm/groovy/core/GroovyScriptedImportEngine.java (revision 3587) | ||
---|---|---|
174 | 174 |
catch (Exception e) { |
175 | 175 |
// System.out.println(NLS.bind(TXMUIMessages.errorWhileRunningScriptColonP0, e)); |
176 | 176 |
Log.printStackTrace(e); |
177 |
Log.warning("Import failed: "+e);
|
|
177 |
Log.warning(GroovyMessages.bind(GroovyMessages.importDidNotFinishedItEncounteredTheFollowingErrorP0, e.getMessage()));
|
|
178 | 178 |
|
179 | 179 |
return new Status(Status.ERROR, e.getClass().getCanonicalName(), e.getMessage()); |
180 | 180 |
} |
TXM/trunk/org.txm.groovy.core/src/java/org/txm/groovy/core/messages/messages.properties (revision 3587) | ||
---|---|---|
5 | 5 |
restartingToolboxSearchengines=Restarting search engine... |
6 | 6 |
startingTheP0GroovyImportScript=Starting the {0} Groovy import script... |
7 | 7 |
startingTheP0importModule=Starting the "{0}" import module... |
8 |
importDidNotFinishedItEncounteredTheFollowingErrorP0=The import module did not finish correctly. It encountered the following error "{0}". |
TXM/trunk/org.txm.groovy.core/src/java/org/txm/groovy/core/messages/messages_fr.properties (revision 3587) | ||
---|---|---|
5 | 5 |
restartingToolboxSearchengines=Redémarrage des moteurs de recherche... |
6 | 6 |
startingTheP0GroovyImportScript=Démarrage du script d'import Groovy {0}... |
7 | 7 |
startingTheP0importModule=Démarrage du module d'import "{0}"... |
8 |
importDidNotFinishedItEncounteredTheFollowingErrorP0=Le module d'import ne s'est pas terminé correctement. Il a rencontré l'erreur suivante "{0}". |
TXM/trunk/org.txm.groovy.core/src/java/org/txm/groovy/core/messages/GroovyMessages.java (revision 3587) | ||
---|---|---|
17 | 17 |
|
18 | 18 |
public static String startingTheP0importModule; |
19 | 19 |
|
20 |
public static String importDidNotFinishedItEncounteredTheFollowingErrorP0; |
|
21 |
|
|
20 | 22 |
static { |
21 | 23 |
// initialize resource bundle |
22 | 24 |
Utf8NLS.initializeMessages(BUNDLE_NAME, GroovyMessages.class); |
TXM/trunk/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/txt/txtLoader.groovy (revision 3587) | ||
---|---|---|
68 | 68 |
File binDir = project.getProjectDirectory(); |
69 | 69 |
binDir.mkdirs(); |
70 | 70 |
if (!binDir.exists()) { |
71 |
println "Could not create binDir "+binDir
|
|
71 |
println "Error: could not create corpus binary directory: "+binDir
|
|
72 | 72 |
return; |
73 | 73 |
} |
74 | 74 |
|
TXM/trunk/org.txm.core/src/java/org/txm/importer/xtz/ImportModule.java (revision 3587) | ||
---|---|---|
245 | 245 |
System.out.println("Error while importing corpus during 'pager' step, reason=" + pager.getReason()); |
246 | 246 |
return; |
247 | 247 |
} |
248 |
|
|
249 | 248 |
} |
250 | 249 |
else { |
251 | 250 |
System.out.println("No edition produced."); |
252 | 251 |
} |
253 |
if (monitor != null) { monitor.worked(25); }
|
|
252 |
if (monitor != null) { monitor.worked(25); } |
|
254 | 253 |
} |
255 | 254 |
}; |
256 | 255 |
|
Formats disponibles : Unified diff