<div dir="ltr">Hi Jean,<div><br></div><div><div>> @Curtis, in your answer to Alexandra, what do you mean by "It would be</div><div>> best for TANGO to be distributed via an ImageJ update site, which are</div><div>> only supported in ImageJ2" ? </div></div><div><br></div><div>I was responding to Alexandra's statement at the beginning of the thread:</div><div><br></div><div><div>> One of the developers of TANGO told me to use ImageJ1 because he</div><div>> wasn't sure how the switch between libraries is managed.</div></div><div><br></div><div><span style="font-size:12.8000001907349px">I understand that Tango has an official update site, which is great! What I meant is that I think update sites are the best way to distribute complex plugins like Tango—and update sites only work with ImageJ2, not ImageJ1.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Hence, the advice to "use ImageJ1" struck me as odd. </span><span style="font-size:12.8000001907349px">Based on my conversation with Alex in another thread, I think there was some confusion about what constitutes "ImageJ1" vs. "ImageJ2", which has hopefully been cleared up.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><div style><span style="font-size:12.8000001907349px">> for some reason in her system (macosx64) only tango is updated and not</span></div><div style><span style="font-size:12.8000001907349px">> mcib (but it works properly in my system, linux64). Any clue about</span></div><div style><span style="font-size:12.8000001907349px">> what the problem might be?</span></div><div style="font-size:12.8000001907349px"><br></div></div><div style="font-size:12.8000001907349px">I took a look at the Tango update site, and noticed a couple of problems:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">1) <span style="font-size:12.8000001907349px">TANGO's platform-specific libraries are not in the correct locations. </span><span style="font-size:12.8000001907349px">TANGO ships its libraries in lib/Linux64, lib/Win64 and lib/Mac64, which will not be added to the java.library.path properly.</span></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">- 64-bit Linux libraries should go in lib/linux64</div><div style="font-size:12.8000001907349px">- 64-bit Windows libraries <span style="font-size:12.8000001907349px">should</span><span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px">go in lib/win64</span></div><div style="font-size:12.8000001907349px">- OS X libraries <span style="font-size:12.8000001907349px">should</span><span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px">go in lib/macosx</span></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">You can verify this for yourself on each platform by running "ImageJ-xyz --dry-run" and noting the value of the "-Djava.library.path" argument. E.g., on my OS X system, it is:</span><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">    -Djava.library.path=/Applications/Fiji.app/lib/macosx:/Applications/Fiji.app/mm/macosx</span></div><div style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">2) TANGO's lib/Mac64 directory does not have any OS X native libraries in it. I'm not sure whether this is intentional, though.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">3) The TANGO update site does not ship any mcib libraries. You can verify this by running Help > Update..., changing the View Options to "View files of the 'Tango' update site" and typing "mcib" into the Search box.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I downloaded <a href="http://sites.imagej.net/Tango/db.xml.gz">http://sites.imagej.net/Tango/db.xml.gz</a> and searched it for "mcib" and the string does not appear. This means that in fact, no files with "mcib" in the name have ever been uploaded to the Tango update site.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Perhaps the reason TANGO works on your Linux system is that you have the mcib library present in a different directory of the java.library.path? Perhaps a system-wide installation? You may want to test on another fresh Linux system, rather than only your developer system.</div><div style="font-size:12.8000001907349px"><br></div></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">HTH,</span><br></div><div><span style="font-size:12.8000001907349px">Curtis</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 30, 2015 at 11:35 AM, Jean Ollion <span dir="ltr"><<a href="mailto:ollion@mnhn.fr" target="_blank">ollion@mnhn.fr</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"><p dir="ltr">Hello To everyone, </p>
<p dir="ltr">There is no roadblock to tango working in ij2, the problem of Alexandra is only due to a problem with the fiji updater, for some reason in her system (macosx64) only tango is updated and not mcib (but it works properly in my system, linux64). Any clue about what the problem might be?</p>
<p dir="ltr">@Curtis, in your answer to Alexandra, what do you mean by "It would be best for TANGO to be distributed via an ImageJ update site, which are only supported in ImageJ2" ? <br>
For the moment our pugin Tango is distributed under FIJI via an official update site, and works in legacy mode (uses the "old" plugin system, and doesn't use libraries of ImageJ2). Do you mean this type of distribution won't be supported anymore? </p>
<p dir="ltr">Best,<br>
Jean</p><div class=""><div class="h5">
<div 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 text="#000000" bgcolor="#FFFFFF">
    Dear Alex and IJ2 developers,<br>
    <br>
    TANGO uses its own library for image processing and object analysis.
    We use ImageJ and IJ1 mainly for opening images and drawing Rois of
    our 3D objects as a overlay of the image. We would be happy to
    discuss more about integration of TANGO into IJ2 . For completeness
    if you want to add plugins into TANGO (filtering, segmentation, or
    measurements),you can use our own MCIB library. We however already
    provide basic functions to exchange image data between TANGO and
    IJ1, maybe we should write, using some help, basic data exchange
    between TANGO and IJ2.<br>
    <br>
    Best,<br>
    <br>
    Thomas<br>
    <br>
    PS : in copy the main developer of TANGO, Jean<br>
    <br>
    <div>On 29/05/15 05:25, Curtis Rueden wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Alex,
        <div><br>
        </div>
        <div>
          <div>> One of the developers of TANGO told me to use
            ImageJ1 because he</div>
          <div>> wasn't sure how the switch between libraries is
            managed. Do I need to</div>
          <div>> reinstall in this case?</div>
        </div>
        <div><br>
        </div>
        <div>When he says "use ImageJ1" he means:</div>
        <div>  <a href="http://imagej.net/download.html" target="_blank">http://imagej.net/download.html</a></div>
        <div><br>
        </div>
        <div>But please, encourage the TANGO developer to contact the
          imagej-devel mailing list to discuss any roadblocks to TANGO
          working properly in ImageJ2. It would be best for TANGO to be
          distributed via an ImageJ update site, which are only
          supported in ImageJ2.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Curtis</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, May 28, 2015 at 3:48 PM,
          Alexandra Bortnick <span dir="ltr"><<a href="mailto:alexandra.bortnick@gmail.com" target="_blank">alexandra.bortnick@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">
            <div dir="ltr">Hi Curtis,
              <div><br>
              </div>
              <div>One of the developers of TANGO told me to use ImageJ1
                because he wasn't sure how the switch between libraries
                is managed. Do I need to reinstall in this case?</div>
              <div><br>
              </div>
              <div>-Alex</div>
              <div><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
ImageJ-devel mailing list
<a href="mailto:ImageJ-devel@imagej.net" target="_blank">ImageJ-devel@imagej.net</a>
<a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a>
</pre>
    </blockquote>
    <br>
  </div>

</div>
</div></div></blockquote></div><br></div></div>