Bertrand Delacretaz wrote: > On Mon, Jan 19, 2009 at 1:56 PM, Carsten Ziegeler <[email protected]> > wrote: >> Bertrand Delacretaz wrote: >>> ...I'm thinking of something like >>> http://localhost:8888/system/console/info.properties >>> which returns >>> console-version: 1.2.2 >>> installed-plugins: foo, bar... > >> The web console already supports getting information about a bundle as >> json, so a >> http://localhost:8888/system/console/bundles/{symbolicName}.json gives >> you information about the bundle. By using the symbolic name for the >> webconsole, you get the version. That's sufficient for now, I think.... > > Agree, that's good enough - I was missing some info here ;-) > :) No problem..in the meantime, I've thought about the problem once more and I think I'll follow Felix suggestion and don't do a version check upfront. If I get a wrong answer when requesting something, I know that the webconsole is old. The only problem is to distinguish between wrong answer and error, but that should be doable. That should be sufficient for now.
Carsten -- Carsten Ziegeler [email protected]
