Difference between revisions of "Add the ability to write plugins using jruby or groovy."

From Eclipsepedia

Jump to: navigation, search
(Status/Timeline)
(Status/Timeline)
Line 18: Line 18:
 
== Status/Timeline ==
 
== Status/Timeline ==
  
[[Image:Progress.gif]] Implementation of runtime engine to run the scripts. I will use javax.scripting API for this purpose.
+
[[Image:Progress.gif]] Implementation of runtime engine to run the scripts. javax.scripting API is in use for this purpose.
 +
  The engine, codename [http://eclipse-incub.svn.sourceforge.net/viewvc/eclipse-incub/groovy_plugins/yummy/src/org/eclipse/yummy/engine/Engine.java?view=markup&pathrev=12 yummy], isn't very advanced piece but it is sufficient to run a Groovy/JRuby script.  
  
 
[[Image:Glass.gif]] How to attach an action, that is implemented using a scripting language (Groovy or JRuby), to an eclipse button or menu
 
[[Image:Glass.gif]] How to attach an action, that is implemented using a scripting language (Groovy or JRuby), to an eclipse button or menu

Revision as of 19:19, 9 June 2007

This project is part of Google Summer of Code 2007, project link is here.

Student: Anton Arhipov

Blog: http://arhipov.blogspot.com

Contents

About

Scripting language like Groovy (or JRuby) is an ideal choice for Java developer to do quick prototyping. The biggest benefit of Eclipse support for Groovy plug-in development is that while changing the plug-in on-the-fly there's no need to start a separate Eclipse instance or restart the IDE when something was changed in the code. This would rapidly improve the speed of lightweight plug-in development.

This project aims to add ability to write plugins in JVM-based scripting language, like Groovy and JRuby. But it could be a starting point for any other JVM scripting language, like BeanShell or Jython.

Legend

Glass.gif Needs some investigation
Progress.gif Patch in progress
Ok green.gif Bug fixed / Feature added

Status/Timeline

Progress.gif Implementation of runtime engine to run the scripts. javax.scripting API is in use for this purpose.

 The engine, codename yummy, isn't very advanced piece but it is sufficient to run a Groovy/JRuby script. 

Glass.gif How to attach an action, that is implemented using a scripting language (Groovy or JRuby), to an eclipse button or menu

Glass.gif How the dependencies (OSGi bundles), that are used by a script, will be handled by the engine

Deliverables

The main results to be reached:

- An Eclipse extension/plug-in to (re)load (Groovy/JRuby) scripts on the fly.

- Command line console support to modify and change the program behavior interactively. This could look like in case Apache Derby ij plug-in