You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Dees, Ian (MED, Adecco)" <Ia...@med.ge.com> on 2003/06/26 21:33:43 UTC

Quick exclude question

In a jar directive, I have a bunch of exclude tags. One of them being:

<exclude name=".dependency-info"/>

When it gets through the jar, this directory is still there and all of
it's subdirectories. I don't want that.

Hints?

Thanks,
Ian

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


Re: Quick exclude question

Posted by Peter Smith <ps...@infonow.com>.
Hi Ian,

Try ...

<exclude name=".dependency-info/**"/>

It works for me ... Peter

-- 
Peter Smith
Software Engineer
InfoNow Corporation

> From: "Dees, Ian (MED, Adecco)" <Ia...@med.ge.com>
> Reply-To: "Ant Users List" <us...@ant.apache.org>
> Date: Thu, 26 Jun 2003 14:33:43 -0500
> To: "Ant User (E-mail)" <us...@ant.apache.org>
> Subject: Quick exclude question
> 
> In a jar directive, I have a bunch of exclude tags. One of them being:
> 
> <exclude name=".dependency-info"/>
> 
> When it gets through the jar, this directory is still there and all of
> it's subdirectories. I don't want that.
> 
> Hints?
> 
> Thanks,
> Ian
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


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