blob: 5286f66a766fda2ac7a74c906aba34eb09b2ee47 [file]
<!--
Copyright (c) 2011, 2019 IBM Corporation and others.
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
IBM Corporation - initial API and implementation
-->
<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='Dali Java Persistence Tools Platform ${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='Dali Java Persistence Tools Platform 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='Dali Java Persistence Tools Platform Tests ${buildId}')]"/>
</p2.mirror>
<ant
antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
target="postmirrortasks"/>
</target>
</project>