Changeset 10301
- Timestamp:
- 2005-07-25T16:47:29+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/build.xml
r10235 r10301 363 363 </or> 364 364 </condition> 365 <getuserandpassword message="Using proxy: ${proxy.host}:${proxy.port}" if="ask.user" username="${proxy.user}" />366 <mysetproxy proxyhost="${proxy.host}" proxyport="${proxy.port}" proxyuser="${proxy.user }" proxypassword="${proxy.password}"/>365 <getuserandpassword message="Using proxy: ${proxy.host}:${proxy.port}" if="ask.user" username="${proxy.user}" userproperty="proxy.username" pwordproperty="proxy.password"/> 366 <mysetproxy proxyhost="${proxy.host}" proxyport="${proxy.port}" proxyuser="${proxy.username}" proxypassword="${proxy.password}"/> 367 367 </target> 368 368 … … 407 407 <copy file="${web.lib}/xercesImpl.jar.tmp" tofile="${web.lib}/xercesImpl.jar"/> 408 408 </target> 409 <target name="configure-web" depends="configure-web-gsdl3,configure-web-server" 410 description="Configure only the web app config files"/> 411 412 <target name="configure-web-gsdl3" depends="init"> 409 410 <target name="configure-web" depends="init" 411 description="Configure only the web app config files"> 413 412 <filter token="gsdl3home" value="${web.home}"/> 414 <copy file="${web.home}/WEB-INF/web.xml.in" tofile="${web.home}/WEB-INF/web.xml" filtering="true" overwrite="true" /> 415 <copy file="${basedir}/resources/soap/SOAPServer.cfg.in" tofile="${web.classes}/SOAPServer.cfg" filtering="true" overwrite="true"/> 416 </target> 417 418 <target name="configure-web-server" depends="init"> 419 <filter token="port" value="${tomcat.port}"/> 420 <filter token="hostname" value="${tomcat.server}"/> 421 <copy file="${web.home}/sites/localsite/siteConfig.xml.in" tofile="${web.home}/sites/localsite/siteConfig.xml" filtering="true" overwrite="true"/> 422 <copy file="${web.home}/sites/gateway/siteConfig.xml.in" tofile="${web.home}/sites/gateway/siteConfig.xml" filtering="true" overwrite="true"/> 423 </target> 424 425 <target name="compile-web" depends="init"> 413 <filter token="mysql.port" value="${mysql.port}"/> 414 <filter token="mysql.server" value="${mysql.server}"/> 415 <!-- need to prompt for passwords --> 416 <filter token="mysql.admin.pword" value="greenstone"/> 417 <filter token="mysql.reader.pword" value="greenstone"/> 418 <copy file="${basedir}/resources/java/global.properties.in" tofile="${web.classes}/global.properties" filtering="true" overwrite="true"/> 419 </target> 420 421 <target name="compile-web" depends="init"> 426 422 <javac srcdir="${web.classes}" 427 423 destdir="${web.classes}" … … 444 440 445 441 <!-- ======================= Tomcat Targets ========================== --> 446 442 447 443 <!-- this target sets up tomcat for the first time, or resets it any subsequent times --> 448 444 <target name="prepare-tomcat" depends="init,setup-proxy" if="tomcat.islocal"> … … 521 517 <env key="CATALINA_HOME" value="${catalina.home}"/> 522 518 <env key="CLASSPATH" path="${tomcat.classpath}"/> 523 <env key="LD_LIBRARY_PATH" path="${env.LD_LIBRARY_PATH}:${lib.jni}:${mysql.home}/lib/mysql"/> 524 <env key="DYLD_LIBRARY_PATH" path="${env.DYLD_LIBRARY_PATH}:${lib.jni}:${mysql.home}/lib/mysql"/> <!-- for mac--> 519 <env key="LD_LIBRARY_PATH" path="${env.LD_LIBRARY_PATH}:${lib.jni}"/> 520 <env key="DYLD_LIBRARY_PATH" path="${env.DYLD_LIBRARY_PATH}:${lib.jni}"/> 521 <!-- <env key="LD_LIBRARY_PATH" path="${env.LD_LIBRARY_PATH}:${lib.jni}:${mysql.home}/lib/mysql"/> 522 523 <env key="DYLD_LIBRARY_PATH" path="${env.DYLD_LIBRARY_PATH}:${lib.jni}:${mysql.home}/lib/mysql"/>--> <!-- for mac--> 525 524 </exec> 526 525 <exec executable="${catalina.home}/bin/startup.bat" os="${os.windows}" dir="${catalina.home}/bin" spawn="true">
Note:
See TracChangeset
for help on using the changeset viewer.