Révision 3783
TXM/trunk/bundles/org.txm.groovy.core/src/groovy/org/txm/macro/InstallAndUpdateMacrosMacro.groovy (revision 3783) | ||
---|---|---|
18 | 18 |
@Field @Option(name="svnRepository", usage="http based URL of TXM's SVN ", widget="String", required=true, def="http://forge.cbp.ens-lyon.fr/svn/txm/TXM/trunk/bundles/org.txm.groovy.core/src/groovy/org/txm/macro/") |
19 | 19 |
def svnRepository |
20 | 20 |
|
21 |
@Field @Option(name="debug", usage="Show devug messages", widget="Boolean", required=false, def="false")
|
|
21 |
@Field @Option(name="debug", usage="Show debug messages", widget="Boolean", required=false, def="false")
|
|
22 | 22 |
def debug |
23 | 23 |
|
24 | 24 |
if (!ParametersDialog.open(this)) return false; |
TXM/trunk/bundles/org.txm.groovy.core/src/groovy/org/txm/macro/annotation/ExportWordPropertiesToTableMacro.groovy (revision 3783) | ||
---|---|---|
78 | 78 |
properties = [] |
79 | 79 |
for (def p : split) properties << p.trim() |
80 | 80 |
|
81 |
csvFile = csvFile.getAbsoluteFile() |
|
82 |
|
|
81 | 83 |
println "Building Annotation Table with the following parameters: " |
82 | 84 |
println "- corpus: $corpus" |
83 | 85 |
println "- query: $query" |
... | ... | |
85 | 87 |
println "- references: $properties" |
86 | 88 |
println "- CSV file: $csvFile" |
87 | 89 |
|
88 |
csvFile = csvFile.getAbsoluteFile() |
|
90 |
|
|
89 | 91 |
if (!csvFile.getParentFile().canWrite()) { |
90 | 92 |
println "Error: "+csvFile.getParentFile()+" is not writable." |
91 | 93 |
return; |
Formats disponibles : Unified diff