Re: Help with Netbeans and plugins
Posted by
Sami Badawi-2 on
Dec 23, 2007; 5:25pm
URL: http://imagej.273.s1.nabble.com/Help-with-Netbeans-and-plugins-tp3697701p3697704.html
Hi Todd,
I have created an open-source project called ShapeLogic (www.shapelogic.org)
and the technique I am using there might apply to your problem.
I am using Maven 2 as my build environment. It is very simple to learn and
use. It works with both Eclipse, Netbeans and IntelliJ.
To build and deploy I have a 2 step process. Steps:
1: From command line run: mvn package
This will run all unit tests and if there are no errors, build the jar file.
2: Move the newly build jar file shapelogic_-0.9.jar from shapelogic/target
to to ImageJ/plugin dir.
Note it has to have an underscore in the name to be picked up by ImageJ.
Debugging:
Just start the debugger from Eclipse, with these setting:
Debugging class: ij.ImageJ (main ImageJ class)
Start directory: ImageJ directory:
VM setting: -Xmx50m
This should also work in Netbeans.
I started putting a description of my process up here:
http://www.shapelogic.org/setup.htmlIt should be done later today.
I hope this is helpful.
-Sami Badawi