Hello,
Is it possible to configure Netbeans or other IDEs, such as bluejay, to be used in order to write ImageJ plugins, and if yes, how? I have found some guides online but they seem a bit old and outdated... Thanks, Nicholas |
Hello Nicholas,
i use eclipse to write ImageJ plugins. There are some HowTo's at http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:the_imagej_eclipse_howto "Method 1: Setting up Eclipse to create and debug plugins for ImageJ" is well described and it works fine with Eclipse 4.2 SR1. Being able to use all debug functions of eclipse is a great help. And a nice advantage of eclipse is that you only have to unzip it, no installation is needed and you can run it easily on an external HDD. Michael > Hello, > > Is it possible to configure Netbeans or other IDEs, such as bluejay, to be > used in order to write ImageJ plugins, and if yes, how? > I have found some guides online but they seem a bit old and outdated... > > Thanks, > > Nicholas -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by nmichel
Nicholas,
You might be interested to try the package I put together for this. Download ImageJ-NetBeans.zip from https://github.com/tnargsirrah/ImageJ-NetBeans. Create a directory and unzip ImageJ-NetBeans.zip into it. Instructions in a .doc file therein. This has not been tested much, and not at all on Mac/Linux, so let me know of any problems. -- Grant Harris -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Michael Epping-2
Thank you all for your answers.
Just one more question, which might be silly. is it possible to combine Javascript and macro language in a macro? Thanks again Nicholas ----- Message from [hidden email] --------- Date: Tue, 2 Oct 2012 10:04:55 +0200 From: Michael Epping <[hidden email]> Reply-To: [hidden email] Subject: Re: Creating Plugin using IDEs To: [hidden email] > Hello Nicholas, > > i use eclipse to write ImageJ plugins. There are some HowTo's at > http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:the_imagej_eclipse_howto > "Method 1: Setting up Eclipse to create and debug plugins for ImageJ" > is well described and it works fine with Eclipse 4.2 SR1. Being able to > use all debug functions of eclipse is a great help. And a nice > advantage of eclipse is that you only have to unzip it, no installation > is needed and you can run it easily on an external HDD. > > Michael > > >> Hello, >> >> Is it possible to configure Netbeans or other IDEs, such as bluejay, to be >> used in order to write ImageJ plugins, and if yes, how? >> I have found some guides online but they seem a bit old and outdated... >> >> Thanks, >> >> Nicholas > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html ----- End message from [hidden email] ----- -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by nmichel
Hi Nicholas,
On Mon, 1 Oct 2012, nmichel wrote: > Is it possible to configure Netbeans or other IDEs, such as bluejay, to > be used in order to write ImageJ plugins, and if yes, how? I have found > some guides online but they seem a bit old and outdated... I played a little bit with BlueJ, and it is a nice tool to learn Java, but it is a bit awkward to use for real projects (for example, you have to restart once you specify where the library ij.jar lives before code compiles cleanly against it, I did not find an easy way to add a plugins.config or other resource files, and you can only work on one project at a time). So I would advise to use Eclipse, Netbeans, IntelliJ or jEdit. To make it easier to stay on top of ImageJ's development and to add other dependencies, the optimal choice is to make it a Maven project. Such a project is simply a .xml file describing the project and its dependencies, and a convention where the .java files should be put. The advantage is that you can switch to another IDE whenever you like, and you can also collaborate with other people who like another IDE better than you do. You also avoid having instructions like "copy the ij.jar into this place" or, worse, having to bundle an ij.jar with the source code. To make things easy, I made a minimal Maven project to serve as a starting point. I welcome you to change it to your heart's extent: https://github.com/imagej/minimal-ij1-plugin/zipball/master Instructions how to import it into your favorite IDE are here: https://github.com/imagej/minimal-ij1-plugin/blob/master/README.md The project also contains a convenience main() method so that you can set breakpoints and start the plugin in the debugger without hassles. (In Eclipse, after importing the project, select Navigation>Open Type..., select Process_Pixels, then run Run>Debug As>Java Application.) Ciao, Johannes -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by nmichel
Hi Nicholas,
On Tue, 2 Oct 2012, Nikolaos Michelarakis wrote: > Just one more question, which might be silly. is it possible to combine > Javascript and macro language in a macro? There is the eval("script", ...) function: http://imagej.net/developer/macro/functions.html#eval Ciao, Johannes -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |