You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Steve Pruitt <SP...@exstream.com> on 2006/01/13 19:02:31 UTC

File prefix when building a jar

I cannot find a way to configure a task building a jar to include files
with a directory prefix.  The war tag allows webinf tags which have a
prefix attribute.  But, I can't something that works inside the jar tag.


Can someone provide a small sample?


-S

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


Re: File prefix when building a jar

Posted by Clifton Craig <cc...@gbg.com>.
On Friday 13 January 2006 1:02 pm, Steve Pruitt wrote:
> I cannot find a way to configure a task building a jar to include files
> with a directory prefix.  The war tag allows webinf tags which have a
> prefix attribute.  But, I can't something that works inside the jar tag.
>
>
> Can someone provide a small sample?
>
>
> -S
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

Look at <zipfileset/> which is made specifically for this purpose.
-- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
ccc@icsaward.com
ccraig@gbg.com

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