ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Jar task
Date Fri, 20 Jul 2001 14:28:01 GMT
On Fri, 20 Jul 2001, Peter FLYNN <Peter.FLYNN@syntegra.com> wrote:

> 	<delete dir="${src}/META-INF"/> 
> 	<mkdir  dir="${src}/META-INF"/> 
> 	<copy file="${dist}/server.mf"
> tofile="${src}/META-INF/MANIFEST.mf"/>
>         	<jar jarfile="${dist}/server.jar" update="true"
> compress="false" basedir="${src}">
>             	<include name="META-INF/MANIFEST.mf"/>
> 	</jar>
> 	<delete dir="${src}/META-INF"/> 

Should better be something like

<jar jarfile="${dist}/server.jar" update="true" compress="false" 
     basedir="${src}" mainfest="${dist}/server.mf" />

without any copying and deleting at all.

Stefan

Mime
View raw message