<div dir="ltr">Hi Chris,<div><br></div><div>> <span style="font-family:arial,sans-serif;font-size:13px">Or at minimum: install it to your local Maven repository cache.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">If you decide to do this, here is the page explaining how:</span></div><div><a href="http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html" target="_blank">http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html</a><br>
</div><div><br></div><div style>But you may want to read a bit more about Maven in general, too. Sonatype has a great book; here is the relevant chapter on dependencies:</div><div style><a href="http://books.sonatype.com/mvnref-book/reference/pom-relationships-sect-project-dependencies.html">http://books.sonatype.com/mvnref-book/reference/pom-relationships-sect-project-dependencies.html</a><br>
</div><div><br></div><div>Regards,</div><div>Curtis</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 12, 2013 at 2:53 PM, Curtis Rueden <span dir="ltr"><<a href="mailto:ctrueden@wisc.edu" target="_blank">ctrueden@wisc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Chris,<div><div><br></div><div><div>> I use the versatile wand plugin for part of my image analysis, and it</div>
<div>> should be available in the repository, right?</div></div><div><br></div></div><div>
Nope, Versatile Wand is not part of Fiji, and not available from any Maven repository.</div><div><br></div><div><div><div>> So why doesn't my instance of ImageJ in NetBeans recognize it?</div><div><br>
</div>
</div><div>You can hack around it by including a copy of the Versatile Wand source with your plugin. But this ultimately causes problems because then you will be shipping your own version of it which might conflict with a different version installed by a user.</div>
<div><br></div><div>The proper solution is to deploy the Versatile Wand JAR file to a Maven remote repository you control. Or at minimum: install it to your local Maven repository cache. But both of these are rather involved for someone who is just getting started with Maven.</div>
<div><br></div><div>A much easier approach would be to simply develop your plugin using the Fiji Script Editor, which will automatically include all installed plugins on your classpath when you compile and run. But then you can't use NetBeans, of course.</div>
<div><br></div><div>Regards,</div><div>Curtis</div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 12, 2013 at 2:34 PM, Chris <span dir="ltr"><<a href="mailto:christopher.coulon@gmail.com" target="_blank">christopher.coulon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I am making progress! I got my postcard project running, but now I am getting the error: Unrecognized command: "Versatile Wand" and can go no further. I use the versatile wand plugin for part of my image analysis, and it should be available in the repository, right? So why doesn't my instance of ImageJ in NetBeans recognize it?<br>
<br>
Chris Coulon<br>
_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagej.net" target="_blank">ImageJ-devel@imagej.net</a><br>
<a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>