| Summary: | No model-doc is generated or updated if user-doc is removed. | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Thomas Hallgren <thomas> |
| Component: | Core | Assignee: | Ed Merks <Ed.Merks> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Kenn.Hussey |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Thomas Hallgren
Yes, that's how it works. Everything outside of the user-doc section can be replaced during merging. If you remove the user-doc section, merging isn't supported and you have complete control. This would solve your other problem too; just write the documentation you want and turn off merging. Be sure to include @generated or merging for the Java content will be disabled too. I want to maintain my documentation in the model, not in the generated java classes. A major reason for using a model is that I can generate interfaces for other languages should a need for that arise. The user-doc is Java only. It's never in my model. Yet, it affects how the documentation that I have in my model is represented and updated. To me, the model-doc is primary and the user-doc is redundant. So, no, removing the user-doc from the java code doesn't come close to solve my problem. I'm reopening this bug. As I said, this is working as designed and intended. I.e., it's not a bug and it won't be fixed because it's not broken. You already have another bugzilla requesting all the your Javadoc flexibilities you desire, so best you focus on that rather than on insisting that feature being a bug. Fair enough, but if this bug isn't fixed, then suppressing the user-doc won't work as expected. It would be very bad if suppressing generation of user-doc meant that all future updates of model-doc is disabled. You have control over the merge rules as well as the templates. Keep in mind too that the user-doc section need not contain any content and when it doesn't nothing shows up in the generated Javadoc so you have complete control over the visible content. |