You are asking for JVM version, not Ant's. You need 'ant.version' for that.

$ jruby -rant -e 'p ant.properties["ant.version"]'
"Apache Ant version 1.8.1 compiled on April 30 2010"

On Jun 17, 2011, at 3:02 PM, George wrote:

> I'm trying to use the ant integration, but the version appears to be
> Ant 1.6. My ANT_HOME points to 1.8.2, yet whenever I print
> 
> puts "Using ant version: " + ant.properties['ant.java.version']
> 
> It says 1.6. I also can't do an ant import using a URL, which is new
> to ant 1.8, so it appears to really be 1.6. I don't even have 1.6 on
> my system anywhere, the earliest version I have is 1.7.1. What do I
> need to change?
> 
> Thanks,
> George
> 
> ---------------------------------------------------------------------
> 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