Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.4
-
Fix Version/s: 1.0.4
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
Description
If the script file is "Events.groovy", you end up getting an "events" command-line task. This probably isn't intentional, so we should instead use "_Events.groovy" as the file name.
Attached is a patch which will try to use "_Events.groovy", and if it doesn't exist, will use "Events.groovy" and display a warning message to the screen. My suggestion would be to use this, and in 1.1, do away with "Events.groovy" in favor of "_Events.groovy" altogether.
Since this is a breaking change we'll put it into 1.1