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 > >
