Ticket #1030 (closed enhancement: fixed)

Opened 8 years ago

Last modified 7 years ago

Integrate Java into the Scripting framework

Reported by: dscho Owned by: dscho
Priority: major Milestone: imagej2-b5-scripting
Component: Scripting Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #12


Similar to the Java support in Fiji (which pretends that Java is a scripting language, but requiring the code to be compiled which it does by calling javac so that the .class files are written side-by-side of the .java files), it would be a Cool Thang to have Java support in the IJ2 scripting framework.

For starters, we will try to imitate the way Fiji does it closely, but then endeavor to use Javassist instead of javac, at least optionally. That will allow us to be a bit more flexible and allow for Java snippets as opposed to full classes, and we no longer need to write out the resulting .class files.

Licensing is not an issue because there is no existing code that we will reuse except for a few lines I have written myself.

Change History

comment:1 Changed 8 years ago by dscho

  • Status changed from new to accepted

comment:2 Changed 8 years ago by curtis

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:3 Changed 8 years ago by dscho

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:4 Changed 7 years ago by curtis

  • Blocking 1516 added; 12 removed

comment:5 Changed 7 years ago by curtis

  • Blocking 12 added; 1516 removed
  • Milestone changed from imagej-2.0.0-beta6 to imagej-2.0.0-beta5

comment:6 Changed 7 years ago by curtis

  • Status changed from accepted to closed
  • Resolution set to fixed

Done in 7e0cea20.

Note: See TracTickets for help on using tickets.