[snmp] retrieving stack version

Josh Bers jbers at bbn.com
Wed Nov 28 18:08:19 GMT 2007


Birgit,

I believe that putting the version/title properties at the top of the
manifest, after the standard headers but before any Name: sections should
work better.

The problem of putting it under /uk/co/westhawk is that there are no classes
in that package and I'm not sure that they pass the properties down to child
packages..

However, in my experience, if you put it at the top it applies to all
classes in the jar.

Regards,

Josh

> -----Original Message-----
> From: snmp-bounces at snmp.westhawk.co.uk 
> [mailto:snmp-bounces at snmp.westhawk.co.uk] On Behalf Of Birgit 
> Arkesteijn
> Sent: Wednesday, November 28, 2007 6:17 AM
> To: List for discussion of the Westhawk SNMP stack
> Subject: Re: [snmp] retrieving stack version
> 
> 
> Hi Josh,
> 
> That's a very interesting question. We've not use Package in 
> the stack, 
> but it would not be too hard to change it.
> 
> I read
> http://www.javaspecialists.eu/archive/Issue026.html
> to get a bit more insight.
> 
> We could amend build.xml so it adds to the manifest of section
> Name: uk/co/westhawk
> 
> Implementation-Title: Westhawk Java SNMP Stack
> Implementation-Version: 6.0
> 
> That should do the trick?
> 
> Cheers, Birgit
> 
> 
> On 28/11/07 03:59, Josh Bers wrote:
> > How would I query the stack for the implementation version? I noted 
> > that the manifest uses the following non-standard attributes:
> >  
> > Name: uk/co/westhawk
> > version: 6_0
> > 
> > However, these cannot be retrieved via the Package class.
> >  
> > thanks,
> >  
> > Josh
> > _______________________________________________
> > snmp mailing list
> > snmp at snmp.westhawk.co.uk 
> > http://snmp.westhawk.co.uk/mailman/listinfo/snmp
> 
> -- 
> -- Birgit Arkesteijn, birgit at westhawk.co.uk,
> -- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
> -- Company no: 1769350
> -- Registered Office:
> -- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
> -- tel.: +44 (0)161 237 0660
> -- <URL: http://www.westhawk.co.uk> 
> _______________________________________________
> snmp mailing list
> snmp at snmp.westhawk.co.uk 
> http://snmp.westhawk.co.uk/mailman/listinfo/snmp
> 





More information about the snmp mailing list