ImageJ netbeans plugin development...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageJ netbeans plugin development...

greendoki
PLease give me a link or a little help how can i set my netbeans to develope imagej plugin.

i made it in eclipse but now i have to do it in netbeans...i can't :(

Reply | Threaded
Open this post in threaded view
|

Re: ImageJ netbeans plugin development...

Nikolay
http://rsb.info.nih.gov/ij/developer/NBTutorial.html
<http://rsb.info.nih.gov/ij/developer/NBTutorial.html>
http://developer.imagej.net/netbeans


--
Rogoshchenkov Nikolay



On Mon, Dec 10, 2012 at 8:57 AM, greendoki <[hidden email]> wrote:

> PLease give me a link or a little help how can i set my netbeans to
> develope
> imagej plugin.
>
> i made it in eclipse but now i have to do it in netbeans...i can't :(
>
>
>
>
>
> --
> View this message in context:
> http://imagej.1557.n6.nabble.com/ImageJ-netbeans-plugin-development-tp5001094.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ netbeans plugin development...

dscho
In reply to this post by greendoki
Hi David,

On Mon, 10 Dec 2012, greendoki wrote:

> PLease give me a link or a little help how can i set my netbeans to
> develope imagej plugin.
>
> i made it in eclipse but now i have to do it in netbeans...i can't :(

I would strongly recommend using Maven so that it does not matter whether
you develop in Eclipse or Netbeans (or for that matter, IntelliJ):

http://article.gmane.org/gmane.comp.java.imagej/26056/match=netbeans

FWIW I dug out that mail by searching the mailing list ;-)

http://search.gmane.org/?query=netbeans&author=&group=gmane.comp.java.imagej&sort=date&DEFAULTOP=and&xP=Znetbean&xFILTERS=Gcomp.java.imagej---A

Happy development,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ netbeans plugin development...

dscho
Hi Chris,

sorry for the delay, I was busy. Hint for the future: if you keep the list
in Cc:, other people will most likely help you before I come around to do
so. It also makes the answer more visible so that I do not have to answer
the same question multiple times ;-)

On Tue, 11 Dec 2012, Chris wrote:

> I tried to set this up in Netbeans, which I use for my more elaborate
> plugin development, but I cannot build or run the plugin in Netbeans.  I
> get the error:
>
> The build could not read 1 project -> [Help 1]
>  
>   The project sc.fiji:Process_Pixels:1.0.0 (/Users/chris/NetBeansProjects/TestApps/imagej-minimal-ij1-plugin-cf76b5a/pom.xml) has 1 error
>     Non-resolvable parent POM: Failure to find org.scijava:pom-scijava:pom:1.19 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 8, column 10 -> [Help 2]

My mistake, I forgot to add the information about the ImageJDev Maven
repositories.

This is now fixed and you can fix it on your side by getting the
<repositories> part from:

https://github.com/imagej/minimal-ij1-plugin/raw/master/pom.xml

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ netbeans plugin development...

dscho
In reply to this post by dscho
Hi Dávid,

On Fri, 14 Dec 2012, "Dávid, Lakatos" wrote:

> 2012.12.10. 18:32 keltezéssel, Johannes Schindelin írta:
>
> > On Mon, 10 Dec 2012, greendoki wrote:
> >
> > > PLease give me a link or a little help how can i set my netbeans to
> > > develope imagej plugin.
> > >
> > > i made it in eclipse but now i have to do it in netbeans...i can't
> > > :(
> >
> > I would strongly recommend using Maven so that it does not matter
> > whether you develop in Eclipse or Netbeans (or for that matter,
> > IntelliJ):
> >
> > http://article.gmane.org/gmane.comp.java.imagej/26056/match=netbeans
> >
> > FWIW I dug out that mail by searching the mailing list ;-)
> >
> > http://search.gmane.org/?query=netbeans&author=&group=gmane.comp.java.imagej&sort=date&DEFAULTOP=and&xP=Znetbean&xFILTERS=Gcomp.java.imagej---A
> >
> > Happy development,
> > Johannes
>
> but can u help me to setup the netbeans + imagej plugin develeopment
> with the java application project because after that i have to attach
> the onvif.xsd and with this project i can't
Sure. Where is your source code? And what is onvif.xsd?

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ netbeans plugin development...

Chris-2
In reply to this post by dscho
I have set up Netbeans for ImageJ plugin development, but I am getting some errors that seem to imply that the version of ImageJ in the repository is not the latest.   For example,  the line

IJ.setThreshold(imj, 1.0, 255.0);

gives the error:

no suitable method found for setThreshold(ImagePlus,double,double)

and the line

imageRoi.setZeroTransparent(true);

gives the error:

cannot find symbol: method setZeroTransparent(boolean)

The Netbeans output gives the error:

Failed to execute goal on project ij-app: Could not resolve dependencies for project net.imagej:ij-app:jar:2.0.0-SNAPSHOT: Failed to collect dependencies for [net.imagej:ij-core:jar:2.0.0-SNAPSHOT (compile), net.imagej:ij-io:jar:2.0.0-SNAPSHOT (compile), net.imagej:ij-ui:jar:2.0.0-SNAPSHOT (compile), net.java.sezpoz:sezpoz:jar:1.9 (compile), net.imagej:ij-commands-app:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-commands-data:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-commands-debug:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-commands-display:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-commands-misc:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-legacy:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-options:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-script-beanshell:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-script-java:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-ui-swing-script-editor:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-platforms:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-tools:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-ui-swing:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-ui-swing-commands:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-ui-swing-tools:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-ui-swing-updater:jar:2.0.0-SNAPSHOT (runtime), net.imagej:ij-updater-ssh:jar:2.0.0-SNAPSHOT (runtime), org.swinglabs:swing-layout:jar:1.0.3 (compile), imagej:ij:jar:2.0-SNAPSHOT (compile)]: Failed to read artifact descriptor for mpicbg:imglib:jar:2.0-SNAPSHOT: Failure to find net.imglib2:pom-imglib:pom:2.0-SNAPSHOT in http://maven.imagej.net/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of imagej.releases has elapsed or updates are forced -> [Help 1]

I don't know how to begin to resolve these errors.  Thanks in advance for any help.

Chris Coulon


Christopher Coulon, Ph.D.
The GAIA Group
http://gaiag.net




--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

PastedGraphic-2.tiff (177K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ netbeans plugin development...

ctrueden
Hi Chris,

Apologies for the delay in reply; quite a few ImageJ developers (including
me) have been on vacation over the holidays.

> [...] was cached in the local repository, resolution will not be
> reattempted until the update interval of imagej.releases has elapsed
> or updates are forced

This message from Maven says that a needed dependency (usually a JAR file)
was previously not found online, and Maven remembered that, and is not
bothering to recheck. By default, Maven checks for these "SNAPSHOT"
dependencies once per 24 hours. But you can force it to check again
immediately using the "-U" flag. One way to do this in NetBeans is to
right-click the project, choose Custom > Goals..., enter "clean package"
for the Goals and check the "Update Snapshots" box. There may be an easier
way though; I am not a NetBeans expert.

Of course, the question remains why the original build failed in the first
place. Did you manage to make it work since writing this mail? Does the
build also fail with command line mvn?

Also, please note the difference between ImageJ1 and ImageJ2. The first
half of your mail talks about using the ij.IJ class (part of ImageJ1), but
the error message in the second half of your mail talks about a NetBeans
error involving ij-app (part of ImageJ2). If what you want is to develop
ImageJ1 in NetBeans, then use the ImageJA repository:

    https://github.com/fiji/ImageJA

You can import it into NetBeans using the "Open Project" command, same as
ImageJ2.

If all you want is to write an ImageJ1 plugin in NetBeans, but not change
the ImageJ1 source code itself, you don't even need that; you can simply
model your project after this example:

    https://github.com/imagej/minimal-ij1-plugin

Regards,
Curtis


On Tue, Dec 18, 2012 at 1:17 PM, Chris <[hidden email]> wrote:

> I have set up Netbeans for ImageJ plugin development, but I am getting
> some errors that seem to imply that the version of ImageJ in the repository
> is not the latest.   For example,  the line
>
> IJ.setThreshold(imj, 1.0, 255.0);
>
> gives the error:
>
> no suitable method found for setThreshold(ImagePlus,double,double)
>
> and the line
>
> imageRoi.setZeroTransparent(true);
>
> gives the error:
>
> cannot find symbol: method setZeroTransparent(boolean)
>
> The Netbeans output gives the error:
>
> Failed to execute goal on project ij-app: Could not resolve dependencies
> for project net.imagej:ij-app:jar:2.0.0-SNAPSHOT: Failed to collect
> dependencies for [net.imagej:ij-core:jar:2.0.0-SNAPSHOT (compile),
> net.imagej:ij-io:jar:2.0.0-SNAPSHOT (compile),
> net.imagej:ij-ui:jar:2.0.0-SNAPSHOT (compile),
> net.java.sezpoz:sezpoz:jar:1.9 (compile),
> net.imagej:ij-commands-app:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-commands-data:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-commands-debug:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-commands-display:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-commands-misc:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-legacy:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-options:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-script-beanshell:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-script-java:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-ui-swing-script-editor:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-platforms:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-tools:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-ui-swing:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-ui-swing-commands:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-ui-swing-tools:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-ui-swing-updater:jar:2.0.0-SNAPSHOT (runtime),
> net.imagej:ij-updater-ssh:jar:2.0.0-SNAPSHOT (runtime),
> org.swinglabs:swing-layout:jar:1.0.3 (compile), imagej:ij:jar:2.0-SNAPSHOT
> (compile)]: Failed to read artifact descriptor for
> mpicbg:imglib:jar:2.0-SNAPSHOT: Failure to find
> net.imglib2:pom-imglib:pom:2.0-SNAPSHOT in
> http://maven.imagej.net/content/repositories/releases was cached in the
> local repository, resolution will not be reattempted until the update
> interval of imagej.releases has elapsed or updates are forced -> [Help 1]
>
> I don't know how to begin to resolve these errors.  Thanks in advance for
> any help.
>
> Chris Coulon
>
>
> Christopher Coulon, Ph.D.
> The GAIA Group
> http://gaiag.net
>
>
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ netbeans plugin development...

Chris-2
I understand being away -- I was away in Italy for seven and a half months last year!  :-)  Thanks for the response.

I am trying to develop a project in NetBeans because it is so much more efficient for me to get the imports and APIs directly rather than taking the extra step to look them all up.  But I would like to move over to ImageJ2 if possible.  I did get the project running in NetBeans, but I can't figure out how to run it outside of NetBeans now.  I am currently modifying the Process_Pixels project, following Johannes Schindelin's advice.  I like the feature of the project running as a java application without the ImageJ toolbar, but I haven't been able to change the name from Process_Pixels to my project's name.  So I have a few issues left unresolved before I can get cooking on the project.  

1.  How to develop in ImageJ2 instead of ImageJ1.

2.  How to run the project outside of NetBeans, e.g., from the UNIX terminal.

3.  How to change the name from Process_Pixels to my project's name.

I think if I can get all those issues resolved, I will be in good shape.  Thanks for any help in this matter.

Chris

On Jan 9, 2013, at 8:23 AM, Curtis Rueden wrote:

> Hi Chris,
>
> Apologies for the delay in reply; quite a few ImageJ developers (including
> me) have been on vacation over the holidays.
>
>> [...] was cached in the local repository, resolution will not be
>> reattempted until the update interval of imagej.releases has elapsed
>> or updates are forced
>
> This message from Maven says that a needed dependency (usually a JAR file)
> was previously not found online, and Maven remembered that, and is not
> bothering to recheck. By default, Maven checks for these "SNAPSHOT"
> dependencies once per 24 hours. But you can force it to check again
> immediately using the "-U" flag. One way to do this in NetBeans is to
> right-click the project, choose Custom > Goals..., enter "clean package"
> for the Goals and check the "Update Snapshots" box. There may be an easier
> way though; I am not a NetBeans expert.
>
> Of course, the question remains why the original build failed in the first
> place. Did you manage to make it work since writing this mail? Does the
> build also fail with command line mvn?
>
> Also, please note the difference between ImageJ1 and ImageJ2. The first
> half of your mail talks about using the ij.IJ class (part of ImageJ1), but
> the error message in the second half of your mail talks about a NetBeans
> error involving ij-app (part of ImageJ2). If what you want is to develop
> ImageJ1 in NetBeans, then use the ImageJA repository:
>
>    https://github.com/fiji/ImageJA
>
> You can import it into NetBeans using the "Open Project" command, same as
> ImageJ2.
>
> If all you want is to write an ImageJ1 plugin in NetBeans, but not change
> the ImageJ1 source code itself, you don't even need that; you can simply
> model your project after this example:
>
>    https://github.com/imagej/minimal-ij1-plugin
>
> Regards,
> Curtis
>
>
> On Tue, Dec 18, 2012 at 1:17 PM, Chris <[hidden email]> wrote:
>
>> I have set up Netbeans for ImageJ plugin development, but I am getting
>> some errors that seem to imply that the version of ImageJ in the repository
>> is not the latest.   For example,  the line
>>
>> IJ.setThreshold(imj, 1.0, 255.0);
>>
>> gives the error:
>>
>> no suitable method found for setThreshold(ImagePlus,double,double)
>>
>> and the line
>>
>> imageRoi.setZeroTransparent(true);
>>
>> gives the error:
>>
>> cannot find symbol: method setZeroTransparent(boolean)
>>
>> The Netbeans output gives the error:
>>
>> Failed to execute goal on project ij-app: Could not resolve dependencies
>> for project net.imagej:ij-app:jar:2.0.0-SNAPSHOT: Failed to collect
>> dependencies for [net.imagej:ij-core:jar:2.0.0-SNAPSHOT (compile),
>> net.imagej:ij-io:jar:2.0.0-SNAPSHOT (compile),
>> net.imagej:ij-ui:jar:2.0.0-SNAPSHOT (compile),
>> net.java.sezpoz:sezpoz:jar:1.9 (compile),
>> net.imagej:ij-commands-app:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-commands-data:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-commands-debug:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-commands-display:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-commands-misc:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-legacy:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-options:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-script-beanshell:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-script-java:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-ui-swing-script-editor:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-platforms:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-tools:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-ui-swing:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-ui-swing-commands:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-ui-swing-tools:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-ui-swing-updater:jar:2.0.0-SNAPSHOT (runtime),
>> net.imagej:ij-updater-ssh:jar:2.0.0-SNAPSHOT (runtime),
>> org.swinglabs:swing-layout:jar:1.0.3 (compile), imagej:ij:jar:2.0-SNAPSHOT
>> (compile)]: Failed to read artifact descriptor for
>> mpicbg:imglib:jar:2.0-SNAPSHOT: Failure to find
>> net.imglib2:pom-imglib:pom:2.0-SNAPSHOT in
>> http://maven.imagej.net/content/repositories/releases was cached in the
>> local repository, resolution will not be reattempted until the update
>> interval of imagej.releases has elapsed or updates are forced -> [Help 1]
>>
>> I don't know how to begin to resolve these errors.  Thanks in advance for
>> any help.
>>
>> Chris Coulon
>>
>>
>> Christopher Coulon, Ph.D.
>> The GAIA Group
>> http://gaiag.net
>>
>>
>>
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ netbeans plugin development...

ctrueden
Hi Chris,

> I am trying to develop a project in NetBeans because it is so much
> more efficient for me to get the imports and APIs directly rather than
> taking the extra step to look them all up.

I agree. I used to be a pure command line + vim developer and I always had
a web browser open to the javadoc. With Eclipse I no longer need to do
that; autocomplete is much faster. But both styles have their pros and cons.

> 1.  How to develop in ImageJ2 instead of ImageJ1.

If you want to write an ImageJ2 command instead of an ImageJ1 plugin, I
would copy one of the imagej-tutorials projects instead. You can find those
at:

   https://github.com/imagej/imagej-tutorials

Maybe start with "simple-command"?

> 2.  How to run the project outside of NetBeans, e.g., from the UNIX
> terminal.

Use command line Maven. It is as simple as typing "mvn" at the command line
and then looking in the "target" folder for the JAR file afterward. For
more details, see this page:

    http://fiji.sc/Maven

> 3.  How to change the name from Process_Pixels to my project's name.

Edit the pom.xml to change the project name. Also rename the Java source
file in NetBeans to match what you want.

> I would like to move over to ImageJ2 if possible

That's great, but please be aware that ImageJ2 is still beta, and we don't
have many great tutorials for plugin authors yet. In particular, we need
more examples of how to use ImgLib2 for image processing from within
ImageJ2. In the meantime, you can check out the ImgLib2 examples for some
good examples:

    http://fiji.sc/ImgLib2_Examples

HTH,
Curtis


On Wed, Jan 9, 2013 at 11:47 AM, Christopher Coulon <[hidden email]
> wrote:

> I understand being away -- I was away in Italy for seven and a half months
> last year!  :-)  Thanks for the response.
>
> I am trying to develop a project in NetBeans because it is so much more
> efficient for me to get the imports and APIs directly rather than taking
> the extra step to look them all up.  But I would like to move over to
> ImageJ2 if possible.  I did get the project running in NetBeans, but I
> can't figure out how to run it outside of NetBeans now.  I am currently
> modifying the Process_Pixels project, following Johannes Schindelin's
> advice.  I like the feature of the project running as a java application
> without the ImageJ toolbar, but I haven't been able to change the name from
> Process_Pixels to my project's name.  So I have a few issues left
> unresolved before I can get cooking on the project.
>
> 1.  How to develop in ImageJ2 instead of ImageJ1.
>
> 2.  How to run the project outside of NetBeans, e.g., from the UNIX
> terminal.
>
> 3.  How to change the name from Process_Pixels to my project's name.
>
> I think if I can get all those issues resolved, I will be in good shape.
>  Thanks for any help in this matter.
>
> Chris
>
> On Jan 9, 2013, at 8:23 AM, Curtis Rueden wrote:
>
> > Hi Chris,
> >
> > Apologies for the delay in reply; quite a few ImageJ developers
> (including
> > me) have been on vacation over the holidays.
> >
> >> [...] was cached in the local repository, resolution will not be
> >> reattempted until the update interval of imagej.releases has elapsed
> >> or updates are forced
> >
> > This message from Maven says that a needed dependency (usually a JAR
> file)
> > was previously not found online, and Maven remembered that, and is not
> > bothering to recheck. By default, Maven checks for these "SNAPSHOT"
> > dependencies once per 24 hours. But you can force it to check again
> > immediately using the "-U" flag. One way to do this in NetBeans is to
> > right-click the project, choose Custom > Goals..., enter "clean package"
> > for the Goals and check the "Update Snapshots" box. There may be an
> easier
> > way though; I am not a NetBeans expert.
> >
> > Of course, the question remains why the original build failed in the
> first
> > place. Did you manage to make it work since writing this mail? Does the
> > build also fail with command line mvn?
> >
> > Also, please note the difference between ImageJ1 and ImageJ2. The first
> > half of your mail talks about using the ij.IJ class (part of ImageJ1),
> but
> > the error message in the second half of your mail talks about a NetBeans
> > error involving ij-app (part of ImageJ2). If what you want is to develop
> > ImageJ1 in NetBeans, then use the ImageJA repository:
> >
> >    https://github.com/fiji/ImageJA
> >
> > You can import it into NetBeans using the "Open Project" command, same as
> > ImageJ2.
> >
> > If all you want is to write an ImageJ1 plugin in NetBeans, but not change
> > the ImageJ1 source code itself, you don't even need that; you can simply
> > model your project after this example:
> >
> >    https://github.com/imagej/minimal-ij1-plugin
> >
> > Regards,
> > Curtis
> >
> >
> > On Tue, Dec 18, 2012 at 1:17 PM, Chris <[hidden email]> wrote:
> >
> >> I have set up Netbeans for ImageJ plugin development, but I am getting
> >> some errors that seem to imply that the version of ImageJ in the
> repository
> >> is not the latest.   For example,  the line
> >>
> >> IJ.setThreshold(imj, 1.0, 255.0);
> >>
> >> gives the error:
> >>
> >> no suitable method found for setThreshold(ImagePlus,double,double)
> >>
> >> and the line
> >>
> >> imageRoi.setZeroTransparent(true);
> >>
> >> gives the error:
> >>
> >> cannot find symbol: method setZeroTransparent(boolean)
> >>
> >> The Netbeans output gives the error:
> >>
> >> Failed to execute goal on project ij-app: Could not resolve dependencies
> >> for project net.imagej:ij-app:jar:2.0.0-SNAPSHOT: Failed to collect
> >> dependencies for [net.imagej:ij-core:jar:2.0.0-SNAPSHOT (compile),
> >> net.imagej:ij-io:jar:2.0.0-SNAPSHOT (compile),
> >> net.imagej:ij-ui:jar:2.0.0-SNAPSHOT (compile),
> >> net.java.sezpoz:sezpoz:jar:1.9 (compile),
> >> net.imagej:ij-commands-app:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-commands-data:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-commands-debug:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-commands-display:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-commands-misc:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-legacy:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-options:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-script-beanshell:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-script-java:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-ui-swing-script-editor:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-platforms:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-tools:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-ui-swing:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-ui-swing-commands:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-ui-swing-tools:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-ui-swing-updater:jar:2.0.0-SNAPSHOT (runtime),
> >> net.imagej:ij-updater-ssh:jar:2.0.0-SNAPSHOT (runtime),
> >> org.swinglabs:swing-layout:jar:1.0.3 (compile),
> imagej:ij:jar:2.0-SNAPSHOT
> >> (compile)]: Failed to read artifact descriptor for
> >> mpicbg:imglib:jar:2.0-SNAPSHOT: Failure to find
> >> net.imglib2:pom-imglib:pom:2.0-SNAPSHOT in
> >> http://maven.imagej.net/content/repositories/releases was cached in the
> >> local repository, resolution will not be reattempted until the update
> >> interval of imagej.releases has elapsed or updates are forced -> [Help
> 1]
> >>
> >> I don't know how to begin to resolve these errors.  Thanks in advance
> for
> >> any help.
> >>
> >> Chris Coulon
> >>
> >>
> >> Christopher Coulon, Ph.D.
> >> The GAIA Group
> >> http://gaiag.net
> >>
> >>
> >>
> >>
> >> --
> >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >>
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html