blob: 94ae8cb24c4f1895bc70091e2e69992115f3b153 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2016 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
David Williams - initial API and implementation
-->
<project
default="addToComposite"
basedir=".">
<target name="addToComposite">
<fail
unless="repodir"
message="repodir must be passed in to this script" />
<fail
unless="complocation"
message="complocation must be passed in to this script" />
<echo message="Adding child (complocation) to composite (repodir)" />
<echo message=" repodir: ${repodir}" />
<echo message=" complocation: ${complocation}" />
<p2.composite.repository>
<repository
location="file://${repodir}"
name="The Eclipse Project repository" />
<add>
<repository location="${complocation}" />
</add>
</p2.composite.repository>
</target>
</project>