How to import existing lists so that they can be used with BSL

  1 post   Feedicon  
Replies: 0 - Last Post: June 11, 2009 13:37
by: digitalrinaldo
showing 1 - 1 of 1
 
Posted: June 11, 2009 13:37 by digitalrinaldo
Suppose I have a list like:

Volume{id=6, version=2, name='home', isClone=false, isSnapshot=false, status=ENABLED=1, kind=REGULAR, numReplicas=1, createdWhen=2009-05-26T22:53:57Z}


and I want to be able to use it in a foreach loop. What are my options.

# Use extract to match and convert and then add, however regex match is a bit tricky with the above format
# Can't really use the list temapte since the list template doesn't allow name=value members
# Reformat into a java properties format and import into a namespace, not sure if you can avoid the write to a temporary file
Replies: 0 - Last Post: June 11, 2009 13:37
by: digitalrinaldo
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close