On Tue, 24 Jan 2006, Keith Hatton <[EMAIL PROTECTED]> wrote:

> I skimmed the section on mappers and hoped that the following (this
> is in a <macrodef>) would work:
> 
> <war destfile="..." webxml="...">
>     ...
>     <webinf dir="${descriptors}/@{appserver}/web">
>         <mapper type="glob" from="console-*.xm*" to="*.xm*"/>
>         <include name="console-*.xm*"/>
>     </webinf>
> </war>

Neither <zip> (or its child <war>) nor <zipfileset> (of which <webinf>
is a variant) support mappers.  In order to achieve what you want to
do, you must create a temporary copy of your files using a mapper and
zip up that copy with <webinf>.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to