<div dir="ltr">Hi Chris,<div><br></div><div><div>> I don't understand how to change the name of the jar file created in</div><div>> the Netbeans build.  It currently builds a jar file called APC_.jar.</div><div>> The only place I can see that name is in the pom.xml in my project's</div>

<div>> Project Files.</div></div><div><br></div><div style>As shown in the screencast, just change the <artifactId> of the project itself. Note that this is *not* one of the <artifactId> values within the <dependencies> block, but rather the <artifactId> immediately beneath <project>, towards the very top of the POM.</div>

<div style><br></div><div style>Also as shown in the screencast, after editing your POM, NetBeans should magically update itself to match the new information there. In my experience, it works pretty well, but if you run into trouble, try quitting and restarting NetBeans.</div>

<div style><br></div><div><div>> package org.jdesktop.layout does not exist</div><div>> </div><div>> even though the swing-layout-1.0.3.jar (which contains</div><div>> org.jdesktop.layout) is in my project dependencies.</div>

</div><div><br></div><div style>You must add a dependency to the proper GAV in your POM. In this case, it is:</div><div style><br></div><div style><dependency><br></div><div><div>  <groupId>org.swinglabs</groupId></div>

<div>  <artifactId>swing-layout</artifactId></div><div>  <version>1.0.3</version></div><div></dependency></div></div><div><br></div><div style>In general, to search for dependencies, you can use the site:</div>

<div style><br></div><div style>    <a href="http://maven.imagej.net/">http://maven.imagej.net/</a></div><div style><br></div><div style><div>> So in my Projects under Dependencies I have the APC_.jar with its</div><div>

> version (APC_-1.0.0.jar)</div><div><br></div><div style>I don't know where that APC_ artifact came from, but I suggest you remove it, since it is not an actual dependency of your project.</div></div><div style><br>

</div><div style>I also highly encourage you to read through the following article to get an overview of the Maven POM, as well as how to locate needed dependencies for your project:<br></div><div><div><br></div><div>    <a href="http://fiji.sc/Maven">http://fiji.sc/Maven</a></div>

</div><div><br></div><div style>Regards,</div><div style>Curtis</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 26, 2013 at 10:51 AM, Christopher Coulon <span dir="ltr"><<a href="mailto:coulonchris59@gmail.com" target="_blank">coulonchris59@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="im"><div><blockquote type="cite"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span> </span>If you have a specific question about NetBeans + ImageJ1 that you would like addressed, feel free to reframe it here and we can try to help.</span></blockquote>

</div><br></div><div>OK, thanks.  The screencast that Johannes recently created (<a href="http://www.youtube.com/watch?v=Ac-6gJ2eRb0" style="font-size:13px;font-family:arial,sans-serif" target="_blank">http://www.youtube.com/watch?v=Ac-6gJ2eRb0</a>) is working for me now -- at last!  Thank you Johannes and thank you Curtis!  :-)  </div>

<div><br></div><div>I don't understand how to change the name of the jar file created in the Netbeans build.  It currently builds a jar file called APC_.jar.  The only place I can see that name is in the pom.xml in my project's Project Files.  </div>

<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><img height="132" width="320" src="cid:5C9801E1-E768-43AD-81F3-1058FD52D741@hsd1.ca.comcast.net."></div></blockquote><div><br></div><div>If I change that name to anything else, I get errors in all my java files that use a JFrame Form.  The error is :</div>

<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>package org.jdesktop.layout does not exist</div></blockquote><div><br></div><div>even though the swing-layout-1.0.3.jar (which contains org.jdesktop.layout) is in my project dependencies.  So if I change the artifactId to anything else, or if I change the version from 1.0.0 to 0.1.0, I get the errors.</div>

<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><img height="269" width="240" src="cid:7E972615-24AC-4EC4-A420-D5FC84A77FEA@hsd1.ca.comcast.net."></div></blockquote><div><br></div><div>So in my Projects under Dependencies I have the APC_.jar with its version (APC_-1.0.0.jar), while in my Files>target:</div>

<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><img height="286" width="240" src="cid:9AB29C36-333A-44CD-93BE-EC92747D60B5@hsd1.ca.comcast.net."></div></blockquote><div><br></div><div>I have A_Postcard-0.1.0.jar -- the name of my project and the name of the jar I prefer.  </div>

<div><br></div><div>Is there any way to name the jar file in the Dependencies A_Postcard?</div><div><br></div><div>Thanks.</div><div><br></div><div>Chris Coulon</div><div><br></div><div><br></div><div><br></div></div></blockquote>

</div><br></div>