pengzezhou / diy-rapid-generator Goto Github PK
View Code? Open in Web Editor NEWThis project forked from 535395302/diy-rapid-generator
基于[rapid-generator-3.9.1.20100710],自用的模板生成代码。
This project forked from 535395302/diy-rapid-generator
基于[rapid-generator-3.9.1.20100710],自用的模板生成代码。
* 使用前需要配置: ------------------- |generator.xml | 1) basepackage --> 必须,所有生成java文件的基础包名。引用方式:${basepackage} | 2) namespace --> 可选,若不填,就不要引用。引用方式:${namespace} | | 3) outRoot --> 必须,输出目录,因为MacOS和WindowOS目录表示方式不同,自己多试试。 | Mac OS : <entry key="outRoot">generator-class-output</entry> | 结果:在项目根目录下生成generator-class-output文件夹,包含生成的文件 | Window OS:原项目是<entry key="outRoot">.\generator-output</entry>。 | 结果:我没试过.... | | 4) 数据库配置 | jdbc.username ... | jdbc.password ... | jdbc.url ... | jdbc.driver ... ------------------- |Main.main(): | 根据你的调用方式,填入参数,选择调用的方法 | | 1)g.generateByClass(Class<?> clazz,String templateDirByClass); | | 2)g.generateByTable(String tableName,String templateDirByTable); * 其他资料: ------------------- | 1)Freemarker操作字符串:http://www.blogjava.net/alinglau36/archive/2011/02/23/344970.html | 2)Freemarker详解:http://www.blogjava.net/176142998/archive/2010/07/03/325159.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.