Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0a93874964d6c9955509d80b4103a94c13c57e16 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0"?>
<project name="Build Team and CVS plugins" basedir="." default="init">

  <property name="root" value="${basedir}/.."/>
  <property name="temp" value="${root}/__temp"/>
  <property name="plugins" value="${temp}/eclipse/plugins"/>
  <property name="versionSuffix" value="_3.0.0"/>

  <target name="init">
    <tstamp/>

    <delete dir="${temp}"/>
    <mkdir dir="${plugins}"/>

    <antcall target="org.eclipse.team.core"/>
    <antcall target="org.eclipse.team.ui"/>
    <antcall target="org.eclipse.team.cvs.core"/>
    <antcall target="org.eclipse.team.cvs.ui"/>
    <antcall target="org.eclipse.team.cvs.ssh"/>
    <antcall target="org.eclipse.releng.tools"/>
    <zip zipfile="${basedir}/selfhost${DSTAMP}.zip"
       basedir="${temp}"
    />

    <delete dir="${temp}"/>
    <eclipse.refreshLocal resource="org.eclipse.team.tests.cvs.core"/>
  </target>

  <target name="org.eclipse.team.core">
    <antcall target="buildPlugin">
      <param name="pluginName" value="org.eclipse.team.core" />
      <param name="jarName" value="team.jar" />
    </antcall>
  </target>

  <target name="org.eclipse.releng.tools">
    <antcall target="buildPlugin">
      <param name="pluginName" value="org.eclipse.releng.tools" />
      <param name="jarName" value="tools.jar" />
    </antcall>
  </target>

  <target name="org.eclipse.team.ui">
    <antcall target="buildPlugin">
      <param name="pluginName" value="org.eclipse.team.ui" />
      <param name="jarName" value="teamui.jar" />
    </antcall>
  </target>

  <target name="org.eclipse.team.cvs.core">
    <antcall target="buildPlugin">
      <param name="pluginName" value="org.eclipse.team.cvs.core" />
      <param name="jarName" value="cvs.jar" />
    </antcall>
  </target>

  <target name="org.eclipse.team.cvs.ui">
    <antcall target="buildPlugin">
      <param name="pluginName" value="org.eclipse.team.cvs.ui" />
      <param name="jarName" value="teamcvsui.jar" />
    </antcall>
  </target>

  <target name="org.eclipse.team.cvs.ssh">
    <antcall target="buildPlugin">
      <param name="pluginName" value="org.eclipse.team.cvs.ssh" />
      <param name="jarName" value="teamcvsssh.jar" />
    </antcall>
  </target>
          
  <target name="buildPlugin">
    <copy todir="${plugins}/${pluginName}${versionSuffix}">
      <fileset dir="${root}/${pluginName}"/>
    </copy>
    <jar jarfile="${plugins}/${pluginName}${versionSuffix}/${jarName}"
         basedir="${plugins}/${pluginName}${versionSuffix}/bin"
    />
    <delete dir="${plugins}/${pluginName}${versionSuffix}/bin"/>
  </target>

</project>

Back to the top