ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Murdoch" <adammurdoch...@yahoo.com>
Subject RE: How to I prevent jar to include subdirectories
Date Mon, 14 Jan 2002 22:42:25 GMT

Hi,

If you want to just grab the files directly under the root directory and
ignore everything else, try something like:

<jar jarfile="somefile.jar" basedir="rootdir" includes="*"
filesonly="true"/>

Note: a single * in the includes, not ** (which is the default).


Adam

> -----Original Message-----
> From: Bernhard Lenz [mailto:BLenz@BerMark.com]
> Sent: Tuesday, 15 January 2002 8:13 AM
> To: ant-user@jakarta.apache.org
> Subject: How to I prevent jar to include subdirectories
>
>
> Is there any way to prevent jar to package subdirectories without
> explicitly
> naming each single subdirectory,
> e.g. package root directory / but not /usr, /bin, /export, etc.?
>
> Thanks for your help.
> Bernie
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>


--
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