openbsd-ports/devel/eclipse/sdk/patches/patch-build_xml
kurt 6065bc244c - update to 3.2.2
- SHARED_ONLY=Yes
- sprinkle some -nowarn to reduce verbosity caused by building with
  1.5 only (reqested by espie@)
- increase memory use during build to reduce jvm thrashing and cut 1/3 off
  the build time
2007-04-13 14:30:43 +00:00

70 lines
2.7 KiB
Plaintext

$OpenBSD: patch-build_xml,v 1.3 2007/04/13 14:30:43 kurt Exp $
--- build.xml.orig Mon Feb 12 13:46:55 2007
+++ build.xml Thu Apr 12 12:05:10 2007
@@ -69,6 +69,10 @@
<!-- unzip swt zips -->
<unzip dest="${swtlibs}">
+ <patternset>
+ <include name="**"/>
+ <exclude name="**/*.orig"/>
+ </patternset>
<fileset dir="${buildDirectory}/plugins/org.eclipse.rcp.source.${installOs}.${installWs}.${installArch}/src/">
<include name="org.eclipse.swt.${installWs}.${installOs}.${installArch}_*/*.zip" />
</fileset>
@@ -80,17 +84,15 @@
<mkdir dir="${swtdir}" />
<move todir="${swtdir}/">
<fileset dir="${swtlibs}">
- <include name="**/*.so" />
+ <include name="**/*.so.*" />
</fileset>
</move>
<!--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" includes="**" excludes="**/*.orig"/>
+ </copy>
<exec dir="${launcherlibs}/library/${installWs}/" executable="sh" failonerror="true">
<arg line="build.sh" />
</exec>
@@ -273,7 +275,7 @@
<condition property="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter">
<available file="${basedir}/ecj.jar" />
</condition>
- <condition property="compilerArg" value="-enableJavadoc -encoding ISO-8859-1">
+ <condition property="compilerArg" value="-nowarn -enableJavadoc -encoding ISO-8859-1">
<equals arg1="${build.compiler}" arg2="org.eclipse.jdt.core.JDTCompilerAdapter" />
</condition>
<fail message="The Eclipse compiler (ecj.jar) cannot be found.">
@@ -284,10 +286,11 @@
</condition>
</fail>
- <property name="compilerArg" value="-encoding ISO-8859-1" />
- <property name="javacSource" value="1.3" />
- <property name="javacTarget" value="1.2" />
+ <property name="compilerArg" value="-nowarn -encoding ISO-8859-1" />
+ <property name="javacSource" value="1.5" />
+ <property name="javacTarget" value="1.5" />
<property name="javacDebugInfo" value="true" />
+ <property name="javacVerbose" value="false" />
<property name="javacFailOnError" value="true" />
<!--required property setting to build bundles in Eclipse 3.x stream builds -->
@@ -311,7 +314,7 @@
<!--used to add doc plug-ins to result after initial assembly-->
<condition property="archive.format" value="tar">
- <equals arg1="${installOs}" arg2="linux" />
+ <equals arg1="${installOs}" arg2="openbsd" />
</condition>
<property name="archive.format" value="zip" />
</target>