- Timestamp:
- 2005-05-02T13:16:08+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ant-install-branch/gsdl3/build.xml
r9779 r9792 168 168 <!-- add comments about using xxx-core, xxx-packages if only want certain parts?? --> 169 169 170 <target name="install" depends="accept-properties,init,prepare,cvsupdate,configure,clean,compile "170 <target name="install" depends="accept-properties,init,prepare,cvsupdate,configure,clean,compile,deploy-localsite" 171 171 description="Install Greenstone 3. Use this when you first checkout the code. Also running this target later on will reinstall Greenstone. Most things will be reset back to their defaults, except for code changes."/> 172 172 … … 425 425 path="/gsdl3"/> 426 426 </target> 427 428 427 429 428 <target name="startup-tomcat" description="Startup only Tomcat" depends="init" if="tomcat.islocal"> 430 429 <property name="tomcat.classpath" refid="compile.classpath"/> … … 436 435 <env key="PATH" path="${tomcat.path}"/> 437 436 <env key="CATALINA_OPTS" value="${catalina.opts}"/> 437 <env key="CATALINA_HOME" value="${catalina.home}"/> 438 438 <env key="CLASSPATH" path="${tomcat.classpath}"/> 439 439 <env key="LD_LIBRARY_PATH" path="${env.LD_LIBRARY_PATH}:${basedir}/lib:${mysql.home}/lib/mysql"/> … … 457 457 <!-- windows: do we want to launch a webrowser?? --> 458 458 <target name="shutdown-tomcat" description="Shutdown only Tomcat" depends="init" if="tomcat.islocal"> 459 <exec executable="${catalina.home}/bin/shutdown.sh" os="${os.linux}" dir="${catalina.home}/bin" spawn="false"/> 459 <exec executable="${catalina.home}/bin/shutdown.sh" os="${os.linux}" dir="${catalina.home}/bin" spawn="false"> 460 <env key="CATALINA_HOME" value="${catalina.home}"/> 461 </exec> 460 462 <exec executable="${catalina.home}/bin/shutdown.bat" os="${os.windows}" dir="${catalina.home}/bin" spawn="false"/> 461 463 </target> … … 658 660 </target> 659 661 662 <target name="deploy-localsite" depends="init"> 663 <antcall target="startup-tomcat"/> 664 <antcall target="soap-deploy-site"> 665 <param name="axis.sitename" value="localsite"/> 666 <param name="axis.siteuri" value="localsite"/> 667 </antcall> 668 <antcall target="shutdown-tomcat"/> 669 </target> 670 660 671 <target name="get-sitename" unless="axis.sitename"> 661 672 <input addproperty="axis.sitename" message="What site? (press enter for default:localsite)" defaultvalue="localsite"/>
Note:
See TracChangeset
for help on using the changeset viewer.