| <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> |