Re: Inline::Java and DIRECTORY config option

[email protected] ("Sisyphus")
Newsgroups perl.inline
Message-ID <C6C87D5CED5B44DCA796424DB13A0E9C@desktop2>
----- Original Message ----- 
From: "David Oswald" <[email protected]>
To: "Sisyphus" <[email protected]>
Cc: "inline" <[email protected]>
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 <[email protected]> 
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.