Revision 3082 tmp/org.txm.groovy.core/src/groovy/org/txm/macro/projects/antract/PrepareAFVOIXOFFCorpusMacro.groovy

PrepareAFVOIXOFFCorpusMacro.groovy (revision 3082)
15 15
@Field @Option(name="trsDirectory", usage="Dossier qui contient les fichiers TRS à corriger", widget="Folder", required=true, def="AF")
16 16
def trsDirectory
17 17

  
18
@Field @Option(name="debug", usage="Show debug level messages", widget="Boolean", required=true, def="false")
19
def debug
20

  
18 21
if (!ParametersDialog.open(this)) return;
19 22

  
20 23
File workingDirectory = tableFile.getParentFile()
......
39 42
	, "typeColumns": "Titre propre"
40 43
	, "topicColumns": "Date de diffusion"
41 44
	, "metadataColumns": "id;Titre propre;Date de diffusion;Identifiant de la notice;Notes du titre;Type de date;Durée;Genre;Langue VO / VE;Nature de production;Producteurs (Aff.);Thématique;Nom fichier segmenté (info);antract_video;antract_debut;antract_fin;antract_duree;antract_tc_type;antract_tc_date;Résumé;Séquences;Descripteurs (Aff. Lig.);Générique (Aff. Lig.)"
42
	, "metadataColumnsGroups": "secondary;metadata;metadata;metadata;metadata;metadata;metadata;metadata;metadata;metadata;metadata;metadata;secondary;secondary;secondary;secondary;secondary;secondary;secondary;text;text;text;text"])
45
	, "metadataColumnsGroups": "secondary;metadata;metadata;metadata;metadata;metadata;metadata;metadata;metadata;metadata;metadata;metadata;secondary;secondary;secondary;secondary;secondary;secondary;secondary;text;text;text;text"
46
	, "debug":debug])
43 47

  
44 48
//copy the emissions file in the source directory
45 49
FileCopy.copy(emissionsFile, new File(new File(trsDirectory, "out"), "metadata.xlsx"))

Also available in: Unified diff