On page 80 of Erik Hatcher & Steve Loughran's "Java Development with
Ant" is given a technique for "Obtaining a string representation of a
path".

Following this technique, using a version of ant built a few months ago
(>1.5.1), I find this technique not to work.

        <property name="global.class.path" refid="globallibs"/>
        <echo message="global.class.path=${global.class.path}"/>

produces this output:
global.class.path=org.apache.tools.ant.types.FileSet@6e22f7

Not exactly what I was looking for.  I should mention that this path is
created in a different buildfile, and passed to the one containing this
code via the inheritrefs mechanism.

Has anyone previously encountered this?  Is it a known bug?  

-----------------------------------------------
Steve Cohen
Sr. Software Engineer
Sportvision Inc.
[EMAIL PROTECTED]
http://www.sportvision.com

Please note: As a result of the merger of 
Ignite Sports and Sportvision, my email address 
has changed to [EMAIL PROTECTED]

Reply via email to