Revision 4550
Added by daigle about 16 years ago
build.xml | ||
---|---|---|
39 | 39 |
<condition property="enable.ecogrid"> |
40 | 40 |
<equals arg1="${install.ecogrid}" arg2="true" /> |
41 | 41 |
</condition> |
42 |
|
|
43 |
<condition property="enable.testBuild"> |
|
44 |
<equals arg1="${test.build}" arg2="true" /> |
|
45 |
</condition> |
|
46 | 42 |
|
47 | 43 |
<target name="config"> |
48 | 44 |
<property name="jsdk" value="${build.tomcat.dir}/common/lib/servlet-api.jar"/> |
... | ... | |
862 | 858 |
<exec dir="src/perl/Metacat/" command="make" /> |
863 | 859 |
</target> |
864 | 860 |
|
865 |
<target name="testPrepare" if="enable.testBuild"
|
|
861 |
<target name="testPrepare" |
|
866 | 862 |
description="Copies test files into the war directories"> |
867 | 863 |
<echo>in testPrepare</echo> |
868 | 864 |
<property name="war.context.test" value="${build.war}/${metacat.context}/test" /> |
... | ... | |
1146 | 1142 |
<delete dir="./${ver.dir}/${build.dir}"/> |
1147 | 1143 |
<delete dir="./${ver.dir}/dist"/> |
1148 | 1144 |
--> |
1149 |
<delete file="./${name}-${release}.zip"/> |
|
1145 |
<!-- delete file="./${name}-${release}.zip"/>
|
|
1150 | 1146 |
<zip zipfile="./${name}-${release}.zip" basedir="${dist.dir}" excludes="${name}-${release}/src/**, ${name}-${release}/build/src/**"/> |
1151 | 1147 |
<delete file="./${name}-${release}.tar.gz" /> |
1152 | 1148 |
<tar tarfile="./${name}-${release}.tar" basedir="${dist.dir}" excludes="${name}-${release}/src/**, ${name}-${release}/build/src/**"/> |
1153 | 1149 |
<gzip zipfile="./${name}-${release}.tar.gz" |
1154 | 1150 |
src="./${name}-${release}.tar"/> |
1155 |
<delete file="./${name}-${release}.tar" /> |
|
1151 |
<delete file="./${name}-${release}.tar" / -->
|
|
1156 | 1152 |
</target> |
1157 | 1153 |
|
1158 | 1154 |
<target name="distbin" depends="install-ecogrid,war" description="prepares a binary distribution"> |
Also available in: Unified diff
Remove test.build property. All test driver files are now included in build.