| 219 | | |
|---|
| 220 | | if (Gatherer.GS3) { |
|---|
| 221 | | file_name = getLoadedCollectionIndexDirectoryPath() + Utility.BUILD_CONFIG_XML; |
|---|
| 222 | | } |
|---|
| 223 | | else { |
|---|
| 224 | | if (Configuration.fedora_info.isActive()) { |
|---|
| 225 | | // Fedora build |
|---|
| 226 | | //file_name = getLoadedCollectionArchivesDirectoryPath() + "import.inf"; |
|---|
| 227 | | file_name = getLoadedCollectionExportDirectoryPath() + "export.inf"; |
|---|
| 228 | | } |
|---|
| 229 | | else { |
|---|
| 230 | | file_name = getLoadedCollectionIndexDirectoryPath() + Utility.BUILD_CFG; |
|---|
| 231 | | } |
|---|
| 232 | | } |
|---|
| 233 | | |
|---|
| | 220 | |
|---|
| | 221 | if (Configuration.fedora_info.isActive()) { // FLI case |
|---|
| | 222 | // Fedora build |
|---|
| | 223 | //file_name = getLoadedCollectionArchivesDirectoryPath() + "import.inf"; |
|---|
| | 224 | file_name = getLoadedCollectionExportDirectoryPath() + "export.inf"; |
|---|
| | 225 | } else { |
|---|
| | 226 | // GLI is running, check if it's greenstone 3 or greenstone 2 |
|---|
| | 227 | if (Gatherer.GS3) { // GS3 GLI |
|---|
| | 228 | file_name = getLoadedCollectionIndexDirectoryPath() + Utility.BUILD_CONFIG_XML; |
|---|
| | 229 | } |
|---|
| | 230 | else { // greenstone 2 GLI |
|---|
| | 231 | file_name = getLoadedCollectionIndexDirectoryPath() + Utility.BUILD_CFG; |
|---|
| | 232 | } |
|---|
| | 233 | } |
|---|