Hi ,

I did try iterating through the whole ant.properties map and printing it out.
The property was not present.
However, I wonder if it is because I was running it during
'configuration phase' and not execution?
Would that make a difference to the lifetime of a stored property?

In anycase, that this is not solved for me is more of an annoyance...
Now that I realize (thanks to your suggestion) that I can simply call
svn directly (using the exec command), it is probably the better
solution.

thanks again!

sean



On 12 January 2011 13:08, TheKaptain <[email protected]> wrote:
>
> This(simplified) configuration should get you what you need. The results are
> storied in ant.properties and by default are all prefixed with svn.info.
>
> ant.taskdef(resource: 'org/tigris/subversion/svnant/svnantlib.xml') {
>    classpath {
>        fileset(dir: "${depends_svnant}", includes: 'lib/**/*.jar')
>    }
> }
>
> ant.svn(javahl: 'false', svnkit: 'false') {
>    info(target: targetDir,  verbose: 'true')
> }
> println ant.properties.findAll{key, value->key.startsWith('svn.')}
>
> --
> View this message in context: 
> http://gradle.1045684.n5.nabble.com/can-t-find-or-extract-properties-from-svnant-info-function-in-gradle-tp3335388p3337616.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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


Reply via email to