generateFile在mac环境下报异常
leonardocsc opened this issue · 5 comments
leonardocsc commented
generateFile在mac环境下报parentFile.exists()报空指针,经查未添加mac环境判断。添加如下代码即可:PlatformUtil.isLinux() || PlatformUtil.isMac()
liyang1987jay commented
确实没有考虑mac啊 都是D:\啥的 哈哈
abel533 commented
配置文件用相对路径。
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
<#3 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABtHlpJu257tULu2pHchbgRpCqhcipLJks5scW7lgaJpZM4O_8dU>
.
liyang1987jay commented
相对路径?
liyang1987jay commented
contextConfig.setProjectPath("D:\tmp\guns"); 这个地方怎么改呢
liyang1987jay commented
如果能结合generator 生成bean就好了