Show
Ignore:
Timestamp:
16.04.2014 18:07:37 (6 years ago)
Author:
ak19
Message:

Minor changes: better comments.

Files:
1 modified

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  }