Re: parsing YAML with snakeyaml

2016-12-30 Thread Dimitar Vassilev
Hello all, for the record problem is solved. The loop above is properly passed. The problem is that we pass an array of commands that get overwritten each time through the loop. Also the install command we're using requires explicit specification of the main directory where the software is installe

Re: parsing YAML with snakeyaml

2016-12-28 Thread Dimitar Vassilev
2016-12-22 0:42 GMT+02:00 John Wagenleitner : > On Wed, Dec 21, 2016 at 11:58 AM, Dimitar Vassilev < > dimitar.vassi...@gmail.com> wrote: > >> Good evening/morning/day, >> Quick one how can I parse a YAML file with groovy and snakeyaml >> >> I have a nested hash YAML like: >> >> pkgcolls: >> pkg

Re: parsing YAML with snakeyaml

2016-12-21 Thread John Wagenleitner
On Wed, Dec 21, 2016 at 11:58 AM, Dimitar Vassilev < dimitar.vassi...@gmail.com> wrote: > Good evening/morning/day, > Quick one how can I parse a YAML file with groovy and snakeyaml > > I have a nested hash YAML like: > > pkgcolls: > pkgcol1: > software:Foo > version:baz > pkgcol

parsing YAML with snakeyaml

2016-12-21 Thread Dimitar Vassilev
Good evening/morning/day, Quick one how can I parse a YAML file with groovy and snakeyaml I have a nested hash YAML like: pkgcolls: pkgcol1: software:Foo version:baz pkgcol2: software:baz version:Foo In Ruby I can do something like in the irb/file require 'yaml' t