IntelliJ Community . BsfConsole

 
BsfConsole 

HOME INDEX SEARCH CHANGES GO  

BsfConsole

Purpose

Console for BSF languages.

Description

Creates a Tool Window that can contain a number of interactive scripting language consoles.

Using

Download any BSF-compliant languages and put them into the plugin's lib directory. Go to the plugin configuration and check that they are registered. Add them if they are not (and leave a note here, I'll add them to the default list). Open BSFConsole tool window, create a console for any available language and enjoy smile

Current Features

  • Supports (almost) any BSF compatible languages.
  • Supported languages can be added/removed.
  • Startup scripts
  • Any number of concurrent consoles.
  • Ant console integration
  • Autocompletion for some languages (Ant, partially BeanShell)
  • Search
  • Recent commands panel
  • Can take classpath from a module

Tested with the following languages.

  • Ant console (own BSF engine)
  • BeanShell 2.0b1.1
  • Groovy (see notes)
  • Jacl
  • JRuby 0.7
  • Judoscript 0.9 (*) Can't load com/judoscript/jsysfxns.properties. It is in the judo.jar, but by some reason ClassLoader? can't find it.
  • Jython 2.1 (*)
  • Netrexx (*) Treats each 'exec' call as execution of a separate program.
  • pnuts 1.1beta1

(*) Doesn't support 'eval' calls for code blocks like 'a=1'. BSFConsole will always call 'exec', so commands like '1+2' won't print evaluation result.

Languages that doesn't work at the moment.

  • BML: can't find BSF adapter (org.apache.bml.ext.BMLEngine)
  • javascript (Rhino): java.lang.NoSuchMethodError: org.mozilla.javascript.Context.getDebuggableEngine(). Tried 1.5R4, 1.5R4.1 and even 1.5R1

(*) relies on old IBM BSF, tries to load com/ibm/bsf/util/BSFEngineImpl. BSFConsole uses newer Apache BSF.

Language Notes

Ant Console

For Ant Console to work with Pallada link (or copy) idea/lib/ant/ant.jar ant ant-nodeps.jar to idea/lib, otherwise plugin won't see them.

Jython

Add -Dpython.home="path-to-jython installation" to the IDEA startup script.

Groovy

Requires groovy-ver.jar, asm-ver.jar and asm-util-ver.jar (from Groovy distribution) to be in plugins/BSFConsole/lib.

beta-5 contains a bug (http://jira.codehaus.org/browse/GROOVY-475), everything works with proposed patch.

Another currently active bug that prevents dynamic classes definition: http://jira.codehaus.org/browse/GROOVY-519

pnuts

Put pnuts.jar and pnuts-jakarta-bsf.jar in plugins/BSFConsole/lib.

Plugin Development

Please see the topic BsfConsoleDev, any feedback is welcome smile

Plugins installation

  • Install plugin via plugin manager
  • Put jars from desired BSF implementations into the plugin's lib directory
  • Restart IntelliJ

Plugin Info

New binary plugin versions are available only via plugin manager

Plugin Author: KonstantinSobolev
Plugin Version: 11 Aug 2005 (V 0.5)
Change History:  
11 Aug 2005 (V 0.5): Irida version
6 Jun 2004 (V 0.4.9): Pallada version
6 Jun 2004 (V 0.4.8): ClassLoader? fixes
6 Jun 2004 (V 0.4.7): Now works on Aurora again
4 Jun 2004 (V 0.4.6): bugfixes, output path form modules
18 Apr 2004 (V 0.4.5): completion managers rework, classpath form modules
18 Feb 2004 (V 0.4.3): Recent commands panel, multiline commands, security manager, bugfixes
25 Jan 2004 (V 0.4.2): Bugfixing
25 Jan 2004 (V 0.4): Search, Send to console
22 Jan 2004 (V 0.3.9): Better system streams control
16 Jan 2004 (V 0.3.8): A bit better BeanShell completion, bugfixes
16 Jan 2004 (V 0.3.7): Clear and Save buttons, bugfixes
13 Jan 2004 (V 0.3.5): Completion managers, AntConsole? and partially BeanShell
12 Jan 2004 (V 0.3): Ant console, startup scripts, bugfixes
05 Jan 2004 (V 0.2.1): focus management, bugfixes
04 Jan 2004 (V 0.2): error icon, jython support, bugfixes
02 Jan 2004 (V 0.1): Initial version
Jar Dependencies: BSF-compliant languages
| Plugin Home: | http://www.intellij.org/twiki/bin/view/Main/BsfConsole | Feedback: | http://www.intellij.org/twiki/bin/view/Main/BsfConsoleDev

Related Topics: PluginDocumentation, ProjectPluginTemplate, OpenAPI, IntellijPluginDocumentation, IntellijPluginDocumentation, PluginDeployment, IdeasForPlugins

-- KonstantinSobolev - 11 Aug 2005

IntelliJPluginWebForm
IntelliJPluginName: BsfConsole
IntelliJPluginVersion: 0.5
IntelliJPluginVendor: KonstantinSobolev
IntelliJPluginBinary: http://plugins.intellij.net/pluginManager?action=download&id=BSFConsole
IntelliJPluginSource: http://www.intellij.org/twiki/pub/Main/BsfConsole/BSFConsole-0.5-src.tar.bz2
IntelliJPluginClassification: Other
TopicClassification: IntelliJPluginPackage
TopicShortDescription: BSFConsole plugin
TestedOnOS: OsLinux
ShouldRunOnOS: AnyOS

Attachment: sort Action: Size: Date: Who: Comment:
BSFConsole-0.1-bin.zip action 185815 02 Jan 2004 - 20:56 KonstantinSobolev initial revision
BSFConsole-0.1-src.zip action 26473 02 Jan 2004 - 20:59 KonstantinSobolev initial revision sources
BSFConsole-0.2-bin.zip action 186787 03 Jan 2004 - 23:34 KonstantinSobolev  
BSFConsole-0.2-src.zip action 27634 03 Jan 2004 - 23:43 KonstantinSobolev  
BSFConsole-0.2.1-bin.zip action 194182 04 Jan 2004 - 22:26 KonstantinSobolev  
BSFConsole-0.2.1-src.zip action 27789 04 Jan 2004 - 22:26 KonstantinSobolev  
BSFConsole-0.3-src.zip action 40247 12 Jan 2004 - 01:47 KonstantinSobolev  
BSFConsole-0.3-bin.zip action 258408 12 Jan 2004 - 01:50 KonstantinSobolev  
BSFConsole-0.3.5-bin.zip action 266694 13 Jan 2004 - 01:31 KonstantinSobolev  
BSFConsole-0.3.5-src.zip action 48471 13 Jan 2004 - 01:33 KonstantinSobolev  
BSFConsole-0.3.7-src.zip action 49145 16 Jan 2004 - 13:16 KonstantinSobolev  
BSFConsole-0.3.7-bin.zip action 269941 16 Jan 2004 - 13:18 KonstantinSobolev  
BSFConsole-0.3.8-bin.zip action 289867 19 Jan 2004 - 22:05 KonstantinSobolev  
BSFConsole-0.3.8-src.zip action 51425 19 Jan 2004 - 22:35 KonstantinSobolev  
BSFConsole-0.3.9-bin.zip action 294658 22 Jan 2004 - 12:57 KonstantinSobolev  
BSFConsole-0.3.9-src.zip action 52790 22 Jan 2004 - 13:03 KonstantinSobolev  
BSFConsole-0.4-bin.zip action 310106 25 Jan 2004 - 20:21 KonstantinSobolev  
BSFConsole-0.4-src.zip action 67022 25 Jan 2004 - 20:27 KonstantinSobolev  
BSFConsole-0.4.1-bin.zip action 310576 28 Jan 2004 - 14:48 KonstantinSobolev  
BSFConsole-0.4.1-src.zip action 67085 28 Jan 2004 - 15:06 KonstantinSobolev  
BSFConsole-0.4.2-bin.zip action 310434 29 Jan 2004 - 18:32 KonstantinSobolev  
BSFConsole-0.4.2-src.zip action 67037 29 Jan 2004 - 19:40 KonstantinSobolev  
BSFConsole-0.4.3-bin.zip action 325060 18 Feb 2004 - 20:10 KonstantinSobolev  
BSFConsole-0.4.3-src.zip action 73978 18 Feb 2004 - 20:19 KonstantinSobolev  
BSFConsole-0.4.5-src.tar.bz2 action 44762 18 Apr 2004 - 17:36 KonstantinSobolev  
BSFConsole-0.4.6-src.tar.bz2 action 45572 03 Jun 2004 - 23:07 KonstantinSobolev  
BSFConsole-0.4.7-src.tar.bz2 action 46019 06 Jun 2004 - 16:19 KonstantinSobolev  
BSFConsole-0.4.8-src.tar.bz2 action 46168 18 Jun 2004 - 13:41 KonstantinSobolev  
BSFConsole-0.4.9-src.tar.bz2 action 47426 13 Jul 2004 - 10:34 KonstantinSobolev  
BSFConsole-0.5-src.tar.bz2 action 47373 11 Aug 2005 - 10:22 KonstantinSobolev  
BSFConsole-0.5.1-src.tar.bz2 action 47484 04 May 2006 - 23:20 KonstantinSobolev  

e d i t a t t a c h r e f - b y d i f f s m o r e
Have ideas, requests, problems regarding this site? Send feedback.
Copyright © 2000-2003 by the contributing authors. All materials at intellij.org are the property of the contributing authors.