This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: relative includes in r7rs library definitions
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Tue, 25 Nov 2014 12:39:12 -0800
- Subject: Re: relative includes in r7rs library definitions
- Authentication-results: sourceware.org; auth=none
- References: <546F4449 dot 4050303 at hungry dot com> <546F85E7 dot 6020404 at bothner dot com> <546F8AD9 dot 6080404 at hungry dot com> <54726634 dot 9090105 at bothner dot com> <547437D7 dot 7060500 at bothner dot com> <54749C51 dot 9020301 at hungry dot com>
On 11/25/2014 07:12 AM, Seth Alves wrote:
with [ -Dkawa.include.path='|:.' ] , I get a crash.
./test-kawa.scm:12:32: unexpected exception while compiling: java.lang.IllegalArgumentException: Illegal character in path at index 37: ./scheme/base.sld-Dkawa.include.path=|
java.lang.IllegalArgumentException: Illegal character in path at index 37: ./scheme/base.sld-Dkawa.include.path=|
at java.net.URI.create(URI.java:859)
I'm not seeing anything like that. Looks like Kawa is getting invoked with the second
-D option being pasted onto the first. I'd verify this by printing out the
args (one to a line) in the top of the main method in kawa/repl.scm.
The output I'm hoping for is
this is the first one
this is the second one
Works for me:
$ ./test-kawa.scm
this is the first one
this is the second one
--
--Per Bothner
per@bothner.com http://per.bothner.com/