Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4131

Limiting JCasGen scope fails in some cases

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0SDK
    • Component/s: Tools
    • Labels:
      None

      Description

      Consider the case where you have two projects:

      • /my/project
      • /my/project1

      The first project contains a type descriptor which imports another type descriptor from the second project.

      When JCasGen is invoked with the option to limit generation to the first project, then JCas classes for the types imported from the second project are still generated. Why? Because "/my/project" is a prefix of "/my/project1". JCasGen thinks that "/my/project1" is within the scope of "/my/project".

      This could be fixed by ensuring that paths terminate in a "/".

        Activity

        Hide
        rec Richard Eckart de Castilho added a comment -

        Checked in OS X and Windows. Looks ok.

        Show
        rec Richard Eckart de Castilho added a comment - Checked in OS X and Windows. Looks ok.

          People

          • Assignee:
            rec Richard Eckart de Castilho
            Reporter:
            rec Richard Eckart de Castilho
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development