Mr. Borie,

The java.util.jar.Attributes class has a static inner class "Name".
This inner class has a static field "MANIFEST_VERSION". This is
defined in tje Java 1.2 and 1.3 API docs. Which version of Java are
you using?

Regards,
Morten Jorgensen
XML Technology Center
Sun Microsystems


[EMAIL PROTECTED] wrote:
> 
> When i insert the source in visual age all is ok. But this method have an
> error !
> 
> Original
>      atrs.put(java.util.jar.Attributes.Name.MANIFEST_VERSION,"1.0");
> 
> Doesn't compile because there is no field Name in attribute or is not
> accessible ...
> 
> fixed
>      atrs.put(atrs.getValue("MANIFEST_VERSION"),"1.0");
> 
> It is good like that ?
> 
> Jean-Jacques Borie
> Directeur recherche et d�veloppement
> 
> Tekora, changez votre conception des sites web
> http://www.tekora.com
> 17, place de la R�sistance - 92130 Issy-les-Moulineaux
> T�l. : +33 1 55 00 10 03 - Fax : +33 1 55 00 10 10
> Por: +33 660199524
> [EMAIL PROTECTED]
> 
> Pour vous inscrire � la Newsletter Tekora :
> http://www.tekora.com/tekora/fr/12_1.html

Reply via email to