Ignore:
Timestamp:
2008-07-09T13:12:15+12:00 (16 years ago)
Author:
davidb
Message:

Introduction of 'collecthome' which parallels 'gsdlhome' to allow the toplevel collect folder to be outside of the gsdlhome area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/recpt/depositoraction.cpp

    r15453 r16310  
    612612    } else {
    613613   
    614       text_t col_dirname = filename_cat(gsdlhome,"collect",args[macro_prefix+"dirname"]);
     614      text_t col_dirname = filename_cat(collecthome,args[macro_prefix+"dirname"]);
    615615      text_t import_dirname = filename_cat(col_dirname,"import");
    616616      if(!directory_exists(import_dirname)) {
     
    756756
    757757    //create metadata.xml file
    758     text_t metadata_path = filename_cat(gsdlhome,"collect", args[macro_prefix+"dirname"], "import", timestamp_str, "metadata.xml");
     758    text_t metadata_path = filename_cat(collecthome, args[macro_prefix+"dirname"], "import", timestamp_str, "metadata.xml");
    759759    text_t my_path = filename_cat(gsdlhome,"tmp", "metadata.xml");
    760760
     
    792792
    793793    //create manifest.xml file
    794     text_t manifest_path = filename_cat(gsdlhome,"collect", args[macro_prefix+"dirname"], "manifest.xml");
     794    text_t manifest_path = filename_cat(collecthome, args[macro_prefix+"dirname"], "manifest.xml");
    795795
    796796    char* manifest_cstr = manifest_path.getcstr();
Note: See TracChangeset for help on using the changeset viewer.