summaryrefslogtreecommitdiff
path: root/java/eclipse/files/patch-build.xml
blob: b3d778945b89daf008c3799ce784a9ca8b8fed58 (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
$FreeBSD$

--- build.xml.orig	Fri Jun 27 22:00:54 2003
+++ build.xml	Fri Jul 11 20:45:22 2003
@@ -181,7 +181,19 @@
 				<equals arg1="${ws}" arg2="photon" />
 			</and>
 		</condition>
-		
+		<condition property="launcherBin" value="${install}/plugins/platform-launcher/bin/freebsd/motif">
+			<and>
+				<equals arg1="${os}" arg2="freebsd" />
+				<equals arg1="${ws}" arg2="motif" />
+			</and>
+		</condition>
+		<condition property="launcherBin" value="${install}/plugins/platform-launcher/bin/freebsd/gtk">
+			<and>
+				<equals arg1="${os}" arg2="freebsd" />
+				<equals arg1="${ws}" arg2="gtk" />
+			</and>
+		</condition>
+
 		<condition property="win">
 			<and>
 			     <os family="windows" />
@@ -192,6 +204,24 @@
 			     <os family="unix" />
       		</and>
 		</condition>
+	</target>
+
+<!-- Gathers all plugins which belong to a feature into a zip, once for 
+     the source, once for the bin plugins. Should be called after run -->
+
+	<target name="gatherFeatureSources" depends="init">
+		<antcall target="allElements">
+			<param name="target" value="build.sources" />
+		</antcall>
+			<antcall target="allElements">
+			<param name="target" value="zip.sources" />
+		</antcall>
+	</target>
+
+	<target name="gatherFeatureBinaries" depends="init">
+		<antcall target="allElements">
+			<param name="target" value="zip.distribution" />
+		</antcall>
 	</target>
 
 </project>