Changeset 22324
- Timestamp:
- 2010-06-30T10:05:54+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/shared/linux/wrapper.cpp
r22225 r22324 53 53 text_mode = true; 54 54 } else if ( a.compare("-extract") == 0 || a.compare("--extract") || a.compare("-x")) { 55 cout << "---------------------------- --" << endl;56 cout << "Extracting java installer... \n" << endl;57 cout << "---------------------------- --" << endl;58 bool result = extract_bundled_file( greenstonejar, sizeof(greenstonejar), (char*)jarfile.c_str(), false);55 cout << "----------------------------" << endl; 56 cout << "Extracting java installer..." << endl; 57 cout << "----------------------------" << endl; 58 bool result = extract_bundled_file( greenstonejar, sizeof(greenstonejar), "greenstone.jar", false); 59 59 if(result){ 60 60 cout << "\nExtraction Complete" << endl; 61 cout << "You can now run \"java -jar greenstone.jar text\" to run the installer from the command line\n" 61 cout << "You can now run \"java -jar greenstone.jar text\" to run the installer from the command line\n" << endl; 62 62 return 0; 63 63 } 64 64 else{ 65 cerr << " There was an error while extracting the java installer" << endl;65 cerr << "\nThere was an error while extracting the java installer" << endl; 66 66 return 1; 67 67 }
Note:
See TracChangeset
for help on using the changeset viewer.