Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/macro/annotation/BuildWordPropTableMacro.groovy

BuildWordPropTableMacro.groovy (revision 479)
26 26
//
27 27
package org.txm.macro.annotation
28 28

  
29
import groovy.transform.Field
30

  
31
import org.kohsuke.args4j.*
32
import org.txm.concordance.core.functions.*
33
import org.txm.concordance.core.functions.comparators.*
34
import org.txm.rcp.swt.widget.parameters.*
35
import org.txm.searchengine.cqp.ReferencePattern
29
import org.txm.Toolbox
36 30
import org.txm.searchengine.cqp.corpus.*
37 31
import org.txm.searchengine.cqp.corpus.query.*
32
import org.txm.concordance.core.functions.Concordance
33
import org.txm.concordance.core.functions.Line
34
import org.txm.functions.concordances.*
35
import org.txm.functions.concordances.comparators.*
36
import org.txm.searchengine.cqp.ReferencePattern
37
import org.kohsuke.args4j.*
38
import groovy.transform.Field
39
import org.txm.rcpapplication.swt.widget.parameters.*
38 40

  
39 41
def corpus = corpusViewSelection
40 42
if (!(corpus instanceof Corpus)) {
......
76 78
println "- annotation properties: $properties"
77 79
println "- TSV file: $tsvFile"
78 80

  
79

  
81
tsvFile = tsvFile.getAbsoluteFile()
80 82
if (!tsvFile.getParentFile().canWrite()) {
81 83
	println "Error: "+tsvFile.getParentFile()+" is not writable."
82 84
	return;

Also available in: Unified diff