NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 280 - Inconsistent default imports for Beanshell
Inconsistent default imports for Beanshell
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Linux
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2011-02-02 17:13 CST by Stephan Saalfeld
Modified: 2011-02-03 00:41 CST
0 users

See Also:

Description Stephan Saalfeld 2011-02-02 17:13:07 CST
Beanshell scripts launched through the script editor or by opening the script file do not auto-import the ij... packages.  Beanshell scripts launched through the scripting interpreter do so.

This is not consistent with e.g. Jython scripts for which the default imports are available in all of the mentioned modes.

That's what I ran into during the workshop presentation yesterday ;)
Comment 1 Albert Cardona 2011-02-03 00:41:02 CST
(In reply to comment #0)
> Beanshell scripts launched through the script editor or by opening the script
> file do not auto-import the ij... packages.  Beanshell scripts launched through
> the scripting interpreter do so.
> 
> This is not consistent with e.g. Jython scripts for which the default imports
> are available in all of the mentioned modes.
> 
> That's what I ran into during the workshop presentation yesterday ;)


Submitted fix:
http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=fiji.git;a=commit;h=3930f8ad5c4b0cd86ff1ae0394ff0569eb1ac710