> -----Original Message----- > From: Brill Pappin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 10:41 PM > To: Maven Users List > Subject: Re: RFE for the war plugin > > > > Michal Maczka wrote: >
> > > Have you tried to do it with the war? Coulpe of times. With different result sas some servlet contanier refused to work with them. > Did you even read that spec? Obviously not. > The classloader loads the jar and the respective versioning > information > not the webapp container that loads the war! Right classes and files in WEB-INF/classes META-INF are not loaded by any classloader. Gradma loads them. > Remember that in this day and age all list mail gets archived so what > you just said above will be preserved forever. > Here is what spec says: "Web containers are recommended to have a mechanism by which web applications can learn what JAR files containing resources and code are available, and for making them available to the application. Containers should provide a convenient procedure for editing and configuring library files or extensions. It is recommended that Application developers provide a META-INF/ MANIFEST.MF entry in the WAR file listing extensions, if any, needed by the WAR. The format of the manifest entry should follow standard JAR manifest format. In expressing dependencies on extensions installed on the web container, the manifest entry should follow the specification for standard extensions defined at http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html. Web Containers should be able to recognize declared dependencies expressed in the manifest entry of any of the library JARs under the WEB-INF/lib entry in a WAR. If a web container is not able to satisfy the dependencies declared in this manner, it should reject the application with an informative error message." So realy the spec makes no difference between any of the manifest files which are provided inside wars and clearly defines where they can be placed. But for strange reason it says: "It is recommended that Application developers provide a META-INF/MANIFEST.MF entry in the WAR file listing extensions". Michal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
