On 11/01/2011, at 7:29 AM, Sean Van Buggenum wrote: > Hi guys, > > 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
Properties set by an Ant task will end up in ant.properties. You might print out ant.properties.keySet() to see the set of available properties. -- Adam Murdoch Gradle Developer http://www.gradle.org CTO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz
