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="${lib.app.dir}" prefix="lib" includes="*.jar"/>
</ear>


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



Reply via email to