Skip to content
Snippets Groups Projects
createziptasks.xml 2.44 KiB
Newer Older
<project name="mirrortasks">
    <target name="createCodeZip">
        <ant
            antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
            target="premirrortasks"/>
        <p2.mirror
            source="${buildDirectory}/${buildLabel}/repository"
            destination="${tempRepo}"
            log="${buildDirectory}/${buildLabel}/mirrorlog-${newarchiveName}.log"
            verbose="true">
            <slicingoptions
                followstrict="true"
                includeNonGreedy="false"
                includeOptional="false"/>
            <iu query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform (WTP) ${buildId}']"/>

        </p2.mirror>
        <ant
            antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
            target="postmirrortasks"/>
    </target>
    <target name="createSDKZip">
        <ant
            antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
            target="premirrortasks"/>
        <p2.mirror
            source="${buildDirectory}/${buildLabel}/repository"
            destination="${tempRepo}"
            log="${buildDirectory}/${buildLabel}/mirrorlog-${newarchiveName}.log"
            verbose="true">
            <slicingoptions
                followstrict="true"
                includeNonGreedy="false"
                includeOptional="false"/>
            <iu query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform SDK (WTP SDK) ${buildId}']"/>


        </p2.mirror>
        <ant
            antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
            target="postmirrortasks"/>
    </target>
    <target name="createTestZip">
        <ant
            antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
            target="premirrortasks"/>
        <p2.mirror
            source="${buildDirectory}/${buildLabel}/repositoryunittests"
            destination="${tempRepo}"
            log="${buildDirectory}/${buildLabel}/mirrorlog-${newarchiveName}.log"
            verbose="true">
            <slicingoptions
                followstrict="true"
                includeNonGreedy="false"
                includeOptional="false"/>
            <iu query="property[@name='org.eclipse.equinox.p2.name' and (@value='Web Tools Platform Tests (WTP Tests) ${buildId}')]"/>


        </p2.mirror>
        <ant
            antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
            target="postmirrortasks"/>
    </target>
</project>