tag:blogger.com,1999:blog-20975090.post881233552470421943..comments2024-03-11T10:18:55.852-05:00Comments on Headius: Java Native Access + JRuby = True POSIXCharles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-20975090.post-41087699403076510892007-09-14T17:11:00.000-05:002007-09-14T17:11:00.000-05:00I will look into the JACOB project. But as an end ...I will look into the JACOB project. But as an end user and not a professional programmer it will take me time to figure out.<BR/><BR/>I was attraced to ruby as a free visual basic replacement, by the simple statements and the expressiveness of a single line.<BR/>All I needed to dance with the Excel COM object was:<BR/><BR/>require 'win32ole' <BR/><BR/>xlApp=WIN32OLE::new('Excel.Application')<BR/><BR/>-Thanks<BR/>GregGHhttps://www.blogger.com/profile/04828010037682259581noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-71906211179816620122007-09-14T14:49:00.000-05:002007-09-14T14:49:00.000-05:00Actually, the best way to implement Win32OLE would...Actually, the best way to implement Win32OLE would be to use a library like JACOB, which is a Java/COM bridge. That's what other projects use for OLE invocation from Java. Largely, all that would be needed is wiring up the basics of the win32ole Ruby library to JACOB, and you're done.Charles Oliver Nutterhttps://www.blogger.com/profile/06400331959739924670noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-76707375089240295682007-09-14T11:07:00.000-05:002007-09-14T11:07:00.000-05:00Excellent Job!As a financial analyst, I use Ruby f...Excellent Job!<BR/><BR/>As a financial analyst, I use Ruby for small scripting tasks, i.e. get some data from a website and plug it into an excel spreadsheet.<BR/>JRuby looks really good. I am just not able to duplicate the win32ole functionality on JVM. I know it is possible, but not with my current skill level.<BR/>Is there an easy way to use JNA to duplicate the win32ole?<BR/>-thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-20975090.post-80126262843945164112007-09-09T08:33:00.000-05:002007-09-09T08:33:00.000-05:00Slava,MSVCRT includes the chmod, chown, etc functi...Slava,<BR/><BR/>MSVCRT includes the chmod, chown, etc functions already, so those won't be a problem.<BR/><BR/>A more difficult task will be the Process module methods.Daniel Bergerhttps://www.blogger.com/profile/05224445093970941579noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-66588664730158619032007-09-06T01:30:00.000-05:002007-09-06T01:30:00.000-05:00What wicked idea :-) Very good indeed. Once Ruby C...What wicked idea :-) Very good indeed. Once Ruby C extension is interfaced that way we go on step closer to full Ruby compliance. We gain time to use the C extensions while someone is creating a pure Java alternative. We don't have to wait for the whole shebang to get ready. There are tons of good extensions that would take hundreds of man-hours to be flawlessly ported over to Java. <BR/><BR/>Congratulations again!! Hope to see news about this soon.AkitaOnRailshttps://www.blogger.com/profile/05539202931163964720noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-65066577976971020342007-09-04T10:27:00.000-05:002007-09-04T10:27:00.000-05:00"And how's this for a wild idea: with a bit of tri..."And how's this for a wild idea: with a bit of trickery, we could actually wire up Ruby C extensions, just by providing JNI/JRuby-aware implementations of the Ruby C API functions."<BR/><BR/>Intriguing, very intriguing.Brian Ehmannhttps://www.blogger.com/profile/08640435855870947976noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-73278967962970215932007-09-02T19:45:00.000-05:002007-09-02T19:45:00.000-05:00Wayne Meissner has been the other major driver on ...Wayne Meissner has been the other major driver on JNA, while working on gstreamer for Java. He did all the hard work of integrating libffi and getting a number of additional platforms working.technomagehttps://www.blogger.com/profile/08018312109057235866noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-46954921449230801642007-09-02T17:39:00.000-05:002007-09-02T17:39:00.000-05:00Very good indeed. That's moon landing! :-)Very good indeed. That's moon landing! :-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20975090.post-54984114448373091982007-09-02T16:24:00.000-05:002007-09-02T16:24:00.000-05:00JNA will allow any functions in any shared library...JNA will allow any functions in any shared library/DLL to be called, chmod/chown/whatever functionality can be implemented for Windows by calling the functions in the Windows-specific DLLs liker user32.dll and kernel32.dll.Albert Strasheimhttps://www.blogger.com/profile/11871503399110854739noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-55656763408786233572007-09-02T16:00:00.000-05:002007-09-02T16:00:00.000-05:00What about Windows equivalents of chmod, chown, an...What about Windows equivalents of chmod, chown, and so on?Slava Pestovhttps://www.blogger.com/profile/02768382790667979877noreply@blogger.com