Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11855 (closed)

Opened 10 years ago

Closed 10 years ago

Bug: C++ cmake xsd-fu generalisation

Reported by: rleigh Owned by: rleigh
Priority: minor Milestone: 5.0.0
Component: Bio-Formats Version: 5.0.0-beta2-RC3
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

The logic required to invoke xsd-fu is composed of several steps:

  • introspect generated files
  • introspect dependencies
  • generate build rule

Which is repeated for each combination of file type (source/header) and command to run (java_classes, enums, etc.). This duplicates a huge amount of reasonably complex code.

Refactor this into a function/macro which may be called for each command (or could take a list of commands), which can return a variable containing the needed information for other rules to make use of. This will make maintenance of xsd-fu generation much simpler, and make it easier to add generation in other components (e.g. bioformats omexmlmetadatastore etc.)

Change History (2)

comment:2 Changed 10 years ago by rleigh

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67541 sec.)

We're Hiring!