summaryrefslogtreecommitdiffstats
blob: 264a0f108dc1c5cd8aa31ae9e8ab76b8a7aacd73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<project name="mirror jface" default="mirrorJFace">
	<property name="localRepoLocation" value="/opt/users/pwebster/jface-mirror"/>
	<property name="eclipseRepoLocation" value="http://download.eclipse.org/eclipse/updates/3.6"/>


	<!-- ===================================================================== -->
	<!-- Steps to do after setup but before starting the build proper -->
	<!-- ===================================================================== -->
	<target name="mirrorJFace" >
		<echo message="Mirror from ${eclipseRepoLocation} to ${localRepoLocation}" />
		<p2.mirror destination="file:${localRepoLocation}" ignoreerrors="true">
			<source location="${eclipseRepoLocation}" />
			<slicingOptions includeOptional="false" includeNonGreedy="false" latestVersionOnly="true"/>
			<iu id="org.eclipse.jface" />
			<iu id="org.eclipse.swt.gtk.linux.x86_64" />
			<iu id="org.eclipse.swt.gtk.linux.x86" />
			<iu id="org.eclipse.swt.win32.win32.x86_64" />
			<iu id="org.eclipse.swt.win32.win32.x86" />
		</p2.mirror>
	</target>

</project>