javauimaruta

Using UIMA Ruta outside of Eclipse: Problem with absolute paths / Compilation


I am trying to use a UIMA Ruta script created in Eclipse with a Java webserver in plain Java based on these instructions, but I'm running into problems due to the fact that scriptPaths, descriptorPaths and resourcePaths are absolute paths. Is there a way to compile UIMA Ruta scripts with relative paths, or, ideally, to compile UIMA Ruta scripts outside of Eclipse? Thank you.


Solution

  • These absolute paths are optional as the files can also be resolved using the classpath. There is also the option to use the UIMA datapath to resolve the descriptors and scripts.

    In plain Java, make sure that the context of these folder are in the classpath and just remove the absolute folder from the configuration.