Ah, ok. My mistake. I've seen this in my workspace some time ago (probably was not uimaj, but cleartk, dkpro or something) and got a bit confused now. Since the types are generated, I thought that this is also supported in our build process.

Generating the types (those with no extra code) and not storing them in the SVN sounds reasonable to me. Especially since the file changes when you call JCasGen, e.g., " * Updated by JCasGen Wed Jul 11 15:10:37 CEST 2012". What do you think?

Peter


On 11.07.2012 17:57, Marshall Schor wrote:
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:
http://uima.apache.org/d/uimaj-2.4.0/tools.html#ugr.tools.jcasgen
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
https://issues.apache.org/jira/browse/UIMA-2430
Maybe that affected the build (I haven't tried myself, yet).

-Marshall
Best,

Peter




--
---------------------------------------------------------------------
Dipl.-Inf. Peter Klügl
Universität Würzburg        Tel.: +49-(0)931-31-86741
Am Hubland                  Fax.: +49-(0)931-31-86732
97074 Würzburg              mail: [email protected]
     http://www.is.informatik.uni-wuerzburg.de/en/staff/kluegl_peter/
---------------------------------------------------------------------

Reply via email to