Hi,

As part of UIMA V3, I'm looking into tooling that will help users convert their
JCas files from V2 to V3.

I think the best flow might be to do a source - to - source transformation; that
way, everything can be manually checked and arbitrary customizations can be
manually addressed.

To handle the case where perhaps the source from JCas class is hard to find, we
could also provide a decompiler to generate that source (although, without the
comments and most annotations).

Once V2 source is converted to V3, we could then just compile and package those
files, and insure they're in the class path ahead of other versions.

Along these lines, can anyone suggest a suitable framework for doing Java source
-> source transformations? I've seen javaparse [1] (Apache licensed) which looks
promising, but perhaps there's other alternatives.  (I don't think I want an
Eclipse based solution in case the users are not using Eclipse).

Thanks for any suggestions! -Marshall

[1] https://github.com/javaparser/javaparser

Reply via email to