use of com.sun.tools.corba.se.idl.Generator in project paascloud-master by paascloud.
the class MybatisGenerator method main.
/**
* The entry point of application.
*
* @param args the input arguments
*
* @throws Exception the exception
*/
public static void main(String[] args) throws Exception {
List<String> warnings = new ArrayList<>();
ConfigurationParser cp = new ConfigurationParser(warnings);
Configuration config = cp.parseConfiguration(Generator.class.getResourceAsStream("/generator/generatorConfig.xml"));
DefaultShellCallback callback = new DefaultShellCallback(true);
MyBatisGenerator myBatisGenerator = new MyBatisGenerator(config, callback, warnings);
myBatisGenerator.generate(null);
}
Aggregations