• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MANIFEST.MF file in archive exceeds the specification

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am getting the following error in my EAR module

"MANIFEST.MF file in archive exceeds the specification limit of 72 bytes"

I am using WSAD-IE 5.1

Can anyone help pls?
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe that means you have lines in the file that are more than 72 characters long. The specs for JAR file manifests limit lines to 72 characters or less.

You can work around that by one of 2 ways:

1. Read up on how to manage longer entries in JAR manifest files as documented on Sun's website.

2. Use Ant to build the EAR and pass the info in as EAR task parameters. Ant will manage the text-continuation for you.
 
Ratan Kumar
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Thanks for your reply

But i have figured out the solution.Its like what you have suggested too..
modifying the manifest.mf file


Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic