I saw :
/**
* <code>Name</code> object for <code>Manifest-Version</code>
* manifest attribute. This attribute indicates the version
number
* of the manifest standard to which a JAR file's manifest
conforms.
* @see <a href="../../../../guide/jar/manifest.html">
* Manifest and Signature Specification</a>
*/
public static final Name MANIFEST_VERSION = new Name
("Manifest-Version");
Inside the inner class
public static class Name {
I recognize the typesafe enum pattern of Effective Java but in inner class
it seems to be not supported in VA for Java.
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
Morten Jorgensen
<morten.jorgense To: [EMAIL PROTECTED]
[EMAIL PROTECTED]> cc:
Sent by: Subject: Re: Problem with the
XSLTC.class in public void outputToJar() throwsIOException
Morten.Jorgensen
@sun.com
18/09/2001 14:15
Please respond
to xalan-dev
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