Changeset 16948
- Timestamp:
- 2008-08-21T15:33:33+12:00 (16 years ago)
- Location:
- release-kits/wirk2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/wirk2/ant-scripts/create-distribution.xml
r16946 r16948 34 34 <fileset dir="${basedir}/gsdl/bin/windows" includes="**/*"/> 35 35 </copy> 36 <copy todir="${basedir}/distributions/web" file="${basedir}/gsdl/server.exe"/> 36 37 </target> 37 38 -
release-kits/wirk2/installer/build.xml
r16931 r16948 85 85 pattern="\*\*GSDLHOME\*\*" 86 86 replacement="${installDir}"/> 87 87 88 <echo message="Creating installation properties file"/> 89 <echo file="${installDir}\etc\installation.properties">startmenu.path:@startmanu.path@</echo> 90 88 91 <echo message="Finished"/> 89 92 -
release-kits/wirk2/src/wirk2.cpp
r16931 r16948 17 17 18 18 } 19 20 void show_help() { 21 22 cout << "Wirk2 - Windows Release Kit for Greenstone2" << endl; 23 cout << "Helps you to create releases from the Repository" << endl << endl; 24 25 cout << "usage: wirk2 [args]" << endl; 26 cout << " -sim" << endl; 27 cout << " simulation only, don't actually do anything" << endl << endl; 28 29 cout << " -help" << endl; 30 cout << " show this help screen" << endl; 31 32 cout << " -from <target>" << endl; 33 cout << " start execution from the target with the given target address" << endl << endl; 34 35 cout << " -to <target>" << endl; 36 cout << " stop execution just before the target with the given target address" << endl << endl; 37 38 cout << " -descend <target>" << endl; 39 cout << " execute only the target with the given address, including subtargets" << endl << endl; 40 41 cout << " -cp" << endl; 42 cout << " show the classpath being used by wirk2" << endl << endl; 43 44 } 45 19 46 20 47 int main(int argc, char** argv ) { … … 52 79 a = argv[i]; 53 80 54 if ( a.compare("-help") == 0 ) {55 //show_help();81 if ( a.compare("-help") == 0 || a.compare("--help") == 0 ) { 82 show_help(); 56 83 return 0; 57 } else if ( a.compare("-cp") == 0 ) {84 } else if ( a.compare("-cp") == 0 || a.compare("--cp") == 0 ) { 58 85 cout << classpath; 59 86 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.