Code generation method and device based on maven plug-in and freemarker template
A code generation, java-like technology, applied in the field of code generation based on maven plug-ins and freemarker templates, can solve problems such as operating environment restrictions, high script writing requirements, and not a solution, so as to improve production efficiency, improve versatility and Ease of use effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] The application scenarios of the present invention are as figure 1As shown, a code generation method and device based on the maven plug-in and freemarker template, input the relevant parameter rules of the code to be generated (basic package name, module name, and hbm.xml file name of the generated code), and edit the code template , so that the generated code meets the development requirements (such as a certain type of class using the same parent class). After preparing these parameters and templates, call the maven plug-in command to execute the parameters and template parsing process, and generate codes to the specified directory, then obtain the codes in the specified directory, move to the actual code environment, and modify the code Perform runtime inspections and custom modifications.
[0034] The main steps of the present invention are as figure 2 shown, including the following steps:
[0035] 1. Data preparation stage: mainly prepare the .hbm.xml file in h...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com