Revision 2960
Added by Jing Tao almost 19 years ago
build.xml | ||
---|---|---|
764 | 764 |
|
765 | 765 |
<target name="install-ecogrid" depends="war" if="enable.ecogrid" |
766 | 766 |
description="Install Ecogrid Compentent"> |
767 |
<copyfile src="lib/metacat.url" dest="${ecogrid.dir}/conf/MetacatImpl/classes/metacat.properties" forceoverwrite="true"/> |
|
767 | 768 |
<ant antfile="build_new.xml" dir="${ecogrid.dir}" target ="clean" inheritall="false"/> |
768 | 769 |
<ant antfile="build_new.xml" dir="${ecogrid.dir}" target ="war" inheritall="false"> |
769 | 770 |
<property name="context" value="${metacat.context}"/> |
... | ... | |
775 | 776 |
<target name="upgrade" depends="install" |
776 | 777 |
description="* Upgrade an existing metacat installation with a new version *"> |
777 | 778 |
<unwar src="${deploy.dir}/${metacat.context}.war" dest="${deploy.dir}/${metacat.context}" /> |
778 |
<echo>Note: If you enable to install ecogrid, please run "ant deploy-ecogrid" now</echo>
|
|
779 |
<echo>Note: If you enable to install ecogrid, please run "ant deploy-ecogrid" after restart tomcat</echo>
|
|
779 | 780 |
</target> |
780 | 781 |
|
781 | 782 |
<target name="deploy-ecogrid" depends="init" if="enable.ecogrid" description="Automately generate wsdd for ecogrid service"> |
Also available in: Unified diff
Add copy a metacat.url to ecogrid.