Changeset 37204
- Timestamp:
- 2023-01-29T11:57:00+13:00 (14 months ago)
- Location:
- main/trunk/greenstone3/src/java/org/greenstone/gsdl3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/build/CollectionConstructor.java
r31771 r37204 16 16 /** the name of the site */ 17 17 protected String site_name = null; 18 19 18 /** the library (servlet) name of the site */ 19 protected String library_name = null; 20 20 /** the name of the collection */ 21 21 protected String collection_name = null; … … 75 75 } 76 76 77 78 79 77 public void setLibraryName(String library_name) { 78 this.library_name = library_name; 79 } 80 80 public void setCollectionName(String coll_name) 81 81 { -
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/build/GS2PerlConstructor.java
r36794 r37204 313 313 314 314 Vector<String> command = new Vector<String>(); 315 315 316 316 String perlPath = GlobalProperties.getProperty("perl.path", "perl"); 317 317 if (perlPath.charAt(perlPath.length() - 1) != File.separatorChar) … … 320 320 } 321 321 322 String cgi_directory = GlobalProperties.getGSDL3Home() + File.separator + "WEB-INF" + File.separator + "cgi";323 322 command.add(perlPath + "perl"); 324 323 command.add("-S"); 325 //command.add(GlobalProperties.getGSDL3Home() + File.separator + "WEB-INF" + File.separator + "cgi" + File.separator + "metadata-server.pl"); 324 325 String cgi_directory = GlobalProperties.getGSDL3Home() + File.separator + "WEB-INF" + File.separator + "cgi"; 326 326 command.add(cgi_directory + File.separator + "metadata-server.pl"); 327 327 … … 349 349 // setenv QUERY_STRING and REQUEST_METHOD = GET. 350 350 if (runPerlCommand(command_str, envvars, new File(cgi_directory))) 351 //new File(GlobalProperties.getGSDL3Home() + File.separator + "WEB-INF" + File.separator + "cgi")))352 351 { 353 352 // success!! - need to send the final completed message -
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2Construct.java
r33773 r37204 869 869 } 870 870 871 if (oid != null) { // if we have only one oid871 if (oid != null) { // if we have only one oid 872 872 markDocumentInFlatDatabase("R", coll_name, OID.getTop(oid)); 873 873 } else if (docids != null) { // check if we are dealing with many doc ids, as cold in theory happen when set-metadata-array is called
Note:
See TracChangeset
for help on using the changeset viewer.