ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
Subject Re: Including Directory in ear File
Date Fri, 17 Dec 2004 09:08:26 GMT

ROW M, VISHAL wrote:
> Hi 
>  This is a very basic question. When creating an ear file I want to
> inculde files with path entry . How to do it.?
>  For example I want to create an ear called Sample.ear which will have
> files called cl1.jar , cl2.jar with their path entry as App-inf/Lib.

Use a zipfileset and specify a prefix - something like this:

<ear appxml="${appconf.dir}/application.xml" earfile="${ear.file}">
     <zipfileset dir="${}" prefix="lib" includes="*.jar"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message