| <!-- |
| Copyright (c) 2009, 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 default="build" basedir="."> |
| |
| <echo message="running merge script" /> |
| |
| |
| <target name="build"> |
| |
| <fail unless="repoSource" message="repoSource must be defined" /> |
| <fail unless="repoDestination" message="repoDestination must be defined" /> |
| <available file="${repoSource}" property="repoSourceAvailable" /> |
| <fail unless="repoSourceAvailable" message="repoSource does not exist." /> |
| <available file="${repoDestination}" property="repoDestinationAvailable" /> |
| <fail unless="repoDestinationAvailable" message="repoDestination does not exist, and it is expected to for this merge task." /> |
| |
| <p2.mirror source="${repoSource}" destination="${repoDestination}"> |
| <slicingOptions followStrict="true" /> |
| <iu id="org.eclipse.wst.xml.security_sdk.feature.feature.group" /> |
| <iu id="org.eclipse.wst.xml.security_tests.feature.feature.group" /> |
| </p2.mirror> |
| |
| </target> |
| </project> |