Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ef464f29a9c52aff0ef9a54852e1f7777a2802af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<project
    default="updatecomposite"
    basedir=".">
    <target name="updatecomposite">

        <fail unless="repodir" message="must specify repodirectory" />
        <echo message="repodir: ${repodir}" />


        <p2.composite.repository>
            <repository
                location="file://${repodir}"
                name="The Eclipse Project nightly repository" />
            <!--
            <add>
                <repository location="http://download.eclipse.org/webtools/downloads/drops/R3.3.0/R-3.3.0-20110607160810/repository/"/>
                <repository location='http://download.eclipse.org/libra/releases/R-0.1.0-201106071417/'/>
            </add>

            -->
            <remove>
                <repository location="N20120626-1030" />
                <repository location="N20120627-2000" />
                <repository location="N20120628-2000" />
                <repository location="N20120629-2000" />
                <repository location="N20120701-0800" />
                <repository location="N20120701-2000" />
                <repository location="N20120702-2000" />
            </remove>
        </p2.composite.repository>
        <echo message="repodir: ${repodir}" />
        <delete dir="${repodir}/N20120626-1030" />
        <delete dir="${repodir}/N20120627-2000" />
        <delete dir="${repodir}/N20120628-2000" />
        <delete dir="${repodir}/N20120629-2000" />
        <delete dir="${repodir}/N20120701-0800" />
        <delete dir="${repodir}/N20120701-2000" />
        <delete dir="${repodir}/N20120702-2000" />
    </target>
</project>

Back to the top