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 #172 (closed task: fixed)

Opened 2010-08-26T17:12:34-05:00

Last modified 2011-05-23T11:26:46-05:00

Improve jar2lib's CMake build file to assemble final resources post-build

Reported by: curtis Owned by: hinerm
Priority: major Milestone: biweekly-2011: Apr-25 to May-06
Component: Jar2Lib Version:
Severity: non-issue Keywords:
Cc: Blocked By:


CMake supports  post-build commands which we could use to assemble the final needed binaries into a single directory, and ideally an archive, for distribution. These binaries include (e.g., on Linux):

  • (where XXX is the generated project)
  • jace-runtime.jar
  • JAR inputs to project XXX

One reason for this feature is so that our Hudson can automatically publish "trunk builds" of the Bio-Formats C++ bindings.

Change History

comment:1 Changed 2010-08-31T11:56:59-05:00 by curtis

  • Component changed from other to jar2lib

comment:2 Changed 2010-12-09T13:40:00-06:00 by curtis

  • Milestone changed from biweekly-2010: Nov-29 to Dec-10 to biweekly-2011: Jan-31 to Feb-11

comment:3 Changed 2011-02-15T10:16:30-06:00 by curtis

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

comment:4 Changed 2011-02-22T17:52:56-06:00 by curtis

In addition, jar2lib and/or cppwrap will need to copy all dependent JARs into a "jar" folder of the distribution.

comment:5 Changed 2011-03-28T10:43:43-05:00 by curtis

  • Owner changed from curtis to hinerm
  • Status changed from new to assigned
  • Milestone changed from biweekly-2011: Mar-14 to Mar-25 to biweekly-2011: Mar-28 to Apr-08

Mark, could you please look into this?

comment:6 Changed 2011-05-23T11:26:46-05:00 by hinerm

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone changed from biweekly-2011: May-23 to Jun-03 to biweekly-2011: Apr-25 to May-06

Fixed with svn revision 7709

  • updated cmake velocity template to automatically create copy commands for all files as specified, in a system-specific manner.