quan-xie / goclipse

Automatically exported from code.google.com/p/goclipse
0 stars 0 forks source link

Patch for /trunk/goclipse-n/src/com/googlecode/goclipse/builder/GoBuilder.java #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Fix for issue 118.

Variables parent and folder come from toString() called on IContainer and 
IFolder, respectively.

toString() called on IContainer and IFolder give paths with forward slashes not 
backslashes even on Windows. But File.separator is a backslash on Windows. 
Solution is to use forward slashes only.

Original issue reported on code.google.com by cche...@gmail.com on 9 Jul 2012 at 10:52

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
You shouldn't use "\", it can cause problems in the future.

Rather use "File.separatorChar"

Original comment by eliteSc...@gmail.com on 16 Jul 2012 at 2:14

GoogleCodeExporter commented 9 years ago

Original comment by devonca...@gmail.com on 22 Nov 2012 at 4:41