On Apr 5, 2006, at 8:01 PM, Charles O Nutter wrote:
I saw it was a NetBeans patch, so I did what I'd been intending to
do for a while: make JRuby work as a project in NetBeans too. I
just committed project.xml, so it should be working correctly. I'm
pretty new to NetBeans, however, so if you (Marc) or someone else
more familiar could have a look, I'd appreciate it.
I just did a cvs update -d but I don't see a project.xml... Netbeans
does a decent job of integrating with an existing ant-based project,
on my machine I just used the wizard and then added a new target for
debugging purposes.
I should be able to apply and explore the patch now.
On 4/5/06, Charles O Nutter <[EMAIL PROTECTED] > wrote:
Ahh, one other detail: please use unified diff for your patches. It
came through ok this time, so I should be able to apply it anyway.
I'm not that familiar with patch formats, how would I generate a
unified diff - would command line cvs work ?
Thanks,
Marc.
On 4/5/06, Marc Hadley <[EMAIL PROTECTED]> wrote: I tracked down
the shell wildcard problem with my original patch and
also tidied things up a bit and fixed a couple of additional bugs I
ran into during testing. With this patch Kernel#system and
Kernel#backquote now pass all the rubicon tests.
One change I made that could have future repercussions is to
temporarily redirect stdout to a buffer (see line 815 in the patched
file) while executing a second ruby script in-process (this is
required since you need to capture the output of the script executed
via Kernel#backtick). This works fine for a single threaded script
but might cause problems if multiple threads start executing
additional scripts concurrently. There doesn't appear to be an easy
fix to this but as I'm new to the code I might have missed something.
Marc.
---
Marc Hadley <marc.hadley at sun.com>
--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com
--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com
---
Marc Hadley <marc.hadley at sun.com>
Business Alliances, CTO Office, Sun Microsystems.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel