libreccm-legacy/tools-ng/ecdc/scriptlib/build-common.xml

71 lines
3.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project name="common">
<!-- build-common
defines essential system variables and reads configuration property
files which configure the specialized scripts. -->
<fail message="Property ccm.project.dir not set "
unless="ccm.project.dir" />
<condition property="correct.ant.version">
<antversion atleast="1.7.0" />
</condition>
<!-- xsl schemas to generate build tools for the specific module set -->
<property name="ccm.tools.xsl.dir"
value="${ccm.project.dir}/tools-ng/common/xsl" />
<!-- xsd schemas to validate xml configuration files -->
<property name="ccm.tools.xsd.dir"
value="${ccm.project.dir}/tools-ng/common/xsd" />
<!-- several java programs needed for processing, esp. xml files -->
<property name="ccm.tools.lib.dir"
value="${ccm.project.dir}/tools-ng/common/lib" />
<path id="ccm.tools.classpath">
<fileset dir="${ccm.tools.lib.dir}" includes="*.jar" />
</path>
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="${ccm.tools.lib.dir}/ant-contrib.jar"/>
</classpath>
</taskdef>
<!-- Read configuration files.
First from project dir, then add requirred defaults from ecdc dir -->
<!-- Specifies the test application server runtime managed by build-runtime.xml
Provides app.server.*.dir props used by build-runtime and build-project -->
<property file="${ccm.project.dir}/local.runtime.properties.bak" />
<property file="${ccm.ecdc.conf.dir}/runtime.properties" />
<!-- Specifies the compiler & build options and the junit test environment
Provides compile.* build.* test.* properties -->
<property file="${ccm.project.dir}/local.build.properties" />
<property file="${ccm.ecdc.conf.dir}/build.properties" />
<!-- Specifies the ccm build environment
Provides ccm.* -->
<property file="${ccm.project.dir}/local.ccm.properties" />
<property file="${ccm.ecdc.conf.dir}/ccm.properties" />
<property name="ccm.build.lib.dir" value="${ccm.project.dir}/tools-ng/devel/lib"/>
<property name="ccm.tools.lib.dir" value="${ccm.project.dir}/tools-ng/common/lib"/>
<property name="ccm.tools.rh-jdo.dir" value="${ccm.project.dir}/tools-ng/common/classes"/>
<!-- preliminary, must be taken from project.xml -->
<property name="ccm.home" value="${app.server.webapp.dir}/ROOT"/>
<!-- deprecated used by prebuild modules only -->
<property name="shared.lib.dist.dir" value="${ccm.tools.lib.dir}"/>
<!-- deprecated used by prebuild modules only -->
<property name="webapp.dist.dir" value="${ccm.project.dir}/distribution"/>
<!-- http://antelope.tigris.org/ -->
<!--
<taskdef classpathref="ccm.tools.classpath" resource="ise/antelope/tasks/antlib.xml" />
-->
</project>