----- Original Message ----- From: "David Oswald" <daosw...@gmail.com>
To: "Sisyphus" <sisyph...@optusnet.com.au>
Cc: "inline" <inline@perl.org>
Sent: Tuesday, May 15, 2012 8:47 PM
Subject: Re: Inline::Java and DIRECTORY config option


On Tue, May 15, 2012 at 1:39 AM, Sisyphus <sisyph...@optusnet.com.au> wrote:
Hi all,
There's a thread on perlmonks
( http://www.perlmonks.org/index.pl?node_id=970385 ) in which it's claimed
that the following code silently ignores the DIRECTORY specification, and
(creates and) uses the ./_Inline directory:

#################################
use warnings;
use Inline Java => "STUDY",
STUDY => [],
AUTOSTUDY => 1,
STARTUP_DELAY => 40,
PORT => 14567,
JNI => 1,
EXTRA_JAVA_ARGS => '-Xmx800m',
DIRECTORY => "/u/narlab/InlineLib/";

I saw that thread and was sort of interested in seeing how it turned
out.  I figured it might make its way back to this list.

One thought:  Shouldn't it be:

Config => DIRECTORY => "u/narlab/InlineLib";

Somewhere in that perlmonks thread I suggested doing that, and the op confirmed that works.

But it's the absence of warning (or croaking) in the above version of his script that has me wondering.

I would think that Patrick might want to do something about that - and I think it should be addressable without having Inline do anything differently.

That is, I think this is entirely an Inline::Java issue - but if I'm wrong about that and Inline *does* need to do something differently, then it's probably better that I know about it :-)

Cheers,
Rob

Reply via email to