[ 
https://issues.apache.org/jira/browse/UIMA-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682637#comment-13682637
 ] 

Marshall Schor commented on UIMA-2511:
--------------------------------------

The first error is fixed in the CDE - was a reversed test for the case where 
the updated value was the empty string.  The 2nd error for now can be worked 
around by manually deleting the JCASGen'd files before regenerating.  
Diagnosing / fixing this is likely defered past the 2.4.1 release (unless 
someone else jumps in).
                
> JCasGen fails to update descriptions in JavaDoc
> -----------------------------------------------
>
>                 Key: UIMA-2511
>                 URL: https://issues.apache.org/jira/browse/UIMA-2511
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Richard Eckart de Castilho
>
> When I update the description field of features in the Eclipse Component 
> Descriptor editor and run JCasGen, most of the time the descriptions for the 
> types are not updated in the generated JCas files. The "Updated by JCasGen" 
> timestamp is updated, but the JavaDoc on the getters and setters is not 
> updated most of the time. I even thought that generating JavaDoc on 
> setters/getters wasn't supported until I actually looked at the JCasGen 
> source code.
> Deleting the generated types and re-running JCasGen seems to help some times, 
> but most of the time it just seems that it doesn't make a difference.
> E.g., I added "lala" as a description on a type feature and successfully 
> generate the JCas with "lala" ending up in the getter/setter JavaDoc. Now I 
> remove "lala" from the description (it's empty now), delete the JCas files 
> from disk and rerun JCasGen. In the freshly generated files, "lala" is still 
> there.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to