[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [babel] - Support for Groovy

From: Nathan Neff
Subject: [Orgmode] [babel] - Support for Groovy
Date: Fri, 19 Mar 2010 12:46:33 -0500


I'm trying to write an org-babel-groovy.el file, and have read through the
org-babel-template.el and org-babel-template.org files.

Eventually, I decided to just copy the org-babel-perl.el file to org-babel-groovy and
replace 'perl' with 'groovy' where appropriate :-/

I'm able to get Groovy to run from an org-babel file with this code:

#+begin_src groovy :results output
   println "bar";

However, the program doesn't run -- all I get is the "usage" output from Groovy:
  (Ex: usage:  groovy <file> blah blah blah)

I suspect that this is because I don't have a major-mode for Groovy installed.

I'd really just like for a Groovy script to be run from org-babel, and for the output
to be inserted into an org-babel file.

Can anyone help?  I have the source code here:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]