<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Curtis,<br>
      <br>
      I updated to the snapshot-core.jar and it works now as intended.
      We will release an updated (ImageJ4 beta compatible) version of
      the ImageJ plugin in the next few weeks together with the next
      minor release of the Knime Image Extension.<br>
      <br>
      Thank you for your efforts<br>
      Regards Michael<br>
    </div>
    <blockquote
cite="mid:CADN69ymtDepMfhmfKvSKCO7=odgr4FTH341SERbf817+9w8ETw@mail.gmail.com"
      type="cite">
      <div>Hi Michael,
        <div><br>
        </div>
        <div>
          <div>> The getPOM method does not work in the
            plugin/eclipse environment that</div>
          <div>> is used by KNIME. I think this might be related to
            some OSGI stuff</div>
          <div>> having separate class loaders for each plugin...</div>
        </div>
        <div><br>
        </div>
        <div>After much research and experimentation, I believe I have
          fixed this bug:</div>
        <div>    <a moz-do-not-send="true"
            href="https://github.com/imagej/imagej/commit/66b4e29e"
            target="_blank">https://github.com/imagej/imagej/commit/66b4e29e</a></div>
        <div><br>
        </div>
        <div>I also made several other improvements to ImageJ2's base
          directory detection:</div>
        <div>    <a moz-do-not-send="true"
href="https://github.com/imagej/imagej/compare/66b4e29ede81...ca49a734d5cc"
            target="_blank">https://github.com/imagej/imagej/compare/66b4e29ede81...ca49a734d5cc</a><br>
          <br>
          Using the latest ij-core-2.0.0-SNAPSHOT.jar in place of KNIP's
          bundled ij-core-2.0.0-beta4.jar, the problem is fixed on my
          system, and the ImageJ2 nodes appear as expected now.</div>
        <div><br>
        </div>
        <div>Please let me know if you have any other issues.</div>
      </div>
      <div><br>
      </div>
      <div>Regards,</div>
      <div>Curtis</div>
      <div><br>
      </div>
      <div>P.S. Special thanks to Christian for helping me set up my
        KNIME+KNIP development environment!</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div class="gmail_quote">
        On Thu, Sep 20, 2012 at 1:43 PM, Curtis Rueden <span dir="ltr"><<a
            moz-do-not-send="true" href="mailto:ctrueden@wisc.edu"
            target="_blank">ctrueden@wisc.edu</a>></span> wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Michael,
          <div><br>
          </div>
          <div>Sorry to hear that the POM version detection is not
            working for KNIME. If the problem is *only* with the
            deprecated static VERSION, we plan to eliminate that soon
            anyway. But if the ImageJ#getVersion() method always returns
            null, that is a bad thing and we will need to fix it.</div>
          <div><br>
          </div>
          <div>To debug this, I would need to set up a KNIP developer
            environment on my machine here so that I can reproduce and
            debug the issue. Are there instructions for doing that
            online?</div>
          <div><br>
          </div>
          <div>
            Thanks,</div>
          <div>Curtis</div>
          <div><br>
          </div>
          <div>P.S. Please CC imagej-devel on replies. Sometimes other
            developers may reply more quickly than I do, so it may save
            you time.
            <div>
              <div><br>
                <br>
                <br>
                <div class="gmail_quote">
                  On Mon, Sep 17, 2012 at 2:15 AM, Michael Zinsmaier <span
                    dir="ltr"><<a moz-do-not-send="true"
                      href="mailto:michael.zinsmaier@gmx.de"
                      target="_blank">michael.zinsmaier@gmx.de</a>></span>
                  wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <div text="#000000" bgcolor="#FFFFFF">
                      <div>Hi Curtis,<br>
                        <br>
                        thanks for your reply and the explenation.
                        Unfortunately I have already a new issue. We
                        tried to migrate the KNIME Image Extension<br>
                        to the beta 4 version of ImageJ and we have some
                        problems with the introduced integration of the
                        POM file. The getPOM method<br>
                        does not work in the plugin/eclipse environment
                        that is used by KNIME I think this might be
                        related to some OSGI stuff having separate<br>
                        class loaders for each plugin...<br>
                        In any case getPOM does not find the POM file
                        although it is packed into the ImageJ jar file.
                        Especially the static loading of the version
                        number causes therefore some problems for us.<br>
                        <br>
                            /** @deprecated Use {@link
                        ImageJ#getVersion()} instead. */<br>
                            @Deprecated<br>
                            public static final String VERSION =
                        POM.getPOM(ImageJ.class, "net.imagej",
                        "ij-core").getVersion();<br>
                        <br>
                        Do you have an idea how this could be resolved?<br>
                        <br>
                        Best regards,<br>
                        Michael<br>
                      </div>
                    </div>
                  </blockquote>
                </div>
              </div>
            </div>
          </div>
        </blockquote>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>