Folks,
The manifest entry Implementation-Version
is represented as a Deweydecimal although I guess
its not mandatory to be one UNLike 
Specification-Version entry.
(ref:
http://java.sun.com/j2se/1.3/docs/guide/versioning/spec/VersioningSpecification.html#JARManifestFormat
)

Patch Attached .

Regards,
V i n a y


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Index: Extension.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-avalon-excalibur/extension/src/java/org/apache/avalon/excalibur/extension/Extension.java,v
retrieving revision 1.20
diff -r1.20 Extension.java
170c170
<     private DeweyDecimal m_implementationVersion;
---
>     private String m_implementationVersion;
353c353
<         final DeweyDecimal implementationVersion = 
extension.getImplementationVersion();
---
>         final String implementationVersion = extension.getImplementationVersion();
409,423c409,410
< 
<         if( null != implementationVersion )
<         {
<             try
<             {
<                 m_implementationVersion = new DeweyDecimal( implementationVersion );
<             }
<             catch( final NumberFormatException nfe )
<             {
<                 final String error = "Bad implementation version format '" + 
implementationVersion +
<                     "' in '" + extensionName + "'. (Reason: " + nfe + ")";
<                 throw new IllegalArgumentException( error );
<             }
<         }
< 
---
>               m_implementationVersion=implementationVersion;
>         
495c482
<     public DeweyDecimal getImplementationVersion()
---
>     public String getImplementationVersion()
538,548c525
<         // Implementation version must be >= required
<         final DeweyDecimal implementationVersion = 
required.getImplementationVersion();
<         if( null != implementationVersion )
<         {
<             if( null == m_implementationVersion ||
<                 !isCompatible( m_implementationVersion, implementationVersion ) )
<             {
<                 return REQUIRE_IMPLEMENTATION_UPGRADE;
<             }
<         }
< 
---
>        

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

Reply via email to