summaryrefslogtreecommitdiff
path: root/java/eclipse-devel/files/patch-features-platform-build.xml
blob: cc56d98ff957ebf034ff2ff4bb959b49b91f7029 (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
82
83
84
85
86
87
88
89
90
91
--- features/org.eclipse.platform/build.xml.orig	2007-06-26 04:39:42.000000000 +0900
+++ features/org.eclipse.platform/build.xml	2007-09-02 14:11:58.000000000 +0900
@@ -57,6 +57,16 @@
 			<property name="os" value="linux"/>
 			<property name="ws" value="gtk"/>
 		</ant>
+		<ant antfile="build.xml" dir="../../plugins/org.eclipse.core.filesystem.freebsd.x86" target="${target}">
+			<property name="arch" value="x86"/>
+			<property name="os" value="freebsd"/>
+			<property name="ws" value="gtk"/>
+		</ant>
+		<ant antfile="build.xml" dir="../../plugins/org.eclipse.core.filesystem.freebsd.amd64" target="${target}">
+			<property name="arch" value="amd64"/>
+			<property name="os" value="freebsd"/>
+			<property name="ws" value="gtk"/>
+		</ant>
 		<ant antfile="build.xml" dir="../../plugins/org.eclipse.core.filesystem.linux.ppc" target="${target}">
 			<property name="arch" value="ppc"/>
 			<property name="os" value="linux"/>
@@ -127,6 +137,11 @@
 			<property name="os" value="linux"/>
 			<property name="ws" value="gtk"/>
 		</ant>
+		<ant antfile="build.xml" dir="../../plugins/org.eclipse.update.core.freebsd" target="${target}">
+			<property name="arch" value="x86"/>
+			<property name="os" value="freebsd"/>
+			<property name="ws" value="gtk"/>
+		</ant>
 		<ant antfile="build.xml" dir="../../plugins/org.eclipse.ant.core" target="${target}">
 			<property name="arch" value="x86"/>
 			<property name="os" value="win32"/>
@@ -485,6 +500,50 @@
 			<arg line="eclipse"/>
 		</exec>
 	</target>
+	<target name="rootFilesfreebsd_gtk_x86">
+		<mkdir dir="${feature.base}/freebsd.gtk.x86/${collectingFolder}/"/>
+		<copy todir="${feature.base}/freebsd.gtk.x86/${collectingFolder}/" failonerror="true" overwrite="true">
+			<fileset dir="${basedir}/about_files/freebsd.gtk.x86">
+				<include name="**"/>
+			</fileset>
+			<fileset dir="${basedir}/../../features/org.eclipse.equinox.executable/bin/gtk/freebsd/x86">
+				<include name="**"/>
+			</fileset>
+			<fileset dir="${basedir}/gtk">
+				<include name="**"/>
+			</fileset>
+			<fileset dir="${basedir}/rootfiles">
+				<include name="**"/>
+			</fileset>
+			<fileset dir="${basedir}/../../plugins/org.eclipse.platform">
+				<include name="startup.jar"/>
+			</fileset>
+		</copy>
+		<chmod perm="755" dir="${feature.base}/freebsd.gtk.x86/${collectingFolder}" includes="eclipse" /> 
+		<chmod perm="755" dir="${feature.base}/freebsd.gtk.x86/${collectingFolder}" includes="*.so*" /> 
+	</target>
+	<target name="rootFilesfreebsd_gtk_amd64">
+		<mkdir dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/"/>
+		<copy todir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/" failonerror="true" overwrite="true">
+			<fileset dir="${basedir}/about_files/freebsd.gtk.amd64">
+				<include name="**"/>
+			</fileset>
+			<fileset dir="${basedir}/../../features/org.eclipse.equinox.executable/bin/gtk/freebsd/amd64">
+				<include name="**"/>
+			</fileset>
+			<fileset dir="${basedir}/gtk">
+				<include name="**"/>
+			</fileset>
+			<fileset dir="${basedir}/rootfiles">
+				<include name="**"/>
+			</fileset>
+			<fileset dir="${basedir}/../../plugins/org.eclipse.platform">
+				<include name="startup.jar"/>
+			</fileset>
+		</copy>
+		<chmod perm="755" dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}" includes="eclipse" /> 
+		<chmod perm="755" dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}" includes="*.so*" /> 
+	</target>
 	<target name="rootFileslinux_gtk_x86">
 		<mkdir dir="${feature.base}/linux.gtk.x86/${collectingFolder}/"/>
 		<copy todir="${feature.base}/linux.gtk.x86/${collectingFolder}/" failonerror="true" overwrite="true">
@@ -784,6 +843,8 @@
 		<antcall target="rootFileswin32_win32_x86"/>
 		<antcall target="rootFileswin32_wpf_x86"/>
 		<antcall target="rootFilesmacosx_carbon_ppc"/>
+		<antcall target="rootFilesfreebsd_gtk_x86"/>
+		<antcall target="rootFilesfreebsd_gtk_amd64"/>
 		<antcall target="rootFileslinux_gtk_x86"/>
 		<antcall target="rootFileslinux_gtk_ppc"/>
 		<antcall target="rootFileslinux_gtk_ppc64"/>