[23574] | 1 | <?xml version="1.0"?>
|
---|
[20042] | 2 | <!--
|
---|
| 3 | This is the build.xml run by AntInstaller for the installer
|
---|
| 4 | -->
|
---|
| 5 |
|
---|
| 6 | <project name="Installation">
|
---|
| 7 |
|
---|
| 8 | <!-- this is required to pick up the properties generated during the install pages -->
|
---|
| 9 | <property file="${basedir}/ant.install.properties"/>
|
---|
| 10 |
|
---|
| 11 | <!-- set some properties to keep track of the OS -->
|
---|
| 12 | <!-- if windows -->
|
---|
| 13 | <property name="rk.os" value="windows"/>
|
---|
| 14 | <property name="shell.name" value="windows"/>
|
---|
| 15 | <!-- /if -->
|
---|
| 16 | <!-- if linux -->
|
---|
| 17 | <property name="rk.os" value="linux"/>
|
---|
| 18 | <property name="shell.name" value="linux"/>
|
---|
| 19 | <!-- /if -->
|
---|
| 20 | <!-- if mac -->
|
---|
| 21 | <property name="rk.os" value="mac"/>
|
---|
| 22 | <property name="shell.name" value="darwin"/>
|
---|
| 23 | <!-- /if -->
|
---|
| 24 |
|
---|
| 25 | <!-- classpath -->
|
---|
| 26 | <path id="project.classpath">
|
---|
| 27 | <pathelement path="${antinstaller.jar}"/>
|
---|
| 28 | </path>
|
---|
| 29 |
|
---|
| 30 | <!-- custom tasks -->
|
---|
[22131] | 31 | <taskdef name="if" classname="ise.antelope.tasks.IfTask" classpathref="project.classpath"/>
|
---|
[20042] | 32 | <typedef name="rsr" classname="org.greenstone.anttasks.RegexSearchReplace" classpathref="project.classpath"/>
|
---|
| 33 | <typedef name="adduser" classname="org.greenstone.anttasks.AddGreenstoneUserToDatabase" classpathref="project.classpath"/>
|
---|
| 34 | <!-- if windows -->
|
---|
| 35 | <taskdef name="shortcut" classname="com.orangevolt.tools.ant.Win32ShortcutTask" classpathref="project.classpath"/>
|
---|
| 36 | <taskdef name="winprops" classname="com.orangevolt.tools.ant.Win32PropertiesTask" classpathref="project.classpath"/>
|
---|
| 37 | <typedef name="getfreepath" classname="org.greenstone.anttasks.GetFreePath" classpathref="project.classpath"/>
|
---|
| 38 | <!-- /if -->
|
---|
| 39 | <!-- if linux|mac -->
|
---|
| 40 | <taskdef name="sevenzip" classname="org.apache.tools.ant.SevenZip" classpathref="project.classpath"/>
|
---|
| 41 | <!-- /if -->
|
---|
[22659] | 42 |
|
---|
[20042] | 43 | <!-- determine if a bundled java exists -->
|
---|
| 44 | <condition property="bundled.java.exists">
|
---|
[21208] | 45 | <or>
|
---|
| 46 | <available file="../@java.extracted@/bin/java"/>
|
---|
| 47 | <available file="../@java.extracted@/bin/java.exe"/>
|
---|
| 48 | </or>
|
---|
[20042] | 49 | </condition>
|
---|
| 50 |
|
---|
| 51 | <!-- determine if there is an existing installation in the installDir-->
|
---|
| 52 | <available file="${installDir}\etc\installation.properties" property="is.overinstall"/>
|
---|
| 53 |
|
---|
| 54 | <!-- create a local installDir String -->
|
---|
| 55 | <path id="installDir.path"><pathelement location="${installDir}"/></path>
|
---|
| 56 | <property name="installDir.local" refid="installDir.path"/>
|
---|
| 57 |
|
---|
| 58 | <!-- if windows -->
|
---|
| 59 | <!-- load windows properties -->
|
---|
| 60 | <winprops/>
|
---|
| 61 | <!-- /if -->
|
---|
| 62 |
|
---|
| 63 | <!-- load the properties of the previous installation if this is an overinstall -->
|
---|
| 64 | <target name="Looking For Previous Installation" if="is.overinstall">
|
---|
| 65 | <property file="${installDir}\etc\installation.properties"/>
|
---|
| 66 | <delete dir="${installed.startmenu.path}" failonerror="false"/>
|
---|
| 67 | </target>
|
---|
| 68 |
|
---|
| 69 | <!-- copy jre -->
|
---|
| 70 | <target name="Initialising" if="bundled.java.exists">
|
---|
| 71 | <mkdir dir="${installDir}/packages"/>
|
---|
| 72 | <copy todir="${installDir}/packages/jre" failonerror="false">
|
---|
[20937] | 73 | <fileset dir="../@java.extracted@"/>
|
---|
[20042] | 74 | </copy>
|
---|
| 75 | <chmod dir="${installDir}/packages/jre/bin" includes="*" perm="775"/>
|
---|
| 76 | </target>
|
---|
| 77 |
|
---|
| 78 | <!-- core system -->
|
---|
| 79 | <target name="Installing Core System">
|
---|
| 80 |
|
---|
| 81 | <!-- if windows -->
|
---|
| 82 | <!-- figure out the start menu path -->
|
---|
| 83 | <getfreepath path="${win32.personal.programs_menu}\Greenstone-@version@" property="startmenu.path"/>
|
---|
| 84 | <path id="startmenu.path.path" path="${startmenu.path}"/>
|
---|
| 85 | <pathconvert targetos="unix" property="startmenu.path.unix" refid="startmenu.path.path"/>
|
---|
| 86 |
|
---|
| 87 | <!-- extract 7za tool -->
|
---|
| 88 | <unzip src="${antinstaller.jar}" dest="${basedir}">
|
---|
| 89 | <patternset><include name="7za.exe"/></patternset>
|
---|
| 90 | </unzip>
|
---|
| 91 | <!-- /if -->
|
---|
| 92 |
|
---|
| 93 | <!-- start web -->
|
---|
[23575] | 94 | <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="core.lzma"/></patternset></unzip>
|
---|
[20056] | 95 | <!-- if linux|mac --><sevenzip task="decode" input="${basedir}/core.lzma" output="${basedir}/core.comp"/><!-- /if -->
|
---|
| 96 | <!-- if windows --><exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x core.lzma"/></exec><!-- /if -->
|
---|
[20042] | 97 | <delete file="core.lzma"/>
|
---|
| 98 | <unzip src="${basedir}/core.comp" dest="${installDir}"/>
|
---|
| 99 | <delete file="core.comp"/>
|
---|
| 100 | <!-- end web -->
|
---|
| 101 |
|
---|
| 102 | <!-- start cdrom -->
|
---|
| 103 | <copy todir="${installDir}">
|
---|
| 104 | <fileset dir="${orig.dir}/Software/core/all"/>
|
---|
| 105 | <fileset dir="${orig.dir}/Software/core/${rk.os}"/><!-- /if -->
|
---|
| 106 | </copy>
|
---|
| 107 | <!-- if windows -->
|
---|
| 108 | <copy todir="${installDir}/packages/jre" failonerror="false">
|
---|
| 109 | <fileset dir="${orig.dir}/Java/Windows/jre"/>
|
---|
| 110 | </copy>
|
---|
| 111 | <!-- /if -->
|
---|
| 112 | <!-- end cdrom -->
|
---|
| 113 |
|
---|
| 114 | <echo>Setting Binaries to Executable</echo>
|
---|
| 115 | <chmod dir="${installDir}" includes="*.sh,*.bash" perm="775"/>
|
---|
| 116 | <chmod dir="${installDir}/bin" includes="*" perm="775"/>
|
---|
| 117 | <chmod dir="${installDir}/cgi-bin" includes="*" perm="775"/>
|
---|
| 118 | <chmod dir="${installDir}/bin/script" includes="**/*" perm="775"/>
|
---|
| 119 | <chmod dir="${installDir}/gli" includes="*.sh" perm="775"/>
|
---|
| 120 | <!-- if linux|mac -->
|
---|
| 121 | <chmod dir="${installDir}/bin/${shell.name}" includes="**/*" perm="775"/>
|
---|
| 122 | <!-- /if -->
|
---|
| 123 |
|
---|
| 124 | <echo>Filling in concrete values in config files</echo>
|
---|
| 125 | <copy file="${installDir}/cgi-bin/gsdlsite.cfg.in" tofile="${installDir}/cgi-bin/gsdlsite.cfg"/>
|
---|
[21907] | 126 | <rsr file="${installDir}/cgi-bin/gsdlsite.cfg" pattern=""?\*\*GSDLHOME\*\*"?" replacement=""${installDir.local}""/>
|
---|
[20042] | 127 |
|
---|
| 128 | <echo>Correcting perl shebangs in perl scripts</echo>
|
---|
| 129 | <!-- if linux|mac -->
|
---|
| 130 | <exec executable="which" outputproperty="perl.executable"><arg value="perl"/></exec>
|
---|
| 131 | <rsr file="${installDir}/cgi-bin/gliserver.pl" pattern="^#!.*" replacement="#!${perl.executable} -w" lines="1"/>
|
---|
[20773] | 132 | <!-- /if -->
|
---|
[20042] | 133 | <!-- if windows -->
|
---|
[20772] | 134 | <property name="perl.executable" value="${installDir.local}\bin\windows\perl\bin\perl.exe"/>
|
---|
[20042] | 135 | <rsr file="${installDir}/cgi-bin/gliserver.pl" pattern="^#!.*" replacement="#!${perl.executable} -w" lines="1"/>
|
---|
| 136 | <!-- /if -->
|
---|
| 137 |
|
---|
| 138 | <echo>Creating the english dictionary</echo>
|
---|
| 139 | <copy file="${installDir}/gli/classes/dictionary.properties" tofile="${installDir}/gli/classes/dictionary_en.properties"/>
|
---|
| 140 |
|
---|
| 141 | <!-- if linux|mac -->
|
---|
| 142 | <echo>Set the installation locale in config files</echo>
|
---|
| 143 | <rsr file="${installDir}/setup.bash" pattern="^gsdllang=.*" replacement="gsdllang=${language}"/>
|
---|
| 144 | <rsr file="${installDir}/gli/gli.sh" pattern="^glilang=.*" replacement="glilang=${language}"/>
|
---|
| 145 | <rsr file="${installDir}/gli/gems.sh" pattern="^glilang=.*" replacement="glilang=${language}"/>
|
---|
| 146 | <!-- /if -->
|
---|
| 147 | <rsr
|
---|
| 148 | file="${installDir}/gli/classes/xml/config.xml"
|
---|
| 149 | pattern="(<Argument name="general.locale">).*(</Argument>)"
|
---|
| 150 | replacement="$1${language}$2"/>
|
---|
| 151 |
|
---|
| 152 | <echo file="${installDir}/etc/main.cfg" append="true"
|
---|
| 153 | >cgiarg shortname=l argdefault=${language}</echo>
|
---|
| 154 |
|
---|
| 155 | <echo message="Creating installation properties file"/>
|
---|
| 156 | <!-- if linux|mac -->
|
---|
| 157 | <echo file="${installDir}/etc/installation.properties">#this file is just a placeholder for now</echo>
|
---|
| 158 | <!-- /if -->
|
---|
| 159 | <!-- if windows -->
|
---|
| 160 | <echo file="${installDir}\etc\installation.properties">installed.startmenu.path:${startmenu.path.unix}</echo>
|
---|
| 161 | <!-- /if -->
|
---|
| 162 |
|
---|
[23512] | 163 | <!-- if mac -->
|
---|
[23513] | 164 | <rsr file="${installDir}/gli.app/Contents/document.wflow" pattern="\*\*GSDLHOME\*\*" replacement="${installDir}"/>
|
---|
| 165 | <rsr file="${installDir}/gs2-server.app/Contents/document.wflow" pattern="\*\*GSDLHOME\*\*" replacement="${installDir}"/>
|
---|
| 166 | <rsr file="${installDir}/gems.app/Contents/document.wflow" pattern="\*\*GSDLHOME\*\*" replacement="${installDir}"/>
|
---|
| 167 | <rsr file="${installDir}/client-gli.app/Contents/document.wflow" pattern="\*\*GSDLHOME\*\*" replacement="${installDir}"/>
|
---|
[23512] | 168 | <!-- /if -->
|
---|
[20042] | 169 | </target>
|
---|
| 170 |
|
---|
[22325] | 171 | <!-- Apache HTTPD -->
|
---|
| 172 | <target name="Installing Apache Web Server">
|
---|
[22659] | 173 | <echo>Installing the Apache Web Server</echo>
|
---|
[22325] | 174 |
|
---|
[22659] | 175 | <!-- start web -->
|
---|
| 176 | <unzip src="${antinstaller.jar}" dest="${basedir}">
|
---|
| 177 | <patternset>
|
---|
| 178 | <include name="apachehttpd.lzma"/>
|
---|
| 179 | </patternset>
|
---|
| 180 | </unzip>
|
---|
[22325] | 181 |
|
---|
[22659] | 182 | <!-- if linux|mac -->
|
---|
| 183 | <sevenzip task="decode" input="${basedir}/apachehttpd.lzma" output="${basedir}/apachehttpd.comp"/>
|
---|
| 184 | <!-- /if -->
|
---|
| 185 | <!-- if windows -->
|
---|
| 186 | <exec dir="${basedir}" executable="${basedir}/7za.exe">
|
---|
| 187 | <arg line="x apachehttpd.lzma"/>
|
---|
| 188 | </exec>
|
---|
| 189 | <!-- /if -->
|
---|
| 190 | <unzip src="${basedir}/apachehttpd.comp" dest="${installDir}"/>
|
---|
| 191 | <delete file="apachehttpd.comp"/>
|
---|
| 192 | <!-- end web -->
|
---|
[22325] | 193 |
|
---|
[22659] | 194 | <!-- start cdrom -->
|
---|
| 195 | <copy todir="${installDir}">
|
---|
| 196 | <fileset dir="${orig.dir}/Software/apache-httpd"/>
|
---|
[22698] | 197 | <fileset dir="${orig.dir}/Software/apache-httpd/**/*"/>
|
---|
[22659] | 198 | </copy>
|
---|
| 199 | <!-- end cdrom -->
|
---|
| 200 |
|
---|
| 201 | <!-- if linux|mac -->
|
---|
| 202 | <chmod dir="${installDir}/apache-httpd/${shell.name}/bin" includes="*" perm="775"/>
|
---|
| 203 | <chmod dir="${installDir}/apache-httpd/${shell.name}" includes="*.sh" perm="775"/>
|
---|
| 204 | <echo>Setting up apache web server</echo>
|
---|
| 205 | <exec dir="${installDir}" executable="${installDir}/apache-httpd/${shell.name}/install-bindist.sh">
|
---|
| 206 | <arg value="${installDir}/apache-httpd/${shell.name}"/>
|
---|
| 207 | </exec>
|
---|
| 208 | <!-- /if -->
|
---|
[22325] | 209 | </target>
|
---|
| 210 |
|
---|
[20042] | 211 | <!-- ImageMagick -->
|
---|
| 212 | <target name="Installing ImageMagick">
|
---|
| 213 | <echo>Installing ImageMagick</echo>
|
---|
| 214 | <!-- start web -->
|
---|
| 215 | <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="imagemagick.lzma"/></patternset></unzip>
|
---|
[20056] | 216 | <!-- if linux|mac --><sevenzip task="decode" input="${basedir}/imagemagick.lzma" output="${basedir}/imagemagick.comp"/><!-- /if -->
|
---|
| 217 | <!-- if windows --><exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x imagemagick.lzma"/></exec><!-- /if -->
|
---|
[20042] | 218 | <delete file="imagemagick.lzma"/>
|
---|
[22333] | 219 | <unzip src="${basedir}/imagemagick.comp" dest="${installDir}"/>
|
---|
[20042] | 220 | <delete file="imagemagick.comp"/>
|
---|
| 221 | <!-- end web -->
|
---|
| 222 |
|
---|
| 223 | <!-- start cdrom -->
|
---|
[22698] | 224 | <copy todir="${installDir}">
|
---|
| 225 | <fileset dir="${orig.dir}/Software/imagemagick/${rk.os}/**/*"/>
|
---|
[20042] | 226 | </copy>
|
---|
| 227 | <!-- end cdrom -->
|
---|
| 228 |
|
---|
| 229 | <chmod dir="${installDir}/bin/${shell.name}/imagemagick/bin" includes="*" perm="775"/>
|
---|
[22659] | 230 |
|
---|
[20042] | 231 | </target>
|
---|
| 232 |
|
---|
| 233 | <!-- Ghostscript -->
|
---|
| 234 | <target name="Installing Ghostscript" depends="">
|
---|
| 235 | <echo message="Installing Ghostscript"/>
|
---|
| 236 | <!-- start web -->
|
---|
| 237 | <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="ghostscript.lzma"/></patternset></unzip>
|
---|
[20056] | 238 | <!-- if linux|mac --><sevenzip task="decode" input="${basedir}/ghostscript.lzma" output="${basedir}/ghostscript.comp"/><!-- /if -->
|
---|
| 239 | <!-- if windows --><exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x ghostscript.lzma"/></exec><!-- /if -->
|
---|
[20042] | 240 | <delete file="ghostscript.lzma"/>
|
---|
[22333] | 241 | <unzip src="${basedir}/ghostscript.comp" dest="${installDir}" />
|
---|
[20042] | 242 | <delete file="ghostscript.comp"/>
|
---|
| 243 | <!-- end web -->
|
---|
| 244 |
|
---|
| 245 | <!-- start cdrom -->
|
---|
[22698] | 246 | <copy todir="${installDir}">
|
---|
| 247 | <fileset dir="${orig.dir}/Software/ghostscript/${rk.os}/**/*"/>
|
---|
[20042] | 248 | </copy>
|
---|
| 249 | <!-- end cdrom -->
|
---|
| 250 |
|
---|
| 251 | <chmod dir="${installDir}/bin/${shell.name}/ghostscript/bin" includes="*" perm="775"/>
|
---|
[22131] | 252 | </target>
|
---|
[20042] | 253 |
|
---|
| 254 | <!-- Start menu shortcuts -->
|
---|
| 255 | <target name="Installing Start Menu Shortcuts">
|
---|
| 256 |
|
---|
| 257 | <mkdir dir="${startmenu.path}\Documentation"/>
|
---|
[22659] | 258 |
|
---|
| 259 | <!-- Server shortcut -->
|
---|
| 260 | <if><bool><available file="${installDir}/web/images/server.ico"/></bool>
|
---|
| 261 | <property name="servericon" value="${installDir}\web\images\server.ico"/>
|
---|
[22131] | 262 | <else>
|
---|
[22659] | 263 | <property name="servericon" value="${installDir}\web\images\serverico.ico"/>
|
---|
[22131] | 264 | </else>
|
---|
| 265 | </if>
|
---|
[20042] | 266 |
|
---|
[22659] | 267 | <shortcut
|
---|
| 268 | file="${startmenu.path}\Greenstone Server.lnk"
|
---|
| 269 | execute="${installDir}\gs2-server.bat"
|
---|
| 270 | workingDirectory="${installDir}"
|
---|
| 271 | iconFile="${servericon}"
|
---|
| 272 | iconIndex="0" />
|
---|
| 273 |
|
---|
| 274 | <!-- Librarian shortcut -->
|
---|
| 275 | <if><bool><available file="${installDir}/web/images/librarian.ico"/></bool>
|
---|
| 276 | <property name="libraryicon" value="${installDir}\web\images\librarian.ico"/>
|
---|
| 277 | <else>
|
---|
| 278 | <property name="libraryicon" value="${installDir}\web\images\icon.ico"/>
|
---|
| 279 | </else>
|
---|
| 280 | </if>
|
---|
| 281 |
|
---|
| 282 | <shortcut
|
---|
| 283 | file="${startmenu.path}\Librarian Interface (GLI).lnk"
|
---|
| 284 | execute="${installDir}\gli\gli.bat"
|
---|
| 285 | workingDirectory="${installDir}\gli"
|
---|
| 286 | iconFile="${libraryicon}"
|
---|
| 287 | iconIndex="0" />
|
---|
[22131] | 288 |
|
---|
[22659] | 289 | <!-- Remote Server shortcut -->
|
---|
| 290 | <if><bool><available file="${installDir}/web/images/clientgli.ico"/></bool>
|
---|
| 291 | <property name="clientgliicon" value="${installDir}\web\images\clientgli.ico"/>
|
---|
[22131] | 292 | <else>
|
---|
[22659] | 293 | <property name="clientgliicon" value="${installDir}\web\images\icon.ico"/>
|
---|
[22131] | 294 | </else>
|
---|
| 295 | </if>
|
---|
[20042] | 296 |
|
---|
[22659] | 297 | <shortcut
|
---|
| 298 | file="${startmenu.path}\Remote Librarian Interface (Client GLI).lnk"
|
---|
| 299 | execute="${installDir}\gli\client-gli.bat"
|
---|
| 300 | workingDirectory="${installDir}\gli"
|
---|
| 301 | iconFile="${clientgliicon}"
|
---|
| 302 | iconIndex="0" />
|
---|
| 303 |
|
---|
| 304 | <!-- GEMS shortcut -->
|
---|
| 305 | <if><bool><available file="${installDir}/web/images/metadata.ico"/></bool>
|
---|
| 306 | <property name="gemsicon" value="${installDir}\web\images\metadata.ico"/>
|
---|
[22131] | 307 | <else>
|
---|
[22659] | 308 | <property name="gemsicon" value="${installDir}\web\images\gems.ico"/>
|
---|
[22131] | 309 | </else>
|
---|
| 310 | </if>
|
---|
[20042] | 311 |
|
---|
| 312 | <shortcut
|
---|
[22659] | 313 | file="${startmenu.path}\Metadata Set Editor (GEMS).lnk"
|
---|
| 314 | execute="${installDir}\gli\gems.bat"
|
---|
| 315 | workingDirectory="${installDir}\gli"
|
---|
| 316 | iconFile="${gemsicon}"
|
---|
| 317 | iconIndex="0" />
|
---|
| 318 |
|
---|
| 319 | <!-- Uninstall shortcut -->
|
---|
| 320 | <if><bool><available file="${installDir}/web/images/newuninstall.ico"/></bool>
|
---|
| 321 | <property name="uninstallicon" value="${installDir}\web\images\newuninstall.ico"/>
|
---|
| 322 | <else>
|
---|
| 323 | <property name="uninstallicon" value="${installDir}\web\images\uninstall.ico"/>
|
---|
| 324 | </else>
|
---|
| 325 | </if>
|
---|
| 326 |
|
---|
| 327 | <shortcut
|
---|
[20042] | 328 | file="${startmenu.path}\Uninstall.lnk"
|
---|
[23244] | 329 | execute="${installDir}\uninstall\Uninstall.bat"
|
---|
| 330 | workingDirectory="${installDir}\uninstall"
|
---|
[22659] | 331 | iconFile="${uninstallicon}"
|
---|
[20042] | 332 | iconIndex="0" />
|
---|
| 333 |
|
---|
[22659] | 334 | <!-- Misc shortcuts -->
|
---|
[20042] | 335 | <shortcut
|
---|
| 336 | file="${startmenu.path}\Documentation\READMEen.lnk"
|
---|
| 337 | execute="${installDir}\READMEen.txt" />
|
---|
| 338 |
|
---|
| 339 | <shortcut
|
---|
| 340 | file="${startmenu.path}\Documentation\Greenstone Wiki.url"
|
---|
| 341 | url="http://wiki.greenstone.org" />
|
---|
| 342 |
|
---|
| 343 | <shortcut
|
---|
| 344 | file="${startmenu.path}\Documentation\Greenstone Website.url"
|
---|
| 345 | url="http://www.greenstone.org" />
|
---|
[22659] | 346 |
|
---|
[20042] | 347 | </target>
|
---|
| 348 |
|
---|
| 349 | <target name="Configuring Administration Pages" if="enable.admin.pages">
|
---|
| 350 | <echo>Enabling Admin Pages</echo>
|
---|
| 351 | <rsr file="${installDir}/etc/main.cfg" pattern="^\s*status\s+.*" replacement="status enabled"/>
|
---|
| 352 | <echo>Creating admin and demo users</echo>
|
---|
| 353 | <adduser txt2db="${installDir}/bin/${shell.name}/txt2db"
|
---|
| 354 | usersDb="${installDir}/etc/users.gdb"
|
---|
| 355 | username="admin"
|
---|
| 356 | password="${admin.password}"
|
---|
| 357 | groups="administrator,colbuilder,all-collections-editor"
|
---|
| 358 | comment="created at install time"/>
|
---|
| 359 | <adduser
|
---|
| 360 | txt2db="${installDir}/bin/${shell.name}/txt2db"
|
---|
| 361 | usersDb="${installDir}/etc/users.gdb"
|
---|
| 362 | username="demo"
|
---|
| 363 | password="demo"
|
---|
| 364 | groups="demo"
|
---|
| 365 | comment="Dummy 'demo' user with password 'demo' for authen-e collection"/>
|
---|
| 366 | </target>
|
---|
| 367 |
|
---|
| 368 | <target name="Installing Documented Examples">
|
---|
| 369 | <copy todir="${installDir}/collect">
|
---|
| 370 | <fileset dir="${orig.dir}/Documented Examples" includes="documented-examples/**/*"/>
|
---|
| 371 | </copy>
|
---|
| 372 | </target>
|
---|
| 373 |
|
---|
| 374 | </project>
|
---|