Ignore:
Timestamp:
2014-04-16T18:07:37+12:00 (10 years ago)
Author:
ak19
Message:

Minor changes: better comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/gtiaction.cpp

    r28979 r28980  
    658658  if (target_chunk_type == "work") {
    659659
     660    // works, but /home/nzdl/gti/gti-generate-excel-xml.xsl doesn't entity escape & into &
     661
    660662    //gti_arguments = "get-first-n-chunks-requiring-work " + target_language_code + " " + translation_file_key + " " + "10000" + " | /opt/jdk1.6.0/bin/java -cp /home/nzdl/gti:/home/nzdl/gti/xalan.jar ApplyXSLT /home/nzdl/gti/gti-generate-excel-xml.xsl -";
    661663
    662     // don't actually need to add toplevel gsdlhome to classpath
     664    // don't actually need to add toplevel gsdlhome to classpath in the following:
     665
    663666    gti_arguments = "get-first-n-chunks-requiring-work " + target_language_code + " " + translation_file_key + " " + "10000" + " | " + java + " -cp " + gsdlhome + path_separator + gsdlhome + "/bin/java/ApplyXSLT.jar org.nzdl.gsdl.ApplyXSLT -c -t " + gsdlhome + "/bin/script/gti-generate-excel-xml.xsl";
    664667
    665668  } else {
     669    // works, but /home/nzdl/gti/gti-generate-excel-xml.xsl doesn't entity escape & into &
     670
    666671    //gti_arguments = "get-all-chunks " + target_language_code + " " + translation_file_key + " | /opt/jdk1.6.0/bin/java -cp /home/nzdl/gti:/home/nzdl/gti/xalan.jar ApplyXSLT /home/nzdl/gti/gti-generate-excel-xml.xsl -";
    667672
    668     // don't actually need to add toplevel gsdlhome to classpath
     673    // don't actually need to add toplevel gsdlhome to classpath in the following:
    669674    gti_arguments = "get-all-chunks " + target_language_code + " " + translation_file_key + " | " + java +  " -cp " + gsdlhome + path_separator + gsdlhome + "/bin/java/ApplyXSLT.jar org.nzdl.gsdl.ApplyXSLT -c -t " + gsdlhome + "/bin/script/gti-generate-excel-xml.xsl";
    670675  }
Note: See TracChangeset for help on using the changeset viewer.