On 3/23/2011 10:05, Jens Grivolla wrote: > Sounds great. Does this mean that you could use the Eclipse debugger to step > through an AE, set breakpoints, etc.? Or is there already a way to do that? > So > far I have always packaged the AE and then run it through CPEgui or CVD with > no > Eclipse integration for debugging.
You can run the CPEGui or CVD under the Eclipse debugger, set breakpoints in your code and debug that way. Am I missing something? For CVD, you just need the UIMA core and tools jars in your classpath, and start CVD with main() in org.apache.uima.tools.cvd.CVD. --Thilo > > On 03/21/2011 12:54 PM, Jörn Kottmann wrote: >> Hi all, >> >> developing/testing AEs inside eclipse is cumbersome because we do not >> have launch support for AEs. To run an AE inside eclipse a small helper >> class must be created which can instantiate the AE, supply it with CASes >> and maybe serialize the processed CASes again. >> >> To ease up this process we should have launch support which is capable of >> instantiating an AE (or AAE), supply it with CASes and then serialize >> the CASes >> again. The launch support should also be able to run PEARS. >> >> A first simple version of such a wizard could read all xmi files from one >> folder and write the results to another folder. >> >> Combined with the Cas Editor we would then have complete eclipse tooling >> for >> developing AEs, e.g. for making a simple hello world AE a user might >> want to perform the following steps: >> >> 1. Write the AE, create the descriptor and type system >> 2. Import sample texts >> 3. View the imported texts >> 4. Run the AE over the imported texts >> 5. View added annotations >> >> Jörn >> > >
