Hi Dan,

Dan Tenenbaum wrote on Saturday, December 16, 2006 2:59 AM:
[snip]
> I changed it to:
> <mainClass>org.systemsbiology.informaticsCore.uddiBrowser.cyto
> scape.UDDIBrowserPlugin</mainClass>
> 
> and it worked as expected, EXCEPT that the line was wrapped
> as follows:
> Main-Class:
> org.systemsbiology.informaticsCore.uddiBrowser.cytoscape.U 
> DDIBrowserPlugin That is, it is on two lines, and there is a space at
> the beginning of the second line. I don't think the jvm will
> recognize that as a valid main class attribute.  

This is exactly how manifest entries have to be written according the spec. 
Lines longer than 77 (?) chars have to be wrapped that way. Otherwise it is  
not be a proper manifest ;-)

> So, my two questions:
> How do you get a custom attribute put in to a jar created by an
> assembly? And how do you ensure that there is no line
> wrapping like above?

Why? Do you want to create invalid manifests? hehehe

- Jörg

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

Reply via email to