You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Paul Libbrecht <pa...@activemath.org> on 2003/07/31 00:47:57 UTC

jar:jar to use shortDescription for Specification-Title ?

Hi,

Apologize if someone mentionned this already earlier.

I got surprised today that my jar (in b10) came out with an invalid 
manifest... the trouble was that my project.xml's description element 
was multiline...
Clearly, ant should still support multiline manifest attributes (and 
reformat them probably)...

In the meantime, though, I found more sensible to use:
         <ant:attribute name="Specification-Title" value="${pom.name}"/>
instead of
         <ant:attribute name="Specification-Title"
		value="${pom.shortDescription}"/>
(at line 54 of maven-jar-plugin-1.0/plugin.jelly)

Aside of the fact that it removes my bug, does it not make more sense to 
use the name of the project for a title than the short-description ?

Thanks.

Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: jar to use shortDescription for Specification-Title ?

Posted by Paul Libbrecht <pa...@activemath.org>.
Michal Maczka wrote:
> Short description should be exactly one line long. 
> 
> For writing essays better use description tag...


Good to know... where can I read this ? Is it not specifiable in the 
schema ?

Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: jar to use shortDescription for Specification-Title ?

Posted by Michal Maczka <mm...@interia.pl>.
Short description should be exactly one line long. 

For writing essays better use description tag...

Michal

> -----Original Message-----
> From: Paul Libbrecht [mailto:paul@activemath.org]
> Sent: Thursday, July 31, 2003 12:48 AM
> To: Maven User List
> Subject: jar:jar to use shortDescription for Specification-Title ?
> 
> 
> 
> Hi,
> 
> Apologize if someone mentionned this already earlier.
> 
> I got surprised today that my jar (in b10) came out with an invalid 
> manifest... the trouble was that my project.xml's description element 
> was multiline...
> Clearly, ant should still support multiline manifest attributes (and 
> reformat them probably)...
> 
> In the meantime, though, I found more sensible to use:
>          <ant:attribute name="Specification-Title" value="${pom.name}"/>
> instead of
>          <ant:attribute name="Specification-Title"
> 		value="${pom.shortDescription}"/>
> (at line 54 of maven-jar-plugin-1.0/plugin.jelly)
> 
> Aside of the fact that it removes my bug, does it not make more sense to 
> use the name of the project for a title than the short-description ?
> 
> Thanks.
> 
> Paul
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> ----------------------------------------------------------------------
> Polska lokalna w portalu INTERIA.PL >>> http://link.interia.pl/f1749
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org