Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个东西 在mac 上使用有问题。 #3

Closed
xiaoheiai4719 opened this issue Jun 30, 2017 · 6 comments
Closed

这个东西 在mac 上使用有问题。 #3

xiaoheiai4719 opened this issue Jun 30, 2017 · 6 comments

Comments

@xiaoheiai4719
Copy link

希望大哥 能把兼容做一下。service 生成的是空的

@lihengming
Copy link
Owner

@xiaoheiai4719 我没有Mac:sob: 没法测试,所以只考虑了Windows环境,我估计是分隔符的问题,你可以把路径中的\换成/或使用 File.separator看看。

@lihengming
Copy link
Owner

@xiaoheiai4719 如果是System.getProperty("user.dir")的原因,可以将PROJECT_PATH写死,你测试完将结果告诉我。

@xiaoheiai4719
Copy link
Author

大哥 给我 你微信?

@lihengming
Copy link
Owner

@xiaoheiai4719 89921218

@jaxonly
Copy link

jaxonly commented Jun 30, 2017

提PR更方便吧

@lihengming
Copy link
Owner

lihengming commented Jun 30, 2017

将代码生成器的文件分隔符从\换成/了,兼容Linux & MacOS,不影响Windows下的使用(详情见Stackoverflow Question),我觉得使用File.separator拼接字符串太丑了,就没用,其实最好用这个。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants