Show build.xml syntax highlighted
<?xml version="1.0"?>
<!-- ==================================================================== -->
<!-- Cloudscape build file -->
<!-- ==================================================================== -->
<project default="engine" basedir="../..">
<!-- ==================================================================== -->
<!-- Set properties -->
<!-- ==================================================================== -->
<property name="properties.dir" value="tools/ant/properties"/>
<!-- User settings -->
<property file="${user.home}/ant.properties"/>
<!-- Significant dirs -->
<property file="${properties.dir}/dirs.properties"/>
<!-- Compiler settings -->
<property file="${properties.dir}/defaultcompiler.properties"/>
<property file="${properties.dir}/${build.compiler}.properties"/>
<!-- Parser properties -->
<property file="${properties.dir}/parser.properties"/>
<!-- Compile-time classpath properties files -->
<property file="${properties.dir}/extrapath.properties"/>
<property file="${properties.dir}/compilepath.properties"/>
<!-- Release and Version info -->
<property file="${properties.dir}/release.properties"/>
<!-- ============ Begin Targets ============== -->
<target name="engine" depends="engine_j2se,engine_169,engine_169_opt"
description="Build Derby engine">
</target>
<target name="engine_j2se" depends="engine_169"
description="Build Derby engine">
<ant dir="${derby.engine.dir}/iapi"/>
<ant dir="${derby.engine.dir}/impl"/>
<ant dir="${derby.engine.dir}/jdbc"/>
<ant dir="${derby.engine.dir}/osgi"/>
<ant dir="${derby.engine.dir}/catalog"/>
<ant dir="${derby.engine.dir}/diag"/>
<ant dir="${derby.engine.dir}/vti"/>
<copy todir="${out.dir}/${derby.dir}">
<fileset dir="${derby.engine.dir}">
<include name="modules.properties"/>
</fileset>
</copy>
</target>
<target name="engine_169"
description="Build base JSR169 elements of Derby engine">
<ant dir="${derby.engine.dir}/iapi/reference"/>
<ant dir="${derby.engine.dir}/authentication"/>
<ant dir="${derby.engine.dir}/io"/>
<ant dir="${derby.engine.dir}/iapi" target="compile_iapi_error_jsr169"/>
<ant dir="${derby.engine.dir}/database"/>
<ant dir="${derby.engine.dir}/impl" target="compile_impl_169"/>
</target>
<!-- optional JSR169 classes - optional because it requires a
J2ME/CDC/Foundation/JSR169 build jar files.
jsr169compile.classpath
-->
<target name="engine_169_opt" depends="engine_j2se,J2ME_modules_edit"
description="Build optional JSR169 elements of Derby engine"
if="jsr169compile.classpath">
<ant dir="${derby.engine.dir}/impl/jdbc" target="compile_jsr169_opt"/>
<ant dir="${derby.engine.dir}/jdbc" target="compile_jsr169_opt"/>
</target>
<target name="J2ME_modules_edit" depends="checkJ2MEmoduleprops"
unless="modulesJ2ME.uptodate" if="jsr169compile.classpath">
<replaceregexp file="${out.dir}/${derby.dir}/modules.properties"
match="^#J2ME_optional_(.*)"
replace="\1"
byline="true" />
<touch file="${out.dir}/${derby.dir}/modulesJ2ME.done"/>
</target>
<target name="checkJ2MEmoduleprops">
<condition property="modulesJ2ME.uptodate">
<available file="${out.dir}/${derby.dir}/modulesJ2ME.done"/>
</condition>
</target>
<!-- ============= End Targets ============== -->
<!-- ============= End Project ============== -->
</project>
See more files for this project here