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

Limiting JCasGen scope fails in some cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0SDK
    • Tools
    • 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 "/".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: