Revision 7633
Added by Jing Tao over 11 years ago
build.xml | ||
---|---|---|
100 | 100 |
value="${build.tomcat.dir}/lib/servlet-api.jar" /> |
101 | 101 |
</target> |
102 | 102 |
|
103 |
<target name="init" depends="config" unless="init.called"> |
|
103 |
<target name="init" depends="config, build-metacat-common" unless="init.called">
|
|
104 | 104 |
|
105 | 105 |
<property name="libdir.mvn" value="lib/maven" /> |
106 | 106 |
<mkdir dir="${libdir.mvn}"/> |
... | ... | |
1665 | 1665 |
<target name="install-configured-metacat" depends="change-metacat-properties, install" |
1666 | 1666 |
description="Install a metacat by the default value in metacat.properties without additional configutaion"> |
1667 | 1667 |
</target> |
1668 |
|
|
1669 |
<!-- build metacat-common jar --> |
|
1670 |
<target name="build-metacat-common" description="Calls the Maven build for metacat-common jar"> |
|
1671 |
<artifact:mvn pom="metacat-common/pom.xml" mavenhome="${maven.home}" fork="true"> |
|
1672 |
<arg value="clean"/> |
|
1673 |
</artifact:mvn> |
|
1674 |
<artifact:mvn pom="metacat-common/pom.xml" mavenhome="${maven.home}" fork="true"> |
|
1675 |
<arg value="install"/> |
|
1676 |
</artifact:mvn> |
|
1677 |
</target> |
|
1668 | 1678 |
|
1669 | 1679 |
<!-- build metacat-index war --> |
1670 | 1680 |
<target name="build-metacat-index" description="Calls the Maven build for metacat-index.war" > |
Also available in: Unified diff
Add the code to build the metacat-common.