Thank you Jiro, What of rev's own file IO functions and commands? Wht about listing directories at a path or spidering down file trees? Do they do the right and same thing on every platform? My other question is deeper and has to do with listening in to OS level system wide file IO events.. And somhow triggering the passing of matching messages to rev. stacks. Any ideas?
-----Original Message----- From: "Jiro Harada" <j...@ronri-kobo.com> To: "How to use Revolution" <use-revolution@lists.runrev.com> Sent: 1/18/2009 9:30 PM Subject: Re: externals Randall, Java provides a lot of methods for File IO, which are abstracted and platform-dependent. My external enables them to be used from within Rev. Java Swing offers a platform-independent file or directory chooser dialog. However I have never tested it by using my external. I will test it and inform you of the result later. I don't think my external can open dialogs created in Java. Jiro Harada On 2009/01/19, at 11:21, Randall Reetz wrote: > Well, good, thanks, i guess that provides a path to cross pltform > external supported code. Do java machines offer file IO and > directory navigation? How about reaching into file system events > as they happen and generating rev messages? > > -----Original Message----- > From: "Jiro Harada" <j...@ronri-kobo.com> > To: "How to use Revolution" <use-revolution@lists.runrev.com> > Sent: 1/18/2009 5:42 PM > Subject: Re: externals > > Randall, > >> In rev, are externals written to a reference VM so that they are >> only written once and can run on any platform? Or, do they have to >> be written separately to each platform? Can java programs be called >> as externals? >> >> Randall > > I have written an external to launch a JVM and call the Java methods > on Windows and Mac OS. By the external the Java methods can be called > as external commands or functions of Rev on both platforms. The > external also enables the Java programs to send messages to Rev's > handlers. > > The demo is downloadable at the following URL: > http://www.f-ab.net > > The demo is created by Runrev 3.0. In the demo, Derby(relational > database in written Java), HttpClient(http components written Java), > Red5(Flash server written in Java) and Sphinx-4(speech recognizer > written in Java) are used. > > Jiro Harada > _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution