Am 05.04.2011 um 17:38 schrieb Jaroslaw Cwiklik: > I propose creating a Factory object to enable each JUnit test to dynamically > create and configure deployment descriptors it needs. I would use Apache > XMLBeans to create xml backing java beans and factories which will be > generated from UIMA AS deployment descriptor xml schema. I would provide a > java wrapper around generated XML beans to simplify creation of primitive and > aggregate > deployment descriptors.
Sounds great! I have written a builder for UIMA-AS deployment descriptors that works directly on the DOM. It works for simple cases, but having proper beans for the XML would be better. Cheers, Richard -- ------------------------------------------------------------------- Richard Eckart de Castilho Technical Lead Ubiquitous Knowledge Processing Lab FB 20 Computer Science Department Technische Universität Darmstadt Hochschulstr. 10, D-64289 Darmstadt, Germany phone +49 (6151) 16-7477, fax -5455, room S2/02/E225 [email protected] www.ukp.tu-darmstadt.de -------------------------------------------------------------------
