Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
build.xml 1.76 KiB
<?xml version="1.0" encoding="UTF-8"?>
<project
    default="package"
    basedir=".">
    <fail
        unless="wtp.builder.home"
        message="wtp.build.home needs to be definded for this script"/>
    <property file="${wtp.builder.home}/build.properties"/>
    <property environment="env"/>

     <!-- required to get proper value of branch specific values -->
    <property
        name="keyCfgFile"
        value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/>
    <echo
        level="info"
        message="keyCfgFile: ${keyCfgFile}"/>
    <property file="${keyCfgFile}"/>

    <target
        name="package"
        description="Create the main repository for this build, and any desired zip file distributions">
        <ant antfile="${wtp.builder.home}/scripts/build/runAntRunner.xml">
            <property
                name="antrunnerfile"
                value="${wtp.builder.home}/distribution/${build.distribution}.package/createFinalRepo.xml"/>
        </ant>


        <ant antfile="${wtp.builder.home}/scripts/build/runAntRunner.xml">
            <property
                name="antrunnerfile"
                value="${wtp.builder.home}/distribution/${build.distribution}.package/createmainzips.xml"/>
        </ant>

        <ant antfile="${wtp.builder.home}/scripts/build/runAntRunner.xml">
            <property
                name="antrunnerfile"
                value="${wtp.builder.home}/distribution/${build.distribution}.package/createjaxws.xml"/>
        </ant>
        <ant antfile="${wtp.builder.home}/scripts/build/runAntRunner.xml">
            <property
                name="antrunnerfile"
                value="${wtp.builder.home}/distribution/${build.distribution}.package/createnoopzips.xml"/>
        </ant>
    </target>

</project>