Thanks will give it a try

----- Original Message ----- 
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 1:07 AM
Subject: Re: manifest


> On Thu, 12 Jul 2001, Rob's Apollo <[EMAIL PROTECTED]> 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

Reply via email to