Thanks. Time to upgrade, I guess.

I'll also update the Struts docs to say that Ant 1.5 or later is required.

--
Martin Cooper


> -----Original Message-----
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 10:19 AM
> To: Struts Developers List
> Subject: Re: Invalid Struts manifest file?
> 
> 
> It's an Ant 1.4.1 bug, fixed in Ant 1.5.  Multiple 
> "Class-Path" headers
> are explicitly allowed in the specs for MANIFEST.MF files at 
> least as far
> back as 1.2.2:
> 
>   http://java.sun.com/products/jdk/1.2/docs/guide/extensions/spec.html
> 
> and go down to the "Bundled Extensions" section.
> 
> 
> Craig
> 
> 
> On Tue, 10 Sep 2002, Antoni Reus wrote:
> 
> > Date: Tue, 10 Sep 2002 19:08:56 +0200
> > From: Antoni Reus <[EMAIL PROTECTED]>
> > Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> > To: Struts Developers List <[EMAIL PROTECTED]>
> > Subject: Re: Invalid Struts manifest file?
> >
> > El Mar 10 Sep 2002 05:54, Martin Cooper escribió:
> > > When I run 'ant compile.library', I am getting the 
> following errors:
> > >
> > > ----------
> > > compile.library:
> > >     [style] Transforming into 
> C:\src\jakarta\jakarta-struts\target\library
> > >       [jar] Manifest is invalid: The attribute 
> "Class-Path" may not occur
> > > more than once in the same section
> > >
> > > BUILD FAILED
> > >
> > > C:\src\jakarta\jakarta-struts\build.xml:343: Invalid Manifest:
> > > C:\src\jakarta\jakarta-struts\conf\share\MANIFEST.MF
> > > ----------
> > >
> > > This looks like a consequence of changes made to the 
> manifest file a week
> > > or so ago. What I'm unclear about is whether those 
> changes were invalid or
> > > I'm doing something wrong.
> > >
> > > I'm using Ant 1.4.1 and Sun JDK 1.4.0_01 on Windows.
> > >
> > > Ideas, anyone?
> >
> > ANT 1.4.1 doesn't support multiple Class-Path headers in manifest
> > (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4683),
> > It's fixed in 1.5
> >
> >
> > --
> > To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 


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

Reply via email to