请问一下代码生成器的问题
依照https://github.com/enilu/nutzwk-code-generator
1. 执行wk-code模块里的Generator类,没有生成代码,log结果如下
[DEBUG] 12:26:28.839 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=80 time use 116ms
[DEBUG] 12:26:28.853 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( code/code.json ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 12:26:28.854 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [code/code.json]
[DEBUG] 12:26:28.875 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 3 bean define from path=[code/code.json] --> [conf, dao, dataSource]
[INFO ] 12:26:28.879 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) - NutIoc init begin ...
[INFO ] 12:26:28.881 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:121) - ... NutIoc init complete
[DEBUG] 12:26:29.161 cn.wizzer.commons.code.EntityDescLoader.loadTables(EntityDescLoader.java:39) - output dir = D:\Code\github\wk-my\target\classes\modules
[INFO ] 12:26:29.172 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:261) - org.nutz.ioc.impl.NutIoc@1879034789 is closing. startup date [17-11-01 12:26:28.879]
[INFO ] 12:26:29.176 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:274) - org.nutz.ioc.impl.NutIoc@1879034789 is deposed. startup date [17-11-01 12:26:28.879]
[DEBUG] 12:26:29.176 cn.wizzer.commons.code.Generator.main(Generator.java:251) - done!
2.若安装Intellij 插件执行,只在数据库中生成对应的表。
3.中途出现过
folder or file like '^(.+[.])(js|json)$' no found in /code/code.json
能解释一下,这个配置的用处吗