abel533 / guns

Guns基于SpringBoot,致力于做更简洁的后台管理系统,完美整合springmvc + shiro + 分页插件PageHelper + 通用Mapper + beetl!Guns项目代码简洁,注释丰富,上手容易,同时Guns包含许多基础模块(用户管理,角色管理,部门管理,字典管理等10个模块),可以直接作为一个后台管理系统的脚手架.
Other
715 stars 360 forks source link

generateFile在mac环境下报异常 #3

Open leonardocsc opened 7 years ago

leonardocsc commented 7 years ago

generateFile在mac环境下报parentFile.exists()报空指针,经查未添加mac环境判断。添加如下代码即可:PlatformUtil.isLinux() || PlatformUtil.isMac()

liyang1987jay commented 7 years ago

确实没有考虑mac啊 都是D:\啥的 哈哈

abel533 commented 7 years ago

配置文件用相对路径。

2017-08-27 21:28 GMT+08:00 孤舟烟雨 notifications@github.com:

确实没有考虑mac啊 都是D:\啥的 哈哈

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abel533/guns/issues/3#issuecomment-325198378, or mute the thread https://github.com/notifications/unsubscribe-auth/ABtHlpJu257tULu2pHchbgRpCqhcipLJks5scW7lgaJpZM4O_8dU .

liyang1987jay commented 7 years ago

相对路径?

liyang1987jay commented 7 years ago

contextConfig.setProjectPath("D:\tmp\guns"); 这个地方怎么改呢

liyang1987jay commented 7 years ago

如果能结合generator 生成bean就好了