ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: How to echo the classpathref?
Date Wed, 09 Jul 2008 07:57:16 GMT
 


-----Original Message-----
From: Hans Schwaebli [mailto:hans_schwaebli@yahoo.com] 
Sent: Wednesday, July 09, 2008 9:43 AM
To: Ant Users List
Subject: How to echo the classpathref?

/*
For debugging purpose I want to echo the actual classpathref. But it does not work by using
something like this:

    <path id="all.you.can.need.class.path">
        <fileset dir="${eclipse-home}/plugins">
            <include name="**/*.jar"/>
        </fileset>
    </path>
    
    <target name="echo">
        <echo>${all.you.can.need.class.path}</echo>
    </target>

It prints nothing although there are jars in this dir.

Any idea how to echo it?
*/


<echo>${toString:all.you.can.need.class.path}</echo>

the ${toString: ...} has all files in a comma separated list


Regards, Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message