Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to override List/Set/Map property #3

Open
szpak opened this issue Oct 6, 2014 · 4 comments
Open

Ability to override List/Set/Map property #3

szpak opened this issue Oct 6, 2014 · 4 comments
Labels

Comments

@szpak
Copy link
Contributor

@szpak szpak commented Oct 6, 2014

It would be nice to be able to override List/Set/Map properties.

@bmuschko
Copy link
Contributor

@bmuschko bmuschko commented Oct 9, 2014

@szpak Would you mind providing test cases for this as well?

@szpak
Copy link
Contributor Author

@szpak szpak commented Oct 17, 2014

What encoding format did you think about? Groovy like?

-Doverride.extension.myList="['foo','bar']"
-Doverride.extension.myMap="[foo:'bar']"
@bmuschko
Copy link
Contributor

@bmuschko bmuschko commented Oct 20, 2014

I'd say yes. The square brackets should probably be optional and the single quotes omitted. The tricky part is to convert the values to the correct type - especially if the variable definition is declared with def.

@jmcgarr
Copy link

@jmcgarr jmcgarr commented Apr 18, 2017

We are doing some housecleaning and we consider this plugin "feature complete". Since this is an enhancement, we will accept PR's but won't be able to prioritize this enhancement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.