You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Petar Tahchiev <pa...@gmail.com> on 2005/11/01 13:51:03 UTC

Re: Using path elements to use jars

On 31/10/05, Telang, Nandan <te...@amazon.com> wrote:
>
> That doesn't seem to work for a comma-separated list of files...
>
> -Nandan
>
> -----Original Message-----
> From: jh@web.de [mailto:jh@web.de]
> Sent: Saturday, October 29, 2005 12:17 AM
> To: Ant Users List; Telang, Nandan
> Subject: RE: Using path elements to use jars
>
> On Fri, 28 Oct 2005 17:48:10 -0700, Telang, Nandan wrote:
>
> >However the classpath has all absolute paths (starting with /) What
> >should the value of dir be in <fileset dir= > in the zip task ?
> >If I give it as / all files are ignored
>
> Use the form <fileset file=... />
>
> Ciao, Jürgen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
You can try to use the <propertyregex> from AntContrib ant get the desired
path, or simply replace the / symbol with anything you want.
--
Regards, Petar!