build.xml patch for building under RHEL6

Jamison Hope jrh@theptrgroup.com
Wed Jul 20 17:18:00 GMT 2016


It would appear that <echo file="a/b/c"> isn't guaranteed to work if the
subdirectories "a" and "a/b" don't exist yet.  In particular, when Kawa
is checked out under RHEL 6, building via Ant 1.7.1 and Java 1.6.0_24
(ugh, don't ask) fails with a FileNotFoundException attempting to open
META-INF/services/javax.script.ScriptEngineFactory.

The fix is to <mkdir dir="META-INF/services"/> before the <echo>, as
in the attached patch.

--
Jamison Hope
The PTR Group
www.theptrgroup.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-xml-j6.patch
Type: application/octet-stream
Size: 1261 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/kawa/attachments/20160720/5adcfa6a/attachment.obj>


More information about the Kawa mailing list