Hi guys, just started up with gradle today, and attempting to migrate my giant ant script to groovy gradle.
Would go ok, except I am stuck on one major problem. I am using (for lack of a better solution) svnant task 'info' to get revision information. http://subclipse.tigris.org/svnant/svn.html#info As one probably knows, the info task allows you to specify a property prefix, and the info task fills information in various properties prefixed by that string. I have provided a prefix: "myPrefix" yet, the damn svn info task adds an unwanted '.' to my prefix. It then looks like this: myPrefix. I think because of this prefix I am unable to retrieve the information. I know some properties are being populated, because when I run gradle in debug, i.e., gradle -d I see this listed in the logging output. I could of course use the syntax: properties['myPrefix.rev'] except, it doesn't seem to be putting it in this global map..... and I can't find which map it IS putting it into. I've tried various: Gradle.properties ant.properties ant.project.properties Project.properties AntBuilder.properties i've iterated through all of these in the search of my lost properties .... but ..... no luck. Can anyone help me? How can I reference a key with the '.' character in it? How can I know where ant or gradle is putting these properties? I can't find any list of canditate maps in the gradle documentation! thanks in advance for any reply! sean On 10 January 2011 21:59, <[email protected]> wrote: > Hello [email protected] > > You have successfully subscribed to [email protected] using this > email address. > > Thanks, > > Codehaus Support --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
