James, I'm not sure why you would have a problem with the sys props... but I thought you might want to check out mr haki's blog on using the ConfigSlurper.
http://mrhaki.blogspot.com/2009/11/gradle-goodness-using-properties-for.html Ken Sipe | [email protected] | blog: http://kensipe.blogspot.com On Jun 23, 2011, at 9:04 AM, James Carr wrote: > Hi All, > > I want to parameterize our tests to run against different environments > based on properties passed from the commandline. > > I tried doing the following: -Denvironment=dev > > But I can't seem to access this within a test via the > System.getProperties() map. Any ideas? > > Thanks, > James > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
