helloShen / leetcode-helper

Save your time from building scaffolding for each leetcode problem.
345 stars 43 forks source link

请问 win 下有成功使用的经验吗? win下使用失败 #1

Closed nickChenyx closed 5 years ago

nickChenyx commented 5 years ago

错误信息

ld@DESKTOP-0KJAHSB /d/personal/leetcode-helper-v0.5                                                                 
λ ant                                                                                                                
Buildfile: D:\personal\leetcode-helper-v0.5\build.xml                                                                

generate:                                                                                                            
     [echo] problem.name = two_sum                                                                                   
     [java] 11:26:12:486 - [leetcode-hleper] fill out template --> /template/Solution.vm                             
     [java] java.nio.file.InvalidPathException: Trailing char < > at index 67: D:\personal\leetcode-helper-v0.5/src/m
ain/java/com/leetcode/two_sum                                                                                        
nickChenyx commented 5 years ago

看完项目才发现要用 release 里的才行,0.4 版本直接 ant 提示 Target generate not exists...

helloShen commented 5 years ago

估计是路径"/"和反斜杠"\"的问题。我想办法兼容一下。

helloShen commented 5 years ago

正在解决ing

nickChenyx commented 5 years ago

我已经跑起来了,需要我pr么,还是你自己修一下

helloShen commented 5 years ago

我换个separator就可以了。谢谢issue

nickChenyx commented 5 years ago

好的,更新好了你就关掉这个 issue 吧。

helloShen commented 5 years ago

v0.51 fixed the anti-slash problem under Windows.