Project

General

Profile

« Previous | Next » 

Revision 8183

try to cut down on the number of metacat-ui build calls - the SEEK build ends up calling war target more oftenthan not!

View differences:

build.xml
80 80
		<git-clone-pull repository="${metacatui.git.repository.url}" dest="${metacatui.build.dir}" />
81 81
	</target>
82 82
	
83
	<target name="build-metacat-ui" description="Calls the Maven build for metacatUI war" depends="getMetacatUI" >
83
	<target name="build-metacat-ui" description="Calls the Maven build for metacatUI war" depends="getMetacatUI" unless="build-metacat-ui-called">
84 84
		<artifact:mvn pom="${metacatui.build.dir}/metacatui/pom.xml" mavenhome="${maven.home}" fork="true">
85 85
			<arg value="clean"/>
86 86
		</artifact:mvn>
87 87
		<artifact:mvn pom="${metacatui.build.dir}/metacatui/pom.xml" mavenhome="${maven.home}" fork="true">
88 88
		   <arg value="package"/>
89 89
		</artifact:mvn>
90
		<property name="build-metacat-ui-called" value="true"/>
90 91
	</target>
91 92
	
92 93
	<target name="dist-metacat-ui" depends="build-metacat-ui">
......
936 937
		<echo message="Install Skin completed." />
937 938
	</target>
938 939

  
939
	<target name="war" depends="warPrepare,install-spatial, dist-metacat-index, dist-metacat-ui"
940
	<target name="war" depends="warPrepare,install-spatial"
940 941
		description="Create a web archive (WAR) for servlet deployment">
941 942
		<mkdir dir="${dist.dir}" />
942 943
		<war destfile="${dist.dir}/${metacat.context}.war"

Also available in: Unified diff