Kaydet (Commit) 0bf363bb authored tarafından rbuj's avatar rbuj Kaydeden (comit) Caolán McNamara

OS X: modify rhino1_5R5 patch for JDKs >= 1.5

Change-Id: Ie07d71055d2776c0701a23db05a0cb91b8d5cb5b
Reviewed-on: https://gerrit.libreoffice.org/9809Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst b4e20eed
--- misc/rhino1_5R5/toolsrc/build.xml 2009-10-29 18:29:46.605524507 +0100
+++ misc/build/rhino1_5R5/toolsrc/build.xml 2009-10-29 18:29:26.536908810 +0100
@@ -12,6 +12,7 @@
<os family="unix"/>
@@ -16,6 +16,7 @@
</or>
</and>
</condition>
+ <property name="swing_zip" value="${TARFILE_LOCATION}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip"/>
<path id="macPath" location="${java.home}/../Classes/classes.jar"/>
<!-- rhino.jar from OpenJDK breaks build -->
<path id="nonMacPath">
@@ -38,7 +42,7 @@
@@ -42,7 +43,7 @@
<!-- Download source from Sun's site, unzip it, remove
the files we don't need, and change the package
-->
......
......@@ -108,7 +108,7 @@
}
--- misc/rhino1_5R5/toolsrc/build.xml 2004-03-25 21:54:34.000000000 +0100
+++ misc/build/rhino1_5R5/toolsrc/build.xml 2009-01-17 20:46:44.000000000 +0100
@@ -6,6 +6,24 @@
@@ -6,6 +6,28 @@
-->
<project name="toolsrc" default="compile" basedir=".">
......@@ -116,6 +116,10 @@
+ <and>
+ <os family="mac"/>
+ <os family="unix"/>
+ <or>
+ <equals arg1="${ant.java.version}" arg2="1.5"/>
+ <equals arg1="${ant.java.version}" arg2="1.6"/>
+ </or>
+ </and>
+ </condition>
+ <path id="macPath" location="${java.home}/../Classes/classes.jar"/>
......@@ -133,7 +137,7 @@
<target name="properties">
<property name="nest" value=".."/>
<property name="build.dir" value="./build"/>
@@ -20,46 +38,10 @@
@@ -20,46 +42,10 @@
<!-- Download source from Sun's site, unzip it, remove
the files we don't need, and change the package
-->
......@@ -181,7 +185,7 @@
</target>
<target name="compile" depends="properties,get-swing-ex">
@@ -68,6 +50,7 @@
@@ -68,6 +54,7 @@
includes="org/**/*.java"
deprecation="on"
debug="${debug}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment