ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Creating a FileSet from just a filename.
Date Wed, 12 Dec 2001 20:36:32 GMT
On Thu, 13 Dec 2001 02:57, Robert Parlett wrote:
> Hello
>
> My question is whether there is a way to create a FileSet
> with a single element, given the filename only.
>
> For example, if I have a property defined
>
>   <property name="my-jar" value="/opt/dir/my.jar" />
>
> can I create a FileSet equivalent to
>
>   <fileset dir="/opt/dir">
>      <include name="my.jar"/>
>   </fileset>
>
> Thanks in advance.

Not yet but it is a requested feature. Feel free to send us a patch to enable 
it ;)

-- 
Cheers,

Pete

-----------------------------------------------------
First, we shape our tools, thereafter, they shape us.
-----------------------------------------------------


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


Mime
View raw message