luozongle01 opened a new pull request, #2206: URL: https://github.com/apache/zookeeper/pull/2206
Generate comments from zookeeper.jute into code: https://issues.apache.org/jira/browse/ZOOKEEPER-4880 ## Brief Description Support generating end-of-line comments and class comments in `zookeeper.jute` into code. ## How to test this change 1. By comparing the `zookeeper-jute/target/generated-sources/java/org/apache/zookeeper` and `zookeeper-client/zookeeper-client-c/generated` directories before and after the modification, there are no other differences except the comments. <img width="1440" alt="image" src="https://github.com/user-attachments/assets/9bd4b5da-f969-4cbe-b77c-d8b16385d4ec"> <img width="1440" alt="image" src="https://github.com/user-attachments/assets/eb4c764d-d1b7-4c41-97ee-27221bf13229"> <br> <br> 2. When the test class has multiple lines of comments, the comments can be generated normally. <img width="1440" alt="image" src="https://github.com/user-attachments/assets/a9decd1d-9717-4eaa-8c9a-85762899469c"> <br> <br> 3. Testing vector type properties can generate comments normally. <img width="1386" alt="image" src="https://github.com/user-attachments/assets/89f7db00-252f-4f0c-85cd-68d6e87d2c77"> <br> <br> 4. Testing class type properties can generate comments normally <img width="1407" alt="image" src="https://github.com/user-attachments/assets/0d094349-f47b-4425-9426-378156599d85"> <br> <br> 5. Testing comments that do not meet expectations will not generate comments and will not affect the generation of normal code. <img width="1401" alt="image" src="https://github.com/user-attachments/assets/f5f47605-9faa-4a89-ac80-2c7e3f1e1535"> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@zookeeper.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org