Hi Piyush,

A while ago, I wrote a blog post on how to package a RUTA script with maven:

http://textjuicer.com/blog/2013/09/08/using-ruta-in-a-maven-project/

Even if you do not use maven, it should give you an idea on the files to distribute in your jars.

Hope this help,

Alexandre

On 14-10-22 07:35 AM, Piyush Paliwal wrote:
Hi,

we are developing one Ruta Project and want to access it in java project.
Currently what we did is to add the descriptor (generated from ruta script)
into UIMA pipeline which is in java project.

The pipeline can only be run on workspace, we are not able to make a single
jar of that java project and run on command line because it can not access
Ruta project as dependency.

There is also a direct way to read ruta script within java, but the script
can not import annotations from type systems if we put in java project
(i.e. it needs Ruta editor).

Any way to add Ruta project dependency into java?

Thanks.

Piyush



Reply via email to