Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Grape
-
Labels:None
-
Number of attachments :
Description
add a "distribute" command to grape CLI that jars up the script with all dependencies
As per the discussion on the mailing list: http://groovy.329449.n5.nabble.com/Packaging-groovy-applications-for-distribution-td3277888.html
Thinking of something like this from the command line:
grape.bat -package -o MyJar.jar MyScript.groovy
And the output is a full JAR file with a MANIFEST that includes all the references and starts MyScript?
I definitely like the idea : I have often deployed scripts that used Grapes on servers which had no access to private repositories of artifacts. Therefore, I had to copy dependencies manually on .ivy directory.