[GRADLE-840] Internal regX error Created: 03/Mar/10 Updated: 04/Jan/13 Resolved: 24/Nov/10 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.8 |
Fix Version/s: | 0.9-rc-1 |
Type: | Bug | ||
Reporter: | Alexander Carman | Assignee: | Adam Murdoch |
Resolution: | Fixed | Votes: | 0 |
Description |
I have found if I try to execute a task with an option that is not recognized I get an internal regX error, here is the output to the console: C:\Development\webctrl\main\dev>packageDist -Pi4jinst=C:\Program Files\install4j 'packageDist' is not recognized as an internal or external command, C:\Development\webctrl\main\dev>gradle packageDist -Pi4jinst=C:\Program Files\in FAILURE: Build aborted because of an internal error.
BUILD FAILED Total time: 10.373 secs C:\Development\webctrl\main\dev> In this case the variable should have been written like this -Pi4jinst="C:\Program Files\install4j", this would have worked without issue. |
Comments |
Comment by Adam Murdoch [ 03/Mar/10 ] |
Fixed the internal error. It will now tell you that task 'Files\install4j' is not found. You will need to quote the -P argument if the value has spaces in it, ie "-Pi4jinst=c:\Program Files\install4j" |