Changeset 30620
- Timestamp:
- 2016-07-25T14:44:07+12:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/recpt/gtiaction.cpp
r28991 r30620 663 663 664 664 // don't actually need to add toplevel gsdlhome to classpath in the following: 665 665 666 666 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"; 667 667 … … 681 681 } 682 682 683 // Write the Excel spreadsheet data to the browser683 // Write the Excel spreadsheet data to the browser 684 684 char* gti_response_xml_text_cstr = gti_response_xml_text.getcstr(); 685 printf(gti_response_xml_text_cstr); 685 // use fwrite instead of printf as there are %s in the strings 686 fwrite(gti_response_xml_text_cstr, 1, strlen(gti_response_xml_text_cstr), stdout); 686 687 delete[] gti_response_xml_text_cstr; 687 688
Note:
See TracChangeset
for help on using the changeset viewer.