[GRADLE-840] Internal regX error Created: 03/Mar/10 Updated: 04/Jan/13 Resolved: 24/Nov/10
|Reporter:||Alexander Carman||Assignee:||Adam Murdoch|
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.
Total time: 10.373 secs
In this case the variable should have been written like this -Pi4jinst="C:\Program Files\install4j", this would have worked without issue.
|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"