Changeset 16931
- Timestamp:
- 2008-08-21T11:16:35+12:00 (16 years ago)
- Location:
- release-kits/wirk2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/wirk2/ant-scripts/compile.xml
r16745 r16931 48 48 <copy file="${wirk2.home}/resources/compile.bat" todir="${basedir}/gsdl" overwrite="true"/> 49 49 <exec dir="${basedir}/gsdl" executable="${basedir}/gsdl/compile.bat" /> 50 51 <move file="${basedir}/gsdl/server.exe" todir="${basedir}/gsdl/bin/windows"/> 50 <copy file="${basedir}/gsdl/server.exe" todir="${basedir}/gsdl/bin/windows"/> 52 51 <move todir="${basedir}/gsdl/bin/windows"> 53 52 <fileset dir="${basedir}/gsdl/cgi-bin" includes="library.exe,oaiserver.exe"/> -
release-kits/wirk2/ant-scripts/create-distribution.xml
r16774 r16931 52 52 </target> 53 53 54 <target name="copy-server-to-root">55 <copy56 todir="${basedir}/distributions/web"57 file="${basedir}/distributions/web/bin/windows/server.exe"58 overwrite="true"/>59 </target>60 61 54 <target name="compile-gli"> 62 55 <echo>Compiling gli...</echo> -
release-kits/wirk2/installer/build.xml
r16917 r16931 6 6 <project name="Installation"> 7 7 8 <!-- this is required to pick up the properties generated during the install pages --> 9 <property file="${basedir}/ant.install.properties"/> 10 11 <path id="project.classpath"> 12 <pathelement path="${antinstaller.jar}"/> 13 </path> 8 <!-- classpath --> 9 <path id="project.classpath"><pathelement path="${antinstaller.jar}"/></path> 14 10 15 11 <!-- custom tasks --> 16 12 <typedef name="rsr" classname="RegexSearchReplace" classpathref="project.classpath"/> 17 <typedef name=" rsr" classname="GetFreePath" classpathref="project.classpath"/>13 <typedef name="getfreepath" classname="GetFreePath" classpathref="project.classpath"/> 18 14 <taskdef name="shortcut" classname="com.orangevolt.tools.ant.Win32ShortcutTask" classpathref="project.classpath"/> 19 15 <taskdef name="winprops" classname="com.orangevolt.tools.ant.Win32PropertiesTask" classpathref="project.classpath"/> 20 16 21 <condition property="bundled.java.exists"> 22 <available file="../@java.extracted@/bin/java"/> 23 </condition> 17 <!-- pick up the properties generated during the install pages --> 18 <property file="${basedir}/ant.install.properties"/> 19 20 <!-- determine if there is an existing installation in the installDir--> 21 <available file="${installDir}\etc\installation.properties" property="is.overinstall"/> 24 22 25 23 <!-- load windows properties --> 26 24 <winprops/> 25 26 <!-- create a local installDir String --> 27 <path id="installDir.path"><pathelement location="${installDir}"/></path> 28 <property name="installDir.local" refid="installDir.path"/> 29 30 <target name="load-previous-props" if="is.overinstall"> 31 <property file="${installDir}\etc\installation.properties"/> 32 </target> 27 33 28 <target name="install-core-components" depends=" ">34 <target name="install-core-components" depends="load-previous-props"> 29 35 30 36 <echo>basedir: ${basedir}</echo> … … 35 41 <echo message="Creating Installation directory"/> 36 42 <mkdir dir="${installDir}"/> 37 38 43 39 44 <!-- install files --> … … 71 76 <delete file="${installDir}/resources/*.png"/> 72 77 73 <echo message="Setting GSDLHOME in setup.bat"/>78 <echo message="Setting GSDLHOME in config files"/> 74 79 <rsr 75 80 file="${installDir}/setup.bat" … … 77 82 replacement="${installDir}"/> 78 83 <rsr 79 file="${installDir}/cgi-bin/gsdlsite. bat"84 file="${installDir}/cgi-bin/gsdlsite.cfg" 80 85 pattern="\*\*GSDLHOME\*\*" 81 86 replacement="${installDir}"/> … … 103 108 <target name="install-start-menu-shortcuts"> 104 109 105 <!-- figure out the start menu path -->110 <!-- figure out the start menu path (if not already set from previous installation) --> 106 111 <getfreepath path="${win32.personal.programs_menu}\Greenstone-@version@" property="startmenu.path"/> 107 112 … … 144 149 file="${startmenu.path}\Documentation\READMEru.lnk" 145 150 execute="${installDir}\READMEru.txt" /> 151 152 <rsr file="${installDir}\etc\installation.properties" pattern="@startmenu.path@" replacement="${startmenu.path}" winPath="true"/> 153 146 154 </target> 147 155 -
release-kits/wirk2/src/wirk2.cpp
r16774 r16931 48 48 //pass on the arguments 49 49 string a; 50 bool simMode = false; 50 51 for ( int i=0; i < argc; i++ ) { 51 52 a = argv[i]; … … 54 55 //show_help(); 55 56 return 0; 56 57 57 } else if ( a.compare("-cp") == 0) { 58 58 cout << classpath; 59 59 return 0; 60 60 } else if ( a.compare("-sim") == 0) { 61 command = command + " " + a; 62 simMode = true; 61 63 } else { 62 64 command = command + " " + a; … … 65 67 } 66 68 69 //create directories 70 if ( !simMode ) { 71 system( "IF NOT EXIST installer\\classes MKDIR installer\\classes" ); 72 } 67 73 68 74 //use forward slashes for everything else
Note:
See TracChangeset
for help on using the changeset viewer.