Révision 2884
| tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/xtz/XTZCompiler.groovy (revision 2884) | ||
|---|---|---|
| 133 | 133 |
&& initialTypesValues.containsAll(sattrsListener.getAnatypes())) { // the word properties changed all CQP files must be recreated
|
| 134 | 134 |
// no new property |
| 135 | 135 |
} else {
|
| 136 |
println "New word properties detected. All CQP files need to be updated" |
|
| 136 |
if (module.isUpdatingCorpus()) {
|
|
| 137 |
println "New word properties detected. All CQP files will be updated." |
|
| 138 |
} |
|
| 137 | 139 |
textsToProcess.clear() |
| 138 | 140 |
textsToProcess.addAll(texts) |
| 139 | 141 |
} |
| tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/xtz/XTZImporter.groovy (revision 2884) | ||
|---|---|---|
| 77 | 77 |
continue; |
| 78 | 78 |
else if (f.getName().endsWith(".csv"))
|
| 79 | 79 |
continue; |
| 80 |
else if (f.getName().endsWith(".ods"))
|
|
| 81 |
continue; |
|
| 82 |
else if (f.getName().endsWith(".xlxs"))
|
|
| 83 |
continue; |
|
| 80 | 84 |
else if (f.getName().endsWith(".dtd"))
|
| 81 | 85 |
continue; |
| 82 | 86 |
else if (f.getName().endsWith(".xsl"))
|
| tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/xml/xmlLoader.groovy (revision 2884) | ||
|---|---|---|
| 133 | 133 |
if (srcfiles != null) {
|
| 134 | 134 |
for (int i = 0 ; i < srcfiles.size() ; i++) {// check XML format, and copy file into the "txm" directory
|
| 135 | 135 |
File f = srcfiles.get(i) |
| 136 |
if (f.getName().equals("import.xml") || f.getName().matches("metadata\\.....?") || f.getName().endsWith(".properties")) {
|
|
| 136 |
if (f.isDirectory() || f.isHidden() || f.getName().equals("import.xml") || f.getName().matches("metadata\\.....?") || f.getName().endsWith(".properties")) {
|
|
| 137 | 137 |
srcfiles.remove(i); |
| 138 | 138 |
i--; |
| 139 | 139 |
continue; // don't raise warnings for those files |
Formats disponibles : Unified diff