Project

General

Profile

« Previous | Next » 

Revision 7803

Added by Jing Tao about 11 years ago

The "war" target will build the metacat-index.war as well.

View differences:

build.xml
881 881
		<echo message="Install Skin completed." />
882 882
	</target>
883 883

  
884
	<target name="war" depends="warPrepare,install-spatial"
884
	<target name="war" depends="warPrepare,install-spatial, dist-metacat-index"
885 885
		description="Create a web archive (WAR) for servlet deployment">
886 886
		<mkdir dir="${dist.dir}" />
887 887
		<war destfile="${dist.dir}/${metacat.context}.war"
......
1669 1669
    </target>
1670 1670
	
1671 1671
	<!-- build metacat-common jar -->
1672
	<target name="build-metacat-common" description="Calls the Maven build for metacat-common jar">
1672
	<target name="build-metacat-common" description="Calls the Maven build for metacat-common jar" unless="build-metacat-common-called" >
1673 1673
		<artifact:mvn pom="metacat-common/pom.xml" mavenhome="${maven.home}" fork="true">
1674 1674
		            <arg value="clean"/>
1675 1675
		</artifact:mvn>
1676 1676
		<artifact:mvn pom="metacat-common/pom.xml" mavenhome="${maven.home}" fork="true">
1677 1677
		   <arg value="install"/>
1678 1678
		</artifact:mvn>
1679
		<property name="build-metacat-common-called" value="true"/>
1679 1680
	</target>
1680 1681

  
1681 1682
	<!-- build metacat-index war -->

Also available in: Unified diff