ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: how to print out paths
Date Thu, 15 Mar 2001 16:10:01 GMT

<property name="a.path" refid="a.path"/>
<echo message="this is my path: ${a.path}"/>

-- 
 St├ęphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 



> -----Original Message-----
> From: Martin Monsorno [mailto:monsorno@exolution.de]
> Sent: Thursday, March 15, 2001 4:59 PM
> To: ant user mailing list
> Subject: how to print out paths
> 
> 
> Is it possible to get a path structure as a string?
> 
> What I really want to do is the following:
> I build up the classpath for compiling in my build.xml file.
> Then I like to use this classpath in a shell script with
> which I like to start my application, but both echo or
> filter tasks do not have nested path elements.
> 
> As I think, the most convenient way to achieve this would
> be if you can access a path as a property value, such that
> 
> <path id="a.path">
>    ...
> </path>
> 
> ...
> 
> <echo message="${a.path} />
> 
> would print the whole path.
> 
> Does somebody know how to achieve this?
> 
> -- 
> Martin Monsorno
> mailto:Martin.Monsorno@exolution.de
> 

Mime
View raw message