Alexandre Poitras wrote: > > I think you can espace new line by using the '\' character like in > properties files. I have never tested for new lines but it works for > quotes so it should work. > > For example : > > a string with a continuation line \ > continuation line > > On 12/6/05, Arnaud Bailly <[EMAIL PROTECTED]> wrote: >> Hi, >> I had a very strange problem which I don't know the ultimate >> responsibilit: some bug or feature of maven or one of its component. >> In one project, I kept having exceptions NoClassDefFoundError while >> trying to load classes from the generated jar file. After some >> investigations, I found this was caused by the incorrect format of the >> MANIFEST.MF file, which itself was caused by the <description> tag in >> the pom containing newline characters ! This tag is copied verbatim as >> the Specification-Title attribute of the manifest, so I think newlines >> should be escaped. >> >> >> -- >> Arnaud Bailly - Ingénieur de Recherche >> NORSYS >> 1, rue de la Cense des Raines >> ZAC du Moulin >> 59710 ENNEVELIN >> Tel : (33) 3 28 76 56 76 >> Fax : (33) 3 28 76 57 00 >> Web : http://www.norsys.fr >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- > Alexandre Poitras > Québec, Canada > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Ufortunately the <description> element in the pom also appears in the generated site. That doesn't look very good with backslashes in it :(
-- View this message in context: http://www.nabble.com/-m2--Incorrect-manifest-generation-in-jar-file-tf686887.html#a6013364 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
