All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.haoxuer.discover.web.App Maven / Gradle / Ivy

There is a newer version: 3.3.18-20230117
Show newest version
package com.haoxuer.discover.web;

import com.haoxuer.discover.web.data.entity.WebConfig;
import com.haoxuer.discover.web.data.entity.WebTheme;
import com.nbsaas.codemake.CodeMake;
import com.nbsaas.codemake.template.hibernate.TemplateHibernateDir;
import com.nbsaas.codemake.templates.adminlte.TemplateAdminLTE;
import com.nbsaas.codemake.CodeMake;
import com.nbsaas.codemake.template.hibernateSimple.TemplateHibernateSimpleDir;

import java.io.File;

/**
 * Hello world!
 */
public class App {
  public static void main(String[] args) {
    File file = new File("E:\\mvnspace\\xjob\\web\\src\\main\\webapp\\WEB-INF\\ftl\\admin");
    CodeMake make = new CodeMake(TemplateAdminLTE.class, TemplateHibernateSimpleDir.class);
    make.setView(file);
    make.setDao(false);
    make.setService(false);
    make.setAction(false);
    make.setView(false);
    make.setRest(true);
    make.setApi(true);

    // UserOauthToken.
    make.makes(WebConfig.class);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy