Remove Fiji-specific File>New Plugin

When Fiji was still developed mostly using the script editor, it made
sense to create new plugins in the src-plugins/ subdirectory of the
top-level directory.

However, most of Fiji is now developed using more modern techniques
(using IDEs such as Eclipse, making Maven projects, using fiji-lib's
Debug class to call ImageJ 1.x plugins from inside Eclipse, etc) and
the src-plugins/ directory was deprecated in favor of stand-alone
source code repositories.

Therefore, let's just get rid of this command and instead rely on
templates to support users who want to write new plugins or scripts.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
ScriptEditorTestDrive: default to Beanshell

It is pretty annoying if you're testing the script editor and have to
select a script language every *single* time you restart, especially on
MacOSX where the "Alt+L B" shortcut does not work as everywhere else.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove the 'Show deprecation' flag

Not sure what to do about it; we let the JavaEngine compile as it sees
fit; maybe in a future version we'll put this back in, triggered via
the engine scope bindings, much like 'verbose' and 'debug'...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Avoid NullPointerException

Sometimes, the file is in the current directory (so that
getParentFile() returns null).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Hide Make .jar for non-compileable languages

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove completely obsolete comment

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Pass the path of the file to evaluate to the script engine

Before, we only passed the file name. This is not enough, not when the
JavaEngine wants to determine whether the file is part of a Maven project
so that it can use MiniMaven to compile that project instead of just
a single file.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add the current scripting-java artifact as dependency

We will want to make use of the methods added to scripting-java for the
express purpose of supporting the Make .jar and the Compile functions.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Use JavaEngine's implementations of makeJar() and compile()

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
TO-UNDO: Bump the scripting-java version temporarily

... needed to make the error output work... until scripting-java is
released...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
TO-UNDO: Depend on imagej-legacy for IJ1 plugin development testing

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>