Changeset 9840 for branches/ant-install-branch
- Timestamp:
- 2005-05-09T11:27:12+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ant-install-branch/gsdl3/build.xml
r9837 r9840 190 190 description="Update (thru CVS) all the source (including core, packages and gs2building) and recompile. Similar to install but doesn't reinstall components such as Tomcat and axis."/> 191 191 192 <target name="start up" depends="init,startup-mysql,startup-tomcat"192 <target name="start" depends="init,start-mysql,start-tomcat" 193 193 description="Startup the (local) Greenstone servers (tomcat,mysql...)" /> 194 194 195 <target name="s hutdown" depends="init,shutdown-tomcat,shutdown-mysql"195 <target name="stop" depends="init,stop-tomcat,stop-mysql" 196 196 description="Shutdown the (local) Greenstone servers."/> 197 197 198 <target name="restart" description="Shutdown and restart the Greenstone servers" depends="init,s hutdown,startup"/>198 <target name="restart" description="Shutdown and restart the Greenstone servers" depends="init,stop,start"/> 199 199 200 200 … … 350 350 tofile="${basedir}/web/lib/xercesImpl.jar"/> 351 351 </target> 352 <target name="configure-files" depends="init"> 352 353 <target name="configure-files" depends="configure-files-gsdl3,configure-files-server"/> 354 355 <target name="configure-files-gsdl3" depends="init"> 356 <filter token="gsdl3home" value="${basedir}"/> 357 <copy file="${basedir}/web/WEB-INF/web.xml.in" tofile="${basedir}/web/WEB-INF/web.xml" filtering="true"/> 358 <copy file="${basedir}/resources/java/SOAPServer.cfg.in" tofile="${basedir}/resources/java/SOAPServer.cfg" filtering="true"/> 359 </target> 360 361 <target name="configure-files-server" depends="init"> 353 362 <filter token="port" value="${tomcat.port}"/> 354 363 <filter token="hostname" value="${tomcat.server}"/> 355 <filter token="gsdl3home" value="${basedir}"/>356 <copy file="${basedir}/web/WEB-INF/web.xml.in" tofile="${basedir}/web/WEB-INF/web.xml" filtering="true"/>357 364 <copy file="${basedir}/web/sites/localsite/siteConfig.xml.in" tofile="${basedir}/web/sites/localsite/siteConfig.xml" filtering="true"/> 358 365 <copy file="${basedir}/web/sites/gateway/siteConfig.xml.in" tofile="${basedir}/web/sites/gateway/siteConfig.xml" filtering="true"/> 359 <copy file="${basedir}/resources/java/SOAPServer.cfg.in" tofile="${basedir}/resources/java/SOAPServer.cfg" filtering="true"/>360 361 366 </target> 362 367 … … 429 434 </target> 430 435 431 <target name="start up-tomcat" description="Startup only Tomcat" depends="init" if="tomcat.islocal">436 <target name="start-tomcat" description="Startup only Tomcat" depends="init" if="tomcat.islocal"> 432 437 <property name="tomcat.classpath" refid="compile.classpath"/> 433 438 <property name="tomcat.path" refid="running.path"/> … … 459 464 </target> 460 465 <!-- windows: do we want to launch a webrowser?? --> 461 <target name="s hutdown-tomcat" description="Shutdown only Tomcat" depends="init" if="tomcat.islocal">466 <target name="stop-tomcat" description="Shutdown only Tomcat" depends="init" if="tomcat.islocal"> 462 467 <exec executable="${catalina.home}/bin/shutdown.sh" os="${os.linux}" dir="${catalina.home}/bin" spawn="false"> 463 468 <env key="CATALINA_HOME" value="${catalina.home}"/> … … 466 471 </target> 467 472 468 <target name="restart-tomcat" description="Shutdown and restart only Tomcat" depends="init,s hutdown-tomcat,startup-tomcat"/>473 <target name="restart-tomcat" description="Shutdown and restart only Tomcat" depends="init,stop-tomcat,start-tomcat"/> 469 474 470 475 <target name="setup-catalina-ant-tasks"> … … 492 497 493 498 <!-- this is one target that we only want to run once. --> 494 <target name="prepare-mysql" depends="init,init-mysql-vars,install-mysql,start up-mysql,setup-mysql,shutdown-mysql"/>499 <target name="prepare-mysql" depends="init,init-mysql-vars,install-mysql,start-mysql,setup-mysql,stop-mysql"/> 495 500 496 501 <target name="init-mysql-vars"> … … 579 584 </target> 580 585 581 <target name="start up-mysql" depends="init,init-mysql-vars" if="mysql.islocal"586 <target name="start-mysql" depends="init,init-mysql-vars" if="mysql.islocal" 582 587 description="Startup only mysql"> 583 588 <exec executable="${mysql.home}/bin/mysqld_safe" dir="${mysql.home}" … … 602 607 </target> 603 608 604 <target name="s hutdown-mysql" depends="init" if="mysql.islocal"609 <target name="stop-mysql" depends="init" if="mysql.islocal" 605 610 description="Shutdown only mysql"> 606 611 <exec executable="${mysql.home}/bin/mysqladmin" dir="${mysql.home}" … … 618 623 </target> 619 624 620 <target name="restart-mysql" description="Shutdown and restart only mysql" depends="init,s hutdown-mysql,startup-mysql"/>625 <target name="restart-mysql" description="Shutdown and restart only mysql" depends="init,stop-mysql,start-mysql"/> 621 626 622 627 … … 664 669 665 670 <target name="deploy-localsite" depends="init"> 666 <antcall target="start up-tomcat"/>671 <antcall target="start-tomcat"/> 667 672 <antcall target="soap-deploy-site"> 668 673 <param name="axis.sitename" value="localsite"/> 669 674 <param name="axis.siteuri" value="localsite"/> 670 675 </antcall> 671 <antcall target="s hutdown-tomcat"/>676 <antcall target="stop-tomcat"/> 672 677 </target> 673 678 … … 1134 1139 1135 1140 1141 <target name="reconfigure-server-settings" depends="init,configure-tomcat,configure-files-server" 1142 description="If you have changed any of the Tomcat properties in the build.properties file, run this target to update the Tomcat configuration, and any Greenstone configuration files that specify the server address"> 1143 </target> 1144 1136 1145 1137 1146 </project>
Note:
See TracChangeset
for help on using the changeset viewer.