Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/macroproto/RunImportMacro.groovy

RunImportMacro.groovy (revision 479)
1 1
package org.txm.macroproto
2
import groovy.transform.Field
3

  
4
import org.kohsuke.args4j.*
5 2
import org.txm.Toolbox
3
import org.txm.utils.xml.DomUtils
6 4
import org.txm.objects.BaseParameters
7
import org.txm.rcp.commands.*
8
import org.txm.rcp.swt.widget.parameters.*
5
import org.txm.rcpapplication.commands.*
6
import org.kohsuke.args4j.*
7
import groovy.transform.Field
8
import org.txm.rcpapplication.swt.widget.parameters.*
9 9

  
10 10
// PARAMETERS
11 11
@Field @Option(name="inputDirectory", usage="Dossier qui contient les fichiers à importer", widget="Folder", required=true, def='')
......
28 28
importName = importName.replaceAll("/", "")
29 29

  
30 30
def scripts = [:]; // 12
31
scripts["TXTCSV"] = "quickLoader.groovy"
31
scripts["TXTCSV"] = "txtLoader.groovy"
32 32
scripts["XMLWCSV"] = "xmlLoader.groovy"
33 33
scripts["XMLFACTIVA"] = "factivaLoader.groovy"
34 34
scripts["XMLTEIBFM"] = "bfmLoader.groovy"

Also available in: Unified diff