office-gobmx/rhino/rhino1_5R5-find_swing.patch

19 lines
940 B
Diff

--- 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"/>
</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 @@
<!-- Download source from Sun's site, unzip it, remove
the files we don't need, and change the package
-->
- <unzip src="../../../../../download/swingExSrc.zip" dest="${src.debugger}"/>
+ <unzip src="${swing_zip}" dest="${src.debugger}"/>
<delete file="${src.debugger}/FileSystemModel2.java" />
<delete file="${src.debugger}/MergeSort.java" />
<delete file="${src.debugger}/TreeTableExample2.java" />