[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [hyades-dev] raserver versioning

I wanted add one more thing to what I said below:

Just accessing the version info in the serviceconfig.xml programmatically 
from the workbench may not be sufficient. The incident we ran into 
recently was a new (3.x) installation picking up pre-3.0 libraries from a 
shared location like system32 or /usr/lib. The version info from 
serviceconfig.xml would surely have returned 3.0...but it would have been 
a lie. I'm seeking version info built into the libraries. Is this taken 
care of by the suggested approach?

Of course, user error led to this situation. But you'd still like to be 
able to tell the poor confused user what's going on.


Kim Coleman
PurifyPlus Development
IBM Rational Software, Cupertino, CA

hyades-dev-admin@xxxxxxxxxxx wrote on 08/27/2004 05:45:57 PM:

> Thanks for responding, Samson. I have some followup. See below.
> On Thursday, 08/26/2004 at 08:33 AST, Samson Wai <samwai@xxxxxxxxxx> 
> wrote:
> > Kim, 
> > 
> > 1. Currently, the only way to determine the version is to look at the 
> > serviceconfig.xml file. I think it is reasonable to have a feature 
> opened to 
> > add the -version functionality. 
> I've filed a feature request about this. Thanks.
> > 2. Programmatically, there is a way to query the RAServer/plugins 
> versions 
> > starting from Hyades 3.0.1. [example snipped]
> This looks very useful in all sorts of contexts. :-) 
> Just to make sure I understood correctly, please confirm: Querying 
> o.e.h.datacollection in this way is asking RAServer about its version, 
> asking some part of the agent extension framework, right? That is, it is 

> giving back something like the version attr from serviceconfig.xml or 
> something built into RAServer, not the internal wire protocol version 
> or info about the extension framework.
> >> 1. How does a user of RAServer determine what version it is?
> >> 
> >> 2. How does a client dependent on RAServer determine what version it 
> ?> talking to?
>  [snip]
> -Kim
> Kim Coleman
> PurifyPlus Development
> IBM Rational Software, Cupertino, CA
> kcoleman@xxxxxxxxxx
> _______________________________________________
> hyades-dev mailing list
> hyades-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/hyades-dev