Changeset 25963 for main/trunk/gli
- Timestamp:
- 2012-07-17T17:27:46+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/greenstone/Plugins.java
r20924 r25963 142 142 args.add("-S"); 143 143 args.add(LocalGreenstone.getBinScriptDirectoryPath() + "pluginfo.pl"); 144 args.add("-gs_version"); 145 if (Gatherer.GS3) { 146 args.add("3"); 147 } else { 148 args.add("2"); 149 } 144 150 if (collection_specific) { 145 151 args.add("-collection"); … … 150 156 args.add(Configuration.getLanguage()); 151 157 args.add(plugin.getName()); 152 153 158 // Run the pluginfo.pl process 154 159 Runtime runtime = Runtime.getRuntime(); … … 204 209 args.add("-S"); 205 210 args.add(LocalGreenstone.getBinScriptDirectoryPath() + "pluginfo.pl"); 211 args.add("-gs_version"); 212 if (Gatherer.GS3) { 213 args.add("3"); 214 } else { 215 args.add("2"); 216 } 206 217 if (collection_name != null) { 207 218 args.add("-collection");
Note:
See TracChangeset
for help on using the changeset viewer.