summaryrefslogtreecommitdiff
path: root/java/eclipse/files/patch-build.xml
blob: 0c85ddff331d4fa388df5e6a905c32d23c60201d (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
--- build.xml.orig	Thu Sep 21 10:57:38 2006
+++ build.xml	Thu Oct 26 14:32:58 2006
@@ -86,11 +86,11 @@
 		<!--unzip launcher -->
 		<property name="launcherlibs" value="${buildDirectory}/launchertmp" />
 		<mkdir dir="${launcherlibs}" />
-		<unzip dest="${launcherlibs}">
-			<fileset dir="${buildDirectory}/plugins/org.eclipse.platform.source/src/">
-				<include name="org.eclipse.platform_*/launchersrc.zip" />
-			</fileset>
-		</unzip>
+		<copy todir="${launcherlibs}">
+                        <fileset dir="${buildDirectory}/features/org.eclipse.platform.launchers">
+                                <include name ="**"/>
+                        </fileset>
+                </copy>
 		<exec dir="${launcherlibs}/library/${installWs}/" executable="sh" failonerror="true">
 			<arg line="build.sh" />
 		</exec>
@@ -142,7 +142,6 @@
 	<target name="build.doc.plugins">
 		<!--Build doc plug-ins using antRunner in eclipse to gain access to classpath required for
 		 pde.convertSchemaToHTML and help.buildHelpIndex tasks which are used when generating extension-point and help indeces.-->
-		<antcall target="install.eclipse.${archive.format}" />
 		<property name="plugin.destination" value="${buildDirectory}/tmp/eclipse/plugins" />
 		<mkdir dir="${plugin.destination}" />
 		
@@ -179,7 +178,6 @@
 			<fileset dir="${buildDirectory}/${buildLabel}" />
 		</move>
 		<mkdir dir="${buildDirectory}/${buildLabel}" />
-		<antcall target="archive.eclipse.${archive.format}" />
 		<delete dir="${buildDirectory}/${buildLabel}-old" />
 	</target>
 
@@ -285,8 +283,8 @@
 		</fail>
 
 		<property name="compilerArg" value="-encoding ISO-8859-1" />
-		<property name="javacSource" value="1.3" />
-		<property name="javacTarget" value="1.2" />
+		<property name="javacSource" value="1.5" />
+		<property name="javacTarget" value="1.5" />
 		<property name="javacDebugInfo" value="true" />
 		<property name="javacFailOnError" value="true" />
 
@@ -306,12 +304,17 @@
 				<equals arg1="${installOs}-${installWs}-${installArch}" arg2="hpux-motif-ia64" />
 				<equals arg1="${installOs}-${installWs}-${installArch}" arg2="hpux-motif-ia64_32" />
 				<equals arg1="${installOs}-${installWs}-${installArch}" arg2="solaris-gtk-x86" />
+				<equals arg1="${install0s}-${installWs}-${installArch}" arg2="freebsd-gtk-x86" />
+                               <equals arg1="${install0s}-${installWs}-${installArch}" arg2="freebsd-gtk-amd64" />
 			</or>
 		</condition>
 
 		<!--used to add doc plug-ins to result after initial assembly-->
 		<condition property="archive.format" value="tar">
-			<equals arg1="${installOs}" arg2="linux" />
+			<or>
+				<equals arg1="${installOs}" arg2="linux" />
+				<equals arg1="${installOs}" arg2="freebsd" />
+			</or>
 		</condition>
 		<property name="archive.format" value="zip" />
 	</target>