| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <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> |
| |