Hi Chris,

We're using Netbeans 7.2 and the way we do it is like this:

    public static void main(String args[]) {
----snip-----
             // Development, doesn't work outside IDE
             if (args[i].equals("-d")) {
                 isDeveloping = true;
System.getProperties().setProperty("plugins.dir", "lib/plugins"); System.getProperties().setProperty("macros.dir", "lib/macros");

             }
---blah blah blah----

So, this main() is defined as the "Main Method" in Project->Properties->Run and also in the properties we pass the "-d" flag

It is quite possible this is a stupid way, but it is a way...
I should also say that this system property is set before an instance of ImageJ is created.

Collin


On 06/20/2013 11:26 AM, Chris wrote:
Hi,

I am using Netbeans 7.3 to develop ImageJ plugins, but I am no longer able to 
see my plugins in the Plugins menu.  The tutorials available online are for 
earlier versions of Netbeans and no longer work.  Has anyone found a way to set 
up Netbeans 7.3 to display plugins in the Plugins folder of the instance of 
ImageJ that results from running or debugging the project?

Thanks for any help.

Chris Coulon
_______________________________________________
ImageJ-devel mailing list
ImageJ-devel@imagej.net
http://imagej.net/mailman/listinfo/imagej-devel



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


_______________________________________________
ImageJ-devel mailing list
ImageJ-devel@imagej.net
http://imagej.net/mailman/listinfo/imagej-devel

Reply via email to