ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Lyon" <m...@stargus.com>
Subject RE: Missing top level dir in jar file
Date Thu, 06 Dec 2001 16:40:23 GMT
Hi,

A quick question on recursion. Just out of curiosity, is there any
difference between "**" and "**/*" in Pattern Sets? I always observe the
latter convention for recursive pattern set and file set matching in my
build files.

Matt
-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Thursday, December 06, 2001 11:36 AM
To: ant-user@jakarta.apache.org
Subject: Re: Missing top level dir in jar file


On Thu, 6 Dec 2001, Roger Marlow <roger_marlow@yahoo.com> wrote:

>> > Try:
>> > 
>> >   <jar jarfile="ajar.jar" basedir="." includes="base"/>
>> 
>> this would only include the directory base and nothing else, it
>> should probably be
>> 
>>   <jar jarfile="ajar.jar" basedir="." includes="base/**"/>
> 
> Unfortunately that just looks for the files under base.

and recursively below that.  ** is recursive.

Stefan

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