You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2013/07/14 19:04:48 UTC

[jira] [Commented] (UIMA-2511) JCasGen fails to update descriptions in JavaDoc

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

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

The fix to this was to add a stanza to the merging control file that JMerge uses to merge updates into existing files.  I added a comment into the merge control file that is a http link to the (minimal) documentation that's available that explains how this stuff works.
                
> 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
>            Assignee: Marshall Schor
>             Fix For: 2.4.1SDK
>
>
> 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