Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.0-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.