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

Opened 2011-05-06T12:28:00-05:00

Last modified 2012-05-14T11:17:02-05:00

Improve Bio-Formats Hudson builds

Reported by: curtis Owned by: curtis
Priority: major Milestone: imagej2-b3-headless
Component: SCIFIO Version:
Severity: non-issue Keywords:
Cc: melissa Blocked By:


Currently, there are several different Bio-Formats Hudson jobs on both the LOCI Dev server and the OME Hudson server. The LOCI Dev server has three Bio-Formats Hudson builds: Bio-Formats, Bio-Formats-daily, and Bio-Formats-maven.

To reduce redundancy between jobs, the (Ant-based) Bio-Formats job should be eliminated, with the Bio-Formats-maven job being renamed to "Bio-Formats" to fulfill its functions. This includes building artifacts and generating Javadocs, as well as running tests.

For this to happen, the following items must be addressed:

  1. Maven tests must work correctly (currently they fail in initialization)
  2. The loci-tools and ome-tools projects must be brought onto the develop branch from the maven branch, so that the Maven build system can produce loci_tools.jar and ome_tools.jar.

Once these issues are sorted, we can update the Hudson as described above.

Change History

comment:1 Changed 2011-07-27T14:57:53-05:00 by curtis

  • Milestone changed from biweekly-2011: Jul-18 to Jul-29 to biweekly-2011: Aug-29 to Sep-09

comment:2 Changed 2011-08-01T12:10:55-05:00 by curtis

  • Milestone changed from biweekly-2011: Aug-29 to Sep-09 to imagej-2.0-beta1

Milestone biweekly-2011: Aug-29 to Sep-09 deleted

comment:3 Changed 2011-09-15T18:57:19-05:00 by curtis

Support for the loci-tools and ome-tools bundles was added in  239cba85, with further fixes in  1eeac3d and  7d0bf5c.

Initial support for TestNG test suites was added in  271c0243, though there are still some problems and limitations when running the tests using Maven's Surefire plugin (see commit message for details).

comment:4 Changed 2011-09-25T22:43:55-05:00 by curtis

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta2

comment:5 Changed 2011-11-16T13:15:05-06:00 by curtis

Regarding the two failing NetCDF-related Bio-Formats unit tests, the discrepancy was due to NetCDF 4.0 being used with Ant, while the Maven build was using 4.2.20. The  netcdf-update branch upgrades NetCDF to 4.2.20 across the board, so those two tests should now pass.

So the remaining issues are now:

  1. For common, there is a @PARALLEL@ token that is nonstandard and throws off the test engine unless it gets replaced.
  2. For metakit, there is a filename system property that is expected to be set ad hoc. As such, the tests are not true unit tests.
  3. For bio-formats and ome-io, the missing dependency tests are not included because they only pass when dependencies are missing.

I am most concerned about the common test, since it would be nice for that to run (presumably with some default value of @PARALLEL@).

Last edited 2012-05-14T10:26:30-05:00 by curtis

comment:6 Changed 2012-05-14T11:17:02-05:00 by curtis

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

The remaining Maven build issues have been migrated to a  separate ticket on the OME Trac.