[GRADLE-1823] Running gradlew wrapper on windows puts windows backslashes in unix gradlew file Created: 10/Oct/11 Updated: 04/Jan/13 Resolved: 06/Feb/12 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | None |
| Fix Version/s: | 1.0-milestone-8 |
| Type: | Bug | ||
| Reporter: | Paul King | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 4 |
| Comments |
| Comment by Paul King [ 10/Oct/11 ] |
|
The created 'gradlew' unix shell script has a line which looks like this: CLASSPATH=$APP_HOME/gradle\wrapper\gradle-wrapper.jar but should look like this: CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar We could fix this by running 'gradlew wrapper' on a unix machine but the particular customer I am currently working with has win7 machines for development and a random mix of unix and windows machines for CI slaves. So it would be good to use unix file separators in script files destined for unix. |
| Comment by Mauro Molinari [ 06/Feb/12 ] |
|
Encountered the same problem today. |