|
I have
been trying to figure this out as well. It is clear that the
interpreter handles document parsing and execution, and
that I
need
to implement that platform interfaces (rec, prompt, tel,
etc.)
so
that the interpreter can call them as the services are needed.
But it
seems that the "API reference" section of the documentation
is not
there ... I cannot figure out the sequence of things:
-- Do
I need to initialize the JS runtime ?
--
What is the sequence of API calls that I need to make to set
up and initialize VXI
session?
-- How do I pass the VXI the pointers or handles
to the platform
API methods that I must
implement?
I
tried to follow the browser/src/client example, but it still is
not
clear
yet. An example in the documentation of the above
would
help
(e.g. like the SpiderMonkey JS programmer's guide).
Vincent,
Thanks a lot for pointing to the corect file. I
replaced the "mdbinary.jar" file with the debug version and OpenVXI API
compiled smoothly. The test also works fine.
I guess a lot of users will fall into this trap. The
file "libnspr.a" is not in the release version of "mdbinary.jar" but in the
debug version.
Now where does one go from here. How does one make the
OpenVXI talk to the platform and the web server. Do I have to write an
application using the OpenVXI API? Is the XML parsing automatically
done? Do I have to make any changes in the platform because the platform
should inform the OpenVXI interpreter about the incoming call. Some
direction will be helpful.
Suresh
----- Original Message -----
Sent: Tuesday, February 27, 2001 2:47
PM
Subject: Re: OpenVXI does not
compile
Suresh,
I just unzipped again the jar files and I get the libnspr.a file. I
remember I downloaded the "debug" version though - maybe you can try to get
it instead of the release version.
Vincent
Vincent, I extracted the mdheader.jar and mdbinary.jar. But this file
"libnspr4.a" is not in the extracted files. Suresh
----- Original Message -----
Sent: Tuesday, February 27, 2001
2:15 PM
Subject: Re: OpenVXI does not
compile Suresh,
You need to expand the jar files (I used unzip <jar file name>)
and this will create the lib subdirectory.
Vincent
Vincent, Thanks for the
reply. No the file is not there. I went through the
mdheader.jar and mdbinary.jar files which come for nspr. This
file is not there too. Where do I get this file from?
As suggested in the build document, I downloaded the
release version of nspr from:ftp://ftp.mozilla.org/pub/nspr/r4.1/Linux2.2_x86_glibc_PTH_OPT.OBJ/mdbinary.jarftp://ftp.mozilla.org/pub/nspr/r4.1/Linux2.2_x86_glibcPTH_OPT.OBJ_/mdheader.jarSuresh
----- Original Message -----
Sent: Tuesday, February 27,
2001 1:37 PM
Subject: Re: Open VXI 1.3
released Suresh,
Maybe there was a problem when you retrieved the nspr
library. Is the ./JavaScriptEngine/nspr/lib/libnspr4.a file
there ?
Vincent
Hi!
I downloaded the 1.3 release with all the other required files,
but I am unable to compile on Linux.
When I try to build using command "make -f makefile.unix", I
get the folowing error:
cp ./JavaScriptEngine/nspr/lib/libnspr4.a ./lib/osb/Release
cp: ./JavaScriptEngine/nspr/lib/libnspr4.a: No such file or
directory make: *** [release] Error 1
Could somebody tell me how to overcome this problem?
Thanks!
Suresh
----- Original Message ----- From: "Alan W Black"
<awb@cs.cmu.edu> To: <voice@mercury.tgflinux.com>
Cc: "Derek Seabury" <Derek.Seabury@speechworks.com>;
<vxi-discuss@speechinfo.org> Sent: Monday, February
26, 2001 6:28 AM Subject: Re: Open VXI 1.3 released
> > voice@mercury.tgflinux.com writes on 25
February 2001: > > Hello, > >
> > I could be too quick on the draw for
downloading, but I get "You don't > > have
permission to access /openvxi/OpenVXI_1_3.tar.gz on this server."
> > Perhaps the file hasn't been uploaded yet, or
the permissions are not > > correct. In the former
case, I'll just try again later. > > Sorry my fault,
I forgot unpacking attachments gives weird permissions > on
files. I've fixed it. > > Alan
> --
Vincent Ribiere
senior Engineer, Cisco Systems
(408) 527 6613 --
Vincent Ribiere
senior Engineer, Cisco Systems
(408) 527 6613 --
Vincent Ribiere
senior Engineer, Cisco Systems
(408) 527 6613
|