« Return to Thread: Scripting/Extending NetBeans in Ruby

Re: Scripting/Extending NetBeans in Ruby

by KirkZ :: Rate this Message:

Reply to Author | View in Thread

To me this would be a very general enhancement.

1.  If one is writing a Netbeans RCP application and wants to use or provide Ruby as a scripting mechanism for their application, it would be very nice if Netbeans already had the same feature -- then you just include a module dependency for ruby ide scripting support and much of the work (at least the packaging part) is done. Ideally, this would package a jruby-complete in your final app.

2. Ruby has a nice set of libraries and gems.  It would be nice if you could simply write Netbeans modules that made use of them.

For more use cases, look at the emerging practices in the Apple developer community of writing entire (and full-fledged) Mac OS X applications in Ruby and/or Python.  By giving those languages full support and access to the application frameworks, Apple has made such things easy.

Thanks for asking this question, I've been searching high and low for an example of how to do this kind of thing assuming it must be a common task.  Finding your post, I see it hasn't really been developed yet, so I'm glad to see the thread starting.

-Kirk

Martin Krauskopf wrote:
Hi all,

I've another small "poll". Few times we were asked if it is possible to
write NetBeans extensions in Ruby. Technically there should not be any
barriers, but I'm rather curious how much users would want to write such
extensions or script the IDE. What are your opinion? Would you try to
script or extends NetBeans in Ruby if it would be more easily possible.
What use-case would you have?

I experimented with this, or similar, idea and write a little bit about
it here:

   http://blogs.sun.com/martink/entry/scripting_netbeans_in_ruby

but so far only for adventurous ;) Not so easy now, but should not be
hard to come with something more decent.

Likely would be rather 'weekend' project in the beginning. But question
is whether such effort does worth it.

        m.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org

 « Return to Thread: Scripting/Extending NetBeans in Ruby

LightInTheBox - Buy quality products at wholesale price