[
https://issues.apache.org/jira/browse/UIMA-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864528#comment-13864528
]
Marshall Schor commented on UIMA-3354:
--
I'm not sure of the exact thing needed to get this to fail. I tried the
following:
1) define some type system using the CDE.
2) run JCasGen with the button on the CDE
3) modify the generated xxx.java class to add near the bottom:
interface Foo {
static final int FooInt = 3;
}
4) Saved that.
5) reran JcasGen after changing the type definition (added a new feature)
6) verified the generated xxx.java file was re-written (by comparing dates)
7) verified that the added interface Foo ... was still there, untouched.
What am I missing?
Preserve custom interface declarations on JCas classes
--
Key: UIMA-3354
URL: https://issues.apache.org/jira/browse/UIMA-3354
Project: UIMA
Issue Type: Improvement
Components: Tools
Reporter: Richard Eckart de Castilho
Priority: Minor
It is possible to customize the code of generated JCas classes, e.g. to add
new methods, and these customizations are preserved when the JCas classes are
regenerated. However, if custom interfaces are added to the class, these are
removed. It would be nice if custom interfaces were preserved, as this opens
up additional possibilities of working with JCas classes.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)