Changeset 24811 for main/trunk/gli/src
- Timestamp:
- 2011-11-09T21:41:57+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r24604 r24811 79 79 /** The current version of the GLI. 80 80 * Note: the gs3-release-maker relies on this variable being declared 81 * in a line which ma ches this java regex:81 * in a line which matches this java regex: 82 82 * ^(.*)String\s*PROGRAM_VERSION\s*=\s*"trunk"; 83 83 * If change the declaration and it no longer matches the regex, please … … 1314 1314 /** Prints a message informing the user where they can get PDFBox from to process PDF files of v1.5 and greater */ 1315 1315 static private void missingPDFBox(String zipExtension, String extFolder) { 1316 WarningDialog dialog = new WarningDialog("warning.MissingPDFBox", Dictionary.get("MissingPDFBox.Title"), Dictionary.get("MissingPDFBox.Message", new String[]{zipExtension, extFolder}), null, false); 1316 // point to the correct version of the PDFBox extension for this Greenstone release 1317 String releaseTag = ""; 1318 if(!PROGRAM_VERSION.equals("trunk")) { // assume it's a release version 1319 releaseTag = "main/tags/"+PROGRAM_VERSION+"/"; 1320 } 1321 1322 WarningDialog dialog = new WarningDialog("warning.MissingPDFBox", Dictionary.get("MissingPDFBox.Title"), Dictionary.get("MissingPDFBox.Message", new String[]{releaseTag, zipExtension, extFolder}), null, false); 1317 1323 dialog.display(); 1318 1324 dialog.dispose();
Note:
See TracChangeset
for help on using the changeset viewer.