NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #154 (closed defect: wontfix)

Opened 2010-08-23T11:30:40-05:00

Last modified 2011-02-22T17:41:53-06:00

Fix problems with jar2lib wrapping ij.jar

Reported by: curtis Owned by: curtis
Priority: minor Milestone: biweekly-2011: Mar-14 to Mar-25
Component: Jar2Lib Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Jar2lib can wrap ij.jar, but there are a couple of outstanding issues:

  1. There seems to be a bug in Jace when wrapping classes whose names contain an underscore.
  2. The compilation fails part way through with a cryptic error:
    In file included from .../ij/proxies/include/jace/proxy/ij/macro/ExtensionDescriptor.h:49,
                     from .../ij/proxies/source/jace/proxy/ij/macro/ExtensionDescriptor.cpp:2:
    .../ij/proxies/include/jace/proxy/ij/macro/MacroExtension.h:78:
                     error: ‘ExtensionDescriptor’ is not a member of ‘jace::proxy::ij::macro’
    .../ij/proxies/include/jace/proxy/ij/macro/MacroExtension.h:78:
                     error: ‘ExtensionDescriptor’ is not a member of ‘jace::proxy::ij::macro’
    .../ij/proxies/include/jace/proxy/ij/macro/MacroExtension.h:78:
                     error: template argument 1 is invalid
    make[2]: *** [CMakeFiles/ij.dir/proxies/source/jace/proxy/ij/macro/ExtensionDescriptor.cpp.o] Error 1
    

We should resolve these errors and demonstrate that the ImageJ API is accessible from C++ applications.

Change History

comment:1 Changed 2010-08-31T11:55:50-05:00 by curtis

  • Component changed from other to jar2lib

comment:2 Changed 2010-10-01T16:53:26-05:00 by curtis

  • Milestone changed from biweekly-2010: Sep-20 to Oct-01 to biweekly-2010: Oct-04 to Oct-15

comment:3 Changed 2010-10-18T10:29:15-05:00 by curtis

  • Milestone changed from biweekly-2010: Oct-04 to Oct-15 to biweekly-2010: Nov-01 to Nov-12

comment:4 Changed 2010-11-29T10:51:24-06:00 by curtis

  • Milestone changed from biweekly-2010: Nov-15 to Nov-24 to biweekly-2011: Jan-03 to Jan-14

comment:5 Changed 2011-02-15T10:24:39-06:00 by curtis

  • Milestone changed from biweekly-2011: Feb-14 to Feb-25 to biweekly-2011: Mar-14 to Mar-25

comment:6 Changed 2011-02-22T17:41:53-06:00 by curtis

  • Status changed from new to closed
  • Resolution set to wontfix

From my tests so far, wrapping the ImageJDev component libraries works (I tested with ij-plugin-2.0-SNAPSHOT.jar), so wrapping ImageJ v1.x is not a priority.