Project

General

Profile

« Previous | Next » 

Revision 7568

split the deployment of metacat-index.war copy into two different tasks so that the "install" target puts it in both the /dist and "deployment directory" whereas the "install-metacat-index" bypasses metacat building and kust rebuilds the metacat-index.war and puts it in the deply directory.

View differences:

build.xml
778 778
		<!--<delete dir="${app.deploy.dir2}/${metacat.context}" />-->
779 779
		<copy file="${dist.dir}/geoserver.war"
780 780
					todir="${app.deploy.dir}" />
781
		<copy file="${dist.dir}/metacat-index.war"
782
					todir="${app.deploy.dir}" />
781 783
		<tstamp>
782 784
			<format property="NOW" pattern="MM/dd/yyyy hh:mm:ss aa" />
783 785
		</tstamp>
......
1690 1692
		</artifact:mvn>
1691 1693
	</target>
1692 1694
	
1693
	<target name="install-metacat-index" depends="init, build-metacat-index" description="Copy metacat-index.war to dist folder" >		
1694
		<copy tofile="${app.deploy.dir}/metacat-index.war" >
1695
	<target name="dist-metacat-index" depends="init, build-metacat-index" description="Copy metacat-index.war to dist folder" >		
1696
		<copy tofile="${dist.dir}/metacat-index.war" >
1695 1697
			<fileset dir="metacat-index/target" includes="metacat-index*.war"></fileset>
1696 1698
		</copy>	
1697 1699
	</target>
1698 1700
	
1701
	<target name="install-metacat-index" depends="dist-metacat-index" description="Copy metacat-index.war to deploy folder" >		
1702
		<copy todir="${app.deploy.dir}" file="${dist.dir}/metacat-index.war" />
1703
	</target>
1704
	
1699 1705
</project>

Also available in: Unified diff