Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: bb55c0666fcd1429fe83df8aa1af19ec1736016a (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
<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== 
     EPP Package Build                                                        
     ====================================================================== -->
<project name="EPP Package Build" default="default">
	<description>
    	EPP Package Build
    </description>

	<!-- Change this if building on build.eclipse.org to "server"; "local" otherwise -->
	<property name="org.eclipse.epp.buildlocation" value="server" />

	<!-- targetRepository needs to be set via Java property -->
	<property name="targetRepository" value="unset"/>

	<!-- ================================= 
          target: default              
         ================================= -->
	<target name="default">
		<echo message="There is no default target." />
	</target>

	<!-- ================================= 
          target: removeCategories              
         ================================= -->
    
	<target name="removeCategories">
		<p2.remove.iu destination="file://${targetRepository}">
		    <iu query="property[@name='org.eclipse.equinox.p2.name' @value='Uncategorized']" />
			<!-- <iu id="Default" /> -->
		</p2.remove.iu>
	</target>

	<target name="mirror">
	    <p2.mirror ignoreerrors="true" verbose="true" validate="true">
	        <slicingoptions 
	            followstrict="false" 
	            includeoptional="true" 
	            includenongreedy="true" 
	            includefeatures="true" 
	            latestversiononly="false"/>
	        <source>
	                <sort>
			            <fileset dir="/tmp/2018-09">
    						<include name="*"/>
						</fileset>
						<reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
							<date />
						</reverse>
	                </sort>
	        </source>
	        <destination location="${targetRepository}" name="EPP 2018-09 Package Repository" append="true" compressed="true" />
	    </p2.mirror>
	</target>


</project>

Back to the top