Serialize only one view of a CAS

2010-10-20 Thread Jörn Kottmann
Hi everyone, is it possible to only serialize one view of a CAS ? In my case the _InitialView contains an xml document, which is transformed by an AE into a plain text representation, and placed in a view called Article. The serialization code now should only write the Article view into the

Re: Serialize only one view of a CAS

2010-10-20 Thread Eddie Epstein
Hi Jörn, The only way to do this now is to create a 2nd CAS, copy over the parts wanted using the org.apache.uima.util.CasCopier and serialize the new CAS. A more direct solution is the proposal for serialization to support CAS projections. A brief description is in

maven src directory for generated code

2010-10-20 Thread Philip Ogren
We are using maven as the build platform for our uima-based projects. As part of the build org.apache.uima.tools.jcasgen.Jg is invoked to generate java files for the type system. This is performed in the process-resources phase using a plugin configuration previously discussed on this list.