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

DUCC CLI: use a class loader to keep user's classpath and DUCC's use of 3rd party software segregated.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0-Ducc
    • 2.0.0-Ducc
    • DUCC
    • None

    Description

      The most common use of the CLI is by calling its main() from within Eclipse, with the user's application classpath. If the classpath contains pointers to 3rd party packages used by the CLI, and comes before uima-ducc-cli.jar, the CLI can malfunction.

      Similarly, uima-ducc-cli.jar is often left in the classpath for other than DUCC CLI usage, and it's own use of 3rd party packages can interfere with applications.

      To remedy this we remove as much 3rd party usage as possible, and use a classloader for the rest to provide 2-way protection.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            challngr Jim Challenger
            challngr Jim Challenger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment