You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Cédric Champeau (JIRA)" <ji...@apache.org> on 2015/08/15 08:59:45 UTC
[jira] [Commented] (GROOVY-7548) @Grab should provide a way to set
system properties
[ https://issues.apache.org/jira/browse/GROOVY-7548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14698151#comment-14698151 ]
Cédric Champeau commented on GROOVY-7548:
-----------------------------------------
Before we merge this, it might be worth asking on the ML security experts what implications this can have. I suspect it's not more harm than the script itself, but who knows.
> @Grab should provide a way to set system properties
> ---------------------------------------------------
>
> Key: GROOVY-7548
> URL: https://issues.apache.org/jira/browse/GROOVY-7548
> Project: Groovy
> Issue Type: Bug
> Reporter: Paul King
>
> @Grab provides no mechanism for setting system properties which might be required for downloading dependencies via SSL or a proxy. With an increasing number of services moving to the cloud, this greatly reduces the usefulness of scripts to enterprise organizations. Such a mechanism could easily be added by adding an extra attribute, e.g. {{systemProperties}} to @GrabConfig and supplying a constant list of property name, property value pairs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)