[snmp] retrieving stack version
Birgit Arkesteijn
birgit at westhawk.co.uk
Thu Nov 29 12:02:11 GMT 2007
Hi Josh,
I see.
The only downside is that the Version than will apply to the
bouncycastle packages as well, and that isn't our code.
Cheers, Birgit
On 28/11/07 23:08, Josh Bers wrote:
> 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
--
-- 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>
More information about the snmp
mailing list