ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob's Apollo" <rcart...@apollo.homeip.net>
Subject Re: manifest
Date Fri, 13 Jul 2001 12:06:04 GMT
Thanks will give it a try

----- Original Message ----- 
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-user@jakarta.apache.org>
Sent: Friday, July 13, 2001 1:07 AM
Subject: Re: manifest


> On Thu, 12 Jul 2001, Rob's Apollo <rcartier@apollo.homeip.net> wrote:
> 
> > I declare the manfest file in the jar syntax
> > but it complains that I need to use the manifest attribute and that
> > the manifest will be excluded from the jar. :(
> > 
> > <jar jarfile="${inijarDir}"
> >        basedir="${build}/classes/ini"
> >        manifest="${build}/classes/ini/META-INF/MANIFEST.MF"
> >   />
> 
> Ant complains because your manifest file is included twice, once via
> the explicit manifest attribute and once as part of the files that you
> are going to add.  Make that
> 
> <jar jarfile="${inijarDir}"
>        basedir="${build}/classes/ini"
>        manifest="${build}/classes/ini/META-INF/MANIFEST.MF"
>        excludes="META-INF/MANIFEST.MF"
>   />
> 
> and it should work.
> 
> Stefan


Mime
View raw message