Re: Inline-Java Installation using Cygwin and JDK1.8 ERROR /usr/bin/dlltool: Can't open def file: jvm.def

2014-11-14 Thread Ed .
Hi Peter, Thanks for the report! For whatever reason, the jvm.def and test files weren’t in the repo, but they are now (and in newly-released 0.55). Please give it a go and see whether it works. Cheers, Ed From: Peter Leong Sent: Friday, November 14, 2014 8:59 AM To: [email protected] Subject:

Re: Inline::Java timeout?

2014-04-19 Thread Patrick LeBoutillier
Hi, I don't recommmend handling the timeout on the Perl side. If the webservice you call from Java is not returning, it's best to handle the timeout on the Java side. A timeout on the Perl side will just leave that Java thread blocked indefinitely ancd will cause the protocol between Perl and Jav

Re: Inline::Java timeout?

2014-04-15 Thread sisyphus1
From: Bill Moseley Sent: Tuesday, April 15, 2014 10:19 AM To: [email protected] Subject: Re: Inline::Java timeout? Looks like there’s no-one currently around here to help you out. Maybe try somewhere like perlmonks (http://www.perlmonks.org) if you’re still trying to find a solution. Well, if

Re: Inline::Java timeout?

2014-04-14 Thread Bill Moseley
On Thu, Apr 10, 2014 at 9:07 PM, Bill Moseley wrote: > > > > On Thu, Apr 10, 2014 at 8:52 PM, wrote: > >> >> Looks like there’s no-one currently around here to help you out. >> Maybe try somewhere like perlmonks (http://www.perlmonks.org) if you’re >> still trying to find a solution. >> > > Well

Re: Inline::Java timeout?

2014-04-10 Thread Bill Moseley
On Thu, Apr 10, 2014 at 8:52 PM, wrote: > > Looks like there’s no-one currently around here to help you out. > Maybe try somewhere like perlmonks (http://www.perlmonks.org) if you’re > still trying to find a solution. > Well, if there isn't a specific solution for Inline then I'll go the ALRM ap

Re: Inline::Java timeout?

2014-04-10 Thread sisyphus1
Hi Bill, Looks like there’s no-one currently around here to help you out. Maybe try somewhere like perlmonks (http://www.perlmonks.org) if you’re still trying to find a solution. Cheers, Rob From: Bill Moseley Sent: Monday, April 07, 2014 1:43 PM To: [email protected] Subject: Inline::Java timeo

Re: Inline::Java

2013-02-22 Thread Patrick LeBoutillier
Eduardo, I replied here with what I think is happening: http://perlmonks.org/?node_id=1020270 In your case you can add : Inline->init() ; juste before the my $pipeline = ... as a workaround. You could also only initialize you pipeline object at runtime, that will also work: my $pipelin

Re: Inline::Java problem dealing with PayPal .jar file

2012-11-01 Thread Tom Kane
For those of you who are reading this post about using Inline::Java with Catalyst, the following is provided so the issue's resolution is shared. Patrick asked me to create a debug dump by adding the option DEBUG => 5. I added the option and created the dump, which was huge (6Mb+). I forwarded t

Re: Inline::Java problem dealing with PayPal .jar file

2012-10-31 Thread Patrick LeBoutillier
Tom, I don't know anything about Catalyst, but my guess is that it puts your code into some autogenerated namespace, and that why you can't find your methods. If you set the DEBUG Inline::Java option to 5, you should get a lot of output that should tell you where the methodds are being bound. If

Re: Inline::Java and DIRECTORY config option

2012-05-17 Thread Patrick LeBoutillier
Hi all, On Tue, May 15, 2012 at 4:39 AM, Sisyphus 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

Re: Inline::Java and DIRECTORY config option

2012-05-15 Thread Sisyphus
- Original Message - From: "David Oswald" To: "Sisyphus" Cc: "inline" 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 wrote: Hi all, There's a thread on p

Re: Inline::Java and DIRECTORY config option

2012-05-15 Thread David Oswald
On Tue, May 15, 2012 at 1:39 AM, Sisyphus 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: > > ###

Re: Inline::Java::PerlInterpreter cant install!

2011-08-18 Thread James Fraser
Thanks for the reply Patrick. It seems to happen at work (cygwin) and at home (archlinux). gcc (GCC) 4.6.1 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULA

Re: Inline::Java::PerlInterpreter cant install!

2011-08-17 Thread Patrick LeBoutillier
James, Never seen that error before, seems low-level gcc stuff to me. What OS/distro are you running? Patrick On Tue, Jul 26, 2011 at 5:46 AM, James Fraser wrote: > Hi, > > I am trying to install Inline::Java::PerlInterpreter using cpan. > > If I select `y` to `Do you wish to build the PerlInte

Re: Inline::Java and mod_perl2

2011-04-02 Thread Patrick LeBoutillier
Tim, It's been a while since I've use Inline::Java with mod_perl, but I remember that I was never able to get the JVM component started properly from an Apache child. That was the reason I add some initscript-style command-line options to control the JVM server seperately. See http://search.cpan

RE: Inline Java - dereferencing

2011-01-27 Thread Scott.Davis8
14 PM To: Jason Stelzer Cc: inline Subject: RE: Inline Java - dereferencing I think so. Thanks Jason. I'll have to change the java to return something perl can digest. -Original Message- From: Jason Stelzer [mailto:[email protected]] Sent: Wednesday, January 26, 2011 5:26 PM To: VA

RE: Inline Java - dereferencing

2011-01-27 Thread VANOLE, MICHAEL J (ATTSI)
llier [mailto:[email protected]] Sent: Wednesday, January 26, 2011 6:04 PM To: VANOLE, MICHAEL J (ATTSI) Subject: Re: Inline Java - dereferencing Michael, On Wed, Jan 26, 2011 at 4:58 PM, VANOLE, MICHAEL J (ATTSI) wrote: > Hi, this may be a basic perl question. I'm using inline::jav

Re: Inline Java - dereferencing

2011-01-27 Thread Jason Stelzer
On Jan 26, 2011, at 9:14 PM, VANOLE, MICHAEL J (ATTSI) wrote: > I think so. Thanks Jason. I'll have to change the java to return > something perl can digest. > > > Again, this isn't so much a matter of perl digesting anything. If you've imported your classes and they've been studied, perl s

Re: Inline Java - dereferencing

2011-01-27 Thread Jason Stelzer
On Jan 26, 2011, at 4:58 PM, VANOLE, MICHAEL J (ATTSI) wrote: > Hi, this may be a basic perl question. I'm using inline::java to execute > some public methods like this one: > >public User findUserByLogin(String loginName, boolean populate) > { >User ret = null; >

RE: Inline Java - dereferencing

2011-01-26 Thread VANOLE, MICHAEL J (ATTSI)
I think so. Thanks Jason. I'll have to change the java to return something perl can digest. -Original Message- From: Jason Stelzer [mailto:[email protected]] Sent: Wednesday, January 26, 2011 5:26 PM To: VANOLE, MICHAEL J (ATTSI) Cc: inline Subject: Re: Inline Java - derefere

Re: Inline::Java - Using callbacks from a jar

2011-01-18 Thread Jay Strauss
> > On Jan 13, 2011, at 9:43 AM, Patrick LeBoutillier < > [email protected]> wrote: > > > Jay, > > > > I just uploaded 0.53_90 to CPAN, you must use that version for what > > you want to do. There is an example in there: > > > > > http://cpansearch.perl.org/src/PATL/Inline-Java-0.53_90

Re: Inline::Java - Using callbacks from a jar

2011-01-13 Thread Jay Strauss
Thanks Patrick I'm traveling the remainder of the week and will play with it next week Thanks a ton Jay Sent from my iPhone On Jan 13, 2011, at 9:43 AM, Patrick LeBoutillier wrote: > Jay, > > I just uploaded 0.53_90 to CPAN, you must use that version for what > you want to do. There is an e

Re: Inline::Java - Using callbacks from a jar

2011-01-13 Thread Patrick LeBoutillier
Jay, I just uploaded 0.53_90 to CPAN, you must use that version for what you want to do. There is an example in there: http://cpansearch.perl.org/src/PATL/Inline-Java-0.53_90/Java/PerlInterpreter/t/02_perl_interpreter.t At the end on that file there is a Java program that creates a PerlInterpret

Re: Inline::Java - Using callbacks from a jar

2011-01-12 Thread Jay Strauss
Hi Patrick, thanks for the quick response. I'm looking at the POD now. I see that you're creating a pi, then doing pi.eval, which I believe is doing a perl eval{} around the string being passed. do you have any examples of calling a perl module? (i tried to find something in the tests) Maybe ev

Re: Inline::Java - Using callbacks from a jar

2011-01-12 Thread Patrick LeBoutillier
Jay, You need to use the Inline::Java::PerlInterpreter for that: http://search.cpan.org/~patl/Inline-Java-0.53/Java/PerlInterpreter/PerlInterpreter.pod Once your interpreter is created you can call Callback methods on it: require, CallPerlSub, eval... Note: Keep in mind that Inline::Java::PerlIn

Re: Inline Java Integer question

2008-07-19 Thread Jason Stelzer
[email protected] Subject: Re: Inline Java Integer question Inline::Java does a pretty good job of auto-marshalling primitive types (from java.lang.*) for you without you having to do much about it yourself. In fact, Integer is one of those types that should 'just work'. However, to illustra

RE: Inline Java Integer question

2008-07-18 Thread Vanole, Mike
al Message- From: Jason Stelzer [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2008 6:37 PM To: Vanole, Mike Cc: [email protected] Subject: Re: Inline Java Integer question Inline::Java does a pretty good job of auto-marshalling primitive types (from java.lang.*) for you without you having to do

Re: Inline Java Integer question

2008-07-18 Thread Jason Stelzer
x27;, 32); print "Int is a $int\n"; $alu->showInteger($int); $int = 400; print "Int is a $int\n"; $alu->showInteger($int); On Jul 18, 2008, at 5:00 PM, Vanole, Mike wrote: Was: (Inline Integer question) Re: Inline Java and the Business Objects SDK I'm stu

RE: Inline Java and the Business Objects SDK

2008-07-09 Thread Vanole, Mike
Subject: Re: Inline Java and the Business Objects SDK Mike, You're on the right track. The problem is that Inline::Java always uses the base type and things can get a bit strange when an API is constantly using interfaces as return types: Try this: my $sessionMgr = com::crystaldecisions

RE: Inline Java and the Business Objects SDK

2008-07-09 Thread Vanole, Mike
e("", "InfoStore"); Can't call method "getService" on an undefined value -Original Message- From: Patrick LeBoutillier [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 8:04 PM To: Vanole, Mike Cc: Jason Stelzer; [email protected] Subject: Re: Inline

Re: Inline Java and the Business Objects SDK

2008-07-08 Thread Patrick LeBoutillier
s returned from methods to the type the API says it returns. Patrick > Mike > > > > From: Jason Stelzer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 08, 2008 8:33 AM > To: Vanole, Mike > Cc: [email protected] > Subject: Re: Inline Java and the Business

Re: Inline Java and the Business Objects SDK

2008-07-08 Thread Jason Stelzer
I used Inline::Java to integrate with several J2EE applications from within a fairly large perl codebase. There's no dodging picking up java as you go really. For some things (mostly collections) you'll probably want to evaluate using a tied reference to hide the java behind a familiar perl interfa

RE: Inline Java and the Business Objects SDK

2008-07-08 Thread Vanole, Mike
ore"); A lot for me to learn. Thanks for the reply, Jason. I've posted on two Business Objects development forums without even a nibble. I guess my approach is not very mainstream - unfortunately. Mike ________ From: Jason Stelzer [mailto:[EMAIL PROTEC

Re: Inline::Java and Can't locate object method "new" error

2008-03-07 Thread Adam Stein
I finally find the solution. I actually didn't get any replies, but I'm posting what I found in case somebody else has this problem in the future. It turned out to be that the Java code I was calling had a getResource() call to open an ASCII file. This was working fine when everything (including

Re: Inline::Java install error

2007-08-01 Thread Patrick LeBoutillier
Charles, I've seen this happen on occasion. Usually it happens when the 'localhost' entry in the /etc/hosts file is invalid or missing. Can you check this? Patrick On 7/31/07, Charles Bradshaw <[EMAIL PROTECTED]> wrote: > I am having problems installing module Inline::Java as a pre-requsite fo

Re: Inline::Java with mod_perl (JNI/SHARED_JVM)

2007-05-17 Thread Jason Stelzer
On May 17, 2007, at 11:00 AM, Ilya Sterin wrote: Jason, that definitelly helps, thanks. When you say minimize calls, as of course you would with any remote operations, though you have J2EE patterns like remote proxy, Transfer Objects, etc... I take it you're refering to just good all RMI prac

Re: Inline::Java with mod_perl (JNI/SHARED_JVM)

2007-05-17 Thread Ilya Sterin
Jason, that definitelly helps, thanks. When you say minimize calls, as of course you would with any remote operations, though you have J2EE patterns like remote proxy, Transfer Objects, etc... I take it you're refering to just good all RMI practices, right? There is no way to say optimize Inlin

Re: Inline::Java with mod_perl (JNI/SHARED_JVM)

2007-05-17 Thread Jason Stelzer
Hi. I'll answer as best I can. I did a bunch of Inline::Java work while integrating our j2ee apps with a legacy distributed matching system written in perl. I'll share some of my observations. On May 17, 2007, at 10:19 AM, Ilya Sterin wrote: Hi, we're currently looking into the possibilit

Re: Inline::Java tests fail on OS X

2007-01-12 Thread Ken Williams
> From: Patrick LeBoutillier <[EMAIL PROTECTED]> > Date: Fri, 12 Jan 2007 13:08:57 -0500 > To: Ken Williams <[EMAIL PROTECTED]> > Cc: Inline list > Subject: Re: Inline::Java tests fail on OS X > > Ken, > > This might be of interest regarding the first

Re: Inline::Java tests fail on OS X

2007-01-12 Thread Patrick LeBoutillier
Ken, This might be of interest regarding the first issue: http://www.mail-archive.com/[email protected]/msg03266.html Since I don't have a Mac, that;s about all I can do for now... Patrick On 1/12/07, Ken Williams <[EMAIL PROTECTED]> wrote: Hi, I'm getting some test failures when trying to

Re: Inline::Java and autostudy

2006-11-08 Thread Patrick LeBoutillier
Hi, On 11/8/06, Sandeep Chayapathi <[EMAIL PROTECTED]> wrote: Hi all, Im using Inline::Java to use a few javax.jms.* classes. Im able to use the classes, if I put them in the STUDY list. Is it possible to just set AUTOSTUDY and CLASSPATH, to let Inline::Java figure out the class names ? Th

Re: Inline::Java on Mac OS X

2006-10-14 Thread Phil Crow
thout the shared JVM feature. Phil - Original Message From: Ken Williams <[EMAIL PROTECTED]> To: zentara <[EMAIL PROTECTED]> Cc: [email protected] Sent: Friday, October 13, 2006 6:04:04 PM Subject: Re: Inline::Java on Mac OS X On Oct 12, 2006, at 8:51 AM, zentara wrote: &g

Re: Inline::Java on Mac OS X

2006-10-13 Thread Ken Williams
On Oct 12, 2006, at 8:51 AM, zentara wrote: I'm not an inline expert, but I use IPC::Open3 quite often, so this caught my attention. I tried running your script with Perl 5.8.8 and there was NO error. I also just ran the script with the stock 5.8.6 on 10.4.8, and got no error. -Ken

Re: Inline::Java on Mac OS X

2006-10-13 Thread Ken Williams
On Oct 11, 2006, at 6:51 PM, Phil Crow wrote: my $out = new IO::File( ">/dev/null" ); if ( not defined $out ) { die "couldn't open $dn for writing\n"; } my $pid = open3( '<&STDIN', $out, '>&STDERR', 'ls' ); open3() can take IO::File objects as input? I don't see anything in its docs

Re: Inline::Java on Mac OS X

2006-10-12 Thread Sisyphus
"zentara" <[EMAIL PROTECTED]> wrote in message > . . > I'm not an inline expert, but I use IPC::Open3 quite often, so this > caught my attention. I tried running your script with Perl 5.8.8 and > there was NO error. I also got no error on both linux (perl 5.8.8) and Win32 (perl 5.8.8). On Win32, I

Re: Inline::Java on Mac OS X

2006-10-12 Thread zentara
On Wed, 11 Oct 2006 15:51:38 -0700 (PDT), [EMAIL PROTECTED] (Phil Crow) wrote: >I've done a bit more digging. It turns out the problem only occurs for shared >JVM (which I don't think I need). But the problem is not in Inline::Java at >all. Here is a simple script to demonstrate the problem w

Re: Inline::Java on Mac OS X

2006-10-11 Thread Phil Crow
/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /L

RE: Inline::Java on Mac OS X

2006-10-10 Thread Ken.Williams
This looks like it might be a mismatch between java 1.4 and java 1.5. Maybe some parts of the process are using one and some the other? It doesn't look like the same problems the previous messages dealt with, though. -Ken > -Original Message- > From: Phil Crow [mailto:[EMAIL PROTECTED]

Re: Inline::Java jvm concepts

2006-09-19 Thread Michael Peters
Patrick LeBoutillier wrote: > Michael, > > It looks like something is really broken. Are you sure that each > Apache child has it's own connection to the database (netstat will > tell you)? Sorry, my box was no longer on the network with the AS400 and I had to wait until they rolled out the ne

Re: Inline::Java jvm concepts

2006-09-15 Thread Patrick LeBoutillier
Michael, It looks like something is really broken. Are you sure that each Apache child has it's own connection to the database (netstat will tell you)? It looks like the Inline::Java messages are all messed up. Patrick On 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Sorry for the d

Re: Inline::Java jvm concepts

2006-09-15 Thread mpeters
Sorry for the delay in getting back. Train ride, client with limited net accesss, etc... >> I'm a little unclear as to how the JVM is handling the connections. If 2 >> apache >> children are trying to access a static Java object, will they be using >> the same >> one? > > Yes, they should be using

Re: Inline::Java jvm concepts

2006-09-15 Thread mpeters
> >> When I first posted I was running 0.50, but I upgraded to 0.51 and it >> seemed to be doing much better, but I could still occassionally get >> something: > > Ok, now this is very strange. I upgraded to 0.51 and discovered that some > of my error messages were getting lost in evals. I now see

RE: inline::java question

2006-07-31 Thread Kho, Albert
name, everything works great! It's a wonderful product. I love that I can learn it quickly and use it easily! Thanks, Albert -Original Message- From: Patrick LeBoutillier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 7:45 PM To: Kho, Albert Cc: [email protected] Subject: Re: in

Re: inline::java question

2006-07-27 Thread Patrick LeBoutillier
Albert, One of the java classes uses LogFactory.class.getResourceAsStream(CONFIG_FILE) to read the properties file. My test fails on this because it can not find the properties file even though it is in my classpath. Where does inline::java look for this? Inline::Java isn't does a few chdir

Re: Inline::Java + JDBC

2006-07-20 Thread Tim Bunce
On Wed, Jul 19, 2006 at 11:23:38AM -0400, Jason Stelzer wrote: > On Jul 19, 2006, at 10:12 AM, Robert Hicks wrote: > > >Sorry I took so long getting back. What I mean is can I use > >Inline::Java to setup a database connection and then pass that > >connection off to the Perl side so I don't ne

RE: Inline::Java + JDBC

2006-07-19 Thread Ken.Williams
Yeah, check out JDBC.pm. It does exactly that. I use it precisely because I don't have the oracle client environment handy. -Ken > -Original Message- > From: Robert Hicks [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 19, 2006 9:13 AM > To: [email protected] >

Re: Inline::Java + JDBC

2006-07-19 Thread Jason Stelzer
On Jul 19, 2006, at 10:12 AM, Robert Hicks wrote: Sorry I took so long getting back. What I mean is can I use Inline::Java to setup a database connection and then pass that connection off to the Perl side so I don't need to have the Oracle client installed. I am thinking probably not.

Re: Inline::Java + JDBC

2006-07-19 Thread Robert Hicks
Sorry I took so long getting back. What I mean is can I use Inline::Java to setup a database connection and then pass that connection off to the Perl side so I don't need to have the Oracle client installed. I am thinking probably not. :Robert [EMAIL PROTECTED] wrote: Not sure what you mean.

RE: Inline::Java + JDBC

2006-07-17 Thread Ken.Williams
Not sure what you mean. Could you give an example? Do you mean the JDBC.pm module, or just JDBC in general? -Ken > -Original Message- > From: Robert Hicks [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 16, 2006 9:41 PM > To: [email protected] > Subject: Inline::Java + JDBC > > Can I p

Re: Re: Inline::Java on Windows w/o spaces in the path

2006-07-13 Thread Robert
I set the ENV variable and it works. Thanks! On 7/13/06, Sisyphus <[EMAIL PROTECTED]> wrote: - Original Message - From: "Robert Hicks" <[EMAIL PROTECTED]> To: Sent: Friday, July 14, 2006 3:59 AM Subject: Re: Inline::Java on Windows w/o spaces in the path >

Re: Inline::Java on Windows w/o spaces in the path

2006-07-13 Thread Patrick LeBoutillier
Hi, -- In order for "Inline::Java" to function properly, it needs to know where to find a Java 2 SDK on your machine. This is done using one of the following techniques: 1 Set the J2SDK configuration option to the correct directory 2 Set the PERL_INLI

Re: Inline::Java on Windows w/o spaces in the path

2006-07-13 Thread Sisyphus
- Original Message - From: "Robert Hicks" <[EMAIL PROTECTED]> To: Sent: Friday, July 14, 2006 3:59 AM Subject: Re: Inline::Java on Windows w/o spaces in the path > [EMAIL PROTECTED] wrote: > > When you build & install Inline::Java you tell it where your

Re: Inline::Java on Windows w/o spaces in the path

2006-07-13 Thread Robert Hicks
[EMAIL PROTECTED] wrote: When you build & install Inline::Java you tell it where your J2SDK is. Something like this: perl Makefile.PL J2SDK=C:\jdk1.5.0 Perhaps the path you're seeing is the default, or left over from previous attempts, or something. -Ken Except this was a PPM module but I g

RE: Inline::Java on Windows w/o spaces in the path

2006-07-13 Thread Ken.Williams
When you build & install Inline::Java you tell it where your J2SDK is. Something like this: perl Makefile.PL J2SDK=C:\jdk1.5.0 Perhaps the path you're seeing is the default, or left over from previous attempts, or something. -Ken > -Original Message- > From: Robert Hicks [mailto:[EMAI

Re: Inline::java question

2006-06-28 Thread Sisyphus
- Original Message - From: "SANDHYA PAWAR" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Sent: Wednesday, June 28, 2006 11:50 PM Subject: RE: Inline::java question > > Hey...Thanks a lot yaar! Where were you ... > You'r

Re: Inline::java question

2006-06-28 Thread Sisyphus
- Original Message - From: "SANDHYA PAWAR" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Sent: Wednesday, June 28, 2006 11:18 PM Subject: RE: Inline::java question > > C:\Perl\lib\Inline>nmake > > Microsoft (R) Program Ma

Re: Inline::java question

2006-06-28 Thread Sisyphus
- Original Message - From: "SANDHYA PAWAR" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Sent: Wednesday, June 28, 2006 11:01 PM Subject: RE: Inline::java question > > > C:\WINNT\system32>path > PATH=C:\Perl\bin\;C:\Perl;D:\oracl

Re: Inline::java question

2006-06-28 Thread Sisyphus
- Original Message - From: "SANDHYA PAWAR" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Sent: Wednesday, June 28, 2006 10:37 PM Subject: RE: Inline::java question > > > I run batch file ( vcvars32.bat) but path of files are not getti

Re: Inline::java question

2006-06-28 Thread Sisyphus
- Original Message - From: "SANDHYA PAWAR" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 28, 2006 2:09 PM Subject: Inline::java question > I installed VC++ on my PC. > I copied mspdb60.dll & cl.exe in WINNT\System32. Not necessary to do that - probably better to *not* do that. If you

Re: inline::java

2006-06-27 Thread Nicholas Clark
You don't appear to have asked any question. On Tue, Jun 27, 2006 at 02:36:59PM +0530, SANDHYA PAWAR wrote: > > C:\Perl\lib\Inline>nmake > > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > > Skip blib\lib\Inline\Java.pm (un

Re: Inline::Java: Help needed for Makefile dependencies

2006-05-29 Thread Patrick LeBoutillier
Ken, On 5/28/06, Ken Williams <[EMAIL PROTECTED]> wrote: For at least GNU make, I think you should be able to change this: java :: @$(MKPATH) Java/classes "$jdk/javac" -deprecation -g -d Java/classes Java/sources/org/perl/ inline/java/*.java "$jdk/jar" cf Java/InlineJa

Re: Inline::Java: Help needed for Makefile dependencies

2006-05-28 Thread Ken Williams
For at least GNU make, I think you should be able to change this: java :: @$(MKPATH) Java/classes "$jdk/javac" -deprecation -g -d Java/classes Java/sources/org/perl/ inline/java/*.java "$jdk/jar" cf Java/InlineJavaServer.jar -C Java/classes org -C Java/ classes InlineJava.properties

RE: Inline::Java and spaces in the path

2006-04-13 Thread Ken.Williams
> -Original Message- > From: Eric Wilhelm [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 13, 2006 10:52 AM > To: [email protected] > Subject: Re: Inline::Java and spaces in the path > > > foreach $thislib (split ' ', $potential_libs){ > >

Re: Inline::Java and spaces in the path

2006-04-13 Thread Eric Wilhelm
# from Patrick LeBoutillier # on Thursday 13 April 2006 05:44 am: >>   LIBS => ['-L/tmp/a\\ b\\ c -ljvm'] > >I'll try it and see what gives. Probably the same thing. >The message actually comes from ExtUtils/Liblist/Kid.pm. My version >is 6.17, but I looked and the same code is there in 6.30. T

Re: Inline::Java and spaces in the path

2006-04-13 Thread Patrick LeBoutillier
Eric, > Maybe > > LIBS => ["\\\"-L/tmp/a b c\\\" -ljvm"] > LIBS => ['-L/tmp/a\\ b\\ c -ljvm'] I'll try it and see what gives. But I think the problem comes down to MakeMaker trying to be too smart about the LIBS. It should maybe provide some kind of way to have the args passed through withou

Re: Inline::Java and spaces in the path

2006-04-12 Thread Eric Wilhelm
# from Patrick LeBoutillier # on Wednesday 12 April 2006 05:04 pm: >However, I can't figure out >how to properly pass a library path containing a space to the LIBS > parameter of ExtUtils::MakeMaker::WriteMakefile. > >LIBS => ['-L /tmp/a b c -ljvm'] >LIBS => ['-L "/tmp/a b c" -ljvm'] >LIBS => ['"-

Re: Inline::Java and spaces in the path

2006-04-12 Thread Patrick LeBoutillier
Ken, On 4/12/06, Patrick LeBoutillier <[EMAIL PROTECTED]> wrote: > Ken, > > On 4/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I'm re-opening this issue - I just went to install Inline and > > Inline::Java on cygwin. Inline and Inline::C installed fine, but the > > Java build fails: > >

RE: Inline::Java and spaces in the path

2006-04-12 Thread Hicks, Robert
I get the following: C:\WINNT\system32\cmd.exe /c perl "C:\Documents and Settings\BLHicks2\Desktop\TestScripts/inline_tes t.pl " Can't open C:\Documents\config for output. No such file or directory at -e line 0 BEGIN failed--compilation aborted. Failed to autogenerate C:\Documents and Settings\B

Re: Inline::Java and spaces in the path

2006-04-12 Thread Eric Wilhelm
# from Patrick LeBoutillier # on Wednesday 12 April 2006 08:22 am: >> I forget, what's the status of this fix? > >My guess is that in this specific case it is an Inline::Java bug. The >paths are not always quoted properly when generating the INC/LIB >options for MakeMaker. Not having Inline::Java

Re: Inline::Java and spaces in the path

2006-04-12 Thread Patrick LeBoutillier
ays quoted properly when generating the INC/LIB options for MakeMaker. I'll see if I can fix it. Patrick > > -Ken > > > -Original Message- > > From: Williams, Ken (TLR Corp) > > Sent: Thursday, January 26, 2006 9:37 AM > > To: [EMAIL PROTECTED]; i

RE: Inline::Java and spaces in the path

2006-04-12 Thread Ken.Williams
win32: No such file or directory I forget, what's the status of this fix? -Ken > -Original Message- > From: Williams, Ken (TLR Corp) > Sent: Thursday, January 26, 2006 9:37 AM > To: [EMAIL PROTECTED]; [email protected] > Subject: RE: Inline::Java and spaces in the

Re: Inline::Java tuning question

2006-03-31 Thread Patrick LeBoutillier
Jason, On 3/31/06, Jason Stelzer <[EMAIL PROTECTED]> wrote: > Is there a faster, more efficient way to go from a java Array or > ArrayList to a native perl array? The overhead of marshaling large > lists is noticeable and I was just wondering if anyone had advice. Can you send a small working exa

RE: Inline::Java tuning question

2006-03-31 Thread Ken.Williams
Perhaps you could avoid the conversion - you could tie a perl array to a class that manipulates a java ArrayList in the background. -Ken > -Original Message- > From: Jason Stelzer [mailto:[EMAIL PROTECTED] > Sent: Friday, March 31, 2006 9:46 AM > To: [email protected] > Subject: Inline::J

Re: Inline::Java on win32

2006-03-13 Thread Sisyphus
- Original Message - From: "Ed Peschko" . . > > well, there are two main issues here > > 1) Has activeperl integrated all of its changes back into the mainline? I don't understand that question. > 2) with mingw, would modules written in C++ be compatible with the VC++ >

Re: Inline::Java on win32

2006-03-13 Thread Ed Peschko
> > hey all, > > > > I was looking for a good Inline::Java environment on win32, and was hoping > to base it > > off of ActiveState(s) version of perl. Hence, I'll need to be able to: > > > > a) compile perl such that it is compatible with activestate's version > > That's straightforward. Irre

Re: Inline::Java on win32

2006-03-13 Thread Matt S Trout
Ed Peschko wrote: hey all, I was looking for a good Inline::Java environment on win32, and was hoping to base it off of ActiveState(s) version of perl. Hence, I'll need to be able to: a) compile perl such that it is compatible with activestate's version b) compile c modules c) comp

Re: Inline::Java on win32

2006-03-12 Thread Sisyphus
- Original Message - From: "Ed Peschko" <[EMAIL PROTECTED]> To: Cc: Sent: Monday, March 13, 2006 10:32 AM Subject: Inline::Java on win32 > hey all, > > I was looking for a good Inline::Java environment on win32, and was hoping to base it > off of ActiveState(s) version of perl. Hence,

Re: Inline::Java, changing location of _Inline compilation directory

2006-03-06 Thread Sisyphus
- Original Message - From: "Jay Strauss" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, March 07, 2006 1:44 AM Subject: Re: Inline::Java, changing location of _Inline compilation directory > > > Try using

RE: Inline::Java, changing location of _Inline compilation directory

2006-03-06 Thread Ken.Williams
> -Original Message- > From: Jay Strauss > Sent: Monday, March 06, 2006 8:45 AM > To: Sisyphus > Cc: [email protected] > Subject: Re: Inline::Java, changing location of _Inline > compilation directory > > One question. Where am I supposed to get "$

Re: Inline::Java, changing location of _Inline compilation directory

2006-03-06 Thread Jay Strauss
> Try using DIRECTORY=> instead. Maybe something like: > > DIRECTORY => $Config{sitelib} . "/module_name", > > Cheers, > Rob Ah, that worked nicely. One question. Where am I supposed to get "$Config{sitelib}" from? Is it something I define, or is there some builtin perl variable that hold t

Re: Inline::Java, changing location of _Inline compilation directory

2006-03-05 Thread Sisyphus
- Original Message - From: "Jay Strauss" . . > > I'd like all the compiled stuff to live in the location of the module. Is > that possible? > > I looked at, and played with the PACKAGE=> setting but it didnt' have any > effect. > Try using DIRECTORY=> instead. Maybe something like: DIR

Re: Inline::Java callback never terminates

2006-03-05 Thread Patrick LeBoutillier
Jay, On 3/4/06, Jay Strauss <[EMAIL PROTECTED]> wrote: > Hi, > > I'm not sure what's going on here. I have a simple script that reaches the > end (and prints out "here") but the script never ends and I have to ctrl-c > it. Sometimes this happens when you use JNI. What happens it that in some cas

Re: Inline::Java callback never terminates

2006-03-05 Thread Jay Strauss
On Saturday 04 March 2006 5:58 pm, Jay Strauss wrote: > Hi, > > I'm not sure what's going on here. I have a simple script that reaches the > end (and prints out "here") but the script never ends and I have to ctrl-c > it. > ... Figured it out. If I stick one more $api->ProcessNextCallback(); i

Re: Inline::Java 0.50_92 released

2006-03-04 Thread Jay Strauss
On Saturday 04 March 2006 10:52 am, Patrick LeBoutillier wrote: > Hi all, > > Just a quick message to mention the release of Inline::Java 0.50_92. Typos in doc: my $b = new Pod_Button() ; $b->OpenCallbackStream() ; while ((my $rc = $t->WaitForCallback(5)) > -1){ >> ^^

Re: Inline::Java and spaces in the path

2006-01-27 Thread Eric Wilhelm
# from Eric Wilhelm # on Friday 27 January 2006 02:15 am: >My bet is that >system($perl, $INC, '-Minline=_CONFIG_' , '-e1' $dir) > >might work. On further inspection, that is only where the bug first manifests. It can't be so easily fixed. Looks like it ends up in MakeMaker and/or mak

Re: Inline::Java and spaces in the path

2006-01-27 Thread Eric Wilhelm
# from Ken Williams # on Thursday 26 January 2006 05:42 pm: >On Jan 26, 2006, at 7:34 PM, Patrick LeBoutillier wrote: >> Just to make things clear. I believe that this is an Inline.pm issue >> and is not specific to Inline::Java. I am right on this (or else >> I'll see what I can do)? > >Yeah, tha

Re: Inline::Java and spaces in the path

2006-01-27 Thread Ken Williams
On Jan 26, 2006, at 7:34 PM, Patrick LeBoutillier wrote: Just to make things clear. I believe that this is an Inline.pm issue and is not specific to Inline::Java. I am right on this (or else I'll see what I can do)? Yeah, that's my understanding too. I haven't actually laid eyes on the offe

Re: Inline::Java and spaces in the path

2006-01-26 Thread Patrick LeBoutillier
Ken, On 1/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 26, 2006 7:37 AM > > To: [email protected] > > Subject: Inline::Java and spaces in the path > > > > Is this a "known" for

RE: Inline::Java and spaces in the path

2006-01-26 Thread Hicks, Robert
> > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 26, 2006 7:37 AM > > To: [email protected] > > Subject: Inline::Java and spaces in the path > > > > Is this a "known" for Windows? > > > > Yeah, it's a known issue on any platform with sp

Re: Inline:: Java - Exceptions

2006-01-26 Thread Patrick LeBoutillier
Tim, > > > > When you call [EMAIL PROTECTED]>getMessage(), it in turn has eval{} > > statements > > inside it somewhere, thereby resetting the $@ globlal variable. > > Is there some reason why the code within getMessage that calls eval {} > can't do > > local $@; > > to protect the caller

  1   2   3   >