uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Generating types with maven
Date Wed, 11 Jul 2012 15:57:25 GMT
On 7/11/2012 8:56 AM, Peter Kl├╝gl wrote:
>  Hi,
> just a short question:
> Can someone give me a hint how the types (e.g., PersonTitle.java,
> PersonTitle_Type.java) are automatically generated during the maven build,
> e.g., a pointer to a project/pom?

Types are generated by the JCasGen tool.  For people who use the Eclipse IDE,
there's a UIMA plugin for Eclipse that provides a form-based editor for the UIMA
XML descriptors, and for those descriptors which involve type systems, it
provides a push-button to run the tool and add the generated classes to your
Eclipse project sources.

For those not using the Eclipse IDE, the JCasGen tool can be run from the
command line.  This tool is documented in our documentation, here:
> I probably overlooked something, but I haven't found any plugin definition in
> the parent pom (in my workspace). The uimaj-examples project already contains
> the types in the SVN (should they be there?) 

Yes, they should be there.
> and the DictionaryAnnotator (trunk) does not build in my workspace right now.

There was a recent change to this that is being rolled back.  See
Maybe that affected the build (I haven't tried myself, yet).

> Best,
> Peter

View raw message