Roger Searjeant wrote:
My question is: if you give me a new release of Felix in a jar, how do I
discover the version numbers of the framework packages it exports?  I tried
hunting through the manifest files in the jars, but it didn't help.  Where
should I be looking?  Is it always the case that the f/work jar must be
accompanied by the config.properties file or some documentation/readme to
provide the numbers?

At this point in time, these version numbers for the exported packages are always from a properties file, either conf/config.properties or default.properties inside the JAR file itself. This exact procedure will likely change in the not-so-distant future, since the next spec will say something about this topic.

-> richard

OK, now you can tell me which page(s) I should have read.

Cheers,
Roger Searjeant.


On Tue, Sep 16, 2008 at 7:22 PM, Stuart McCulloch <[EMAIL PROTECTED]> wrote:

2008/9/17 Stuart McCulloch <[EMAIL PROTECTED]>

2008/9/17 Roger Searjeant <[EMAIL PROTECTED]>

I think there is a small mistake in the bare-bones custom Felix launcher
described on this page:


http://cwiki.apache.org/confluence/display/FELIX/Launching+and+Embedding+Apache+Felix
I think you're right - looks like a simple copy/paste error from an
earlier
example... I'll fix it, thanks for reporting this

done, I also fixed a couple of other minor typos - should be mirrored to
the
main site in a few hours


The variable configMap is re-declared in the try block, when there should
be
a second Map (configProps) created from the first.  The changed lines:

     Map configProps = new StringMap(configMap, false);
     m_felix = new Felix(configProps, list);

Now the code will compile and run.

-- Roger Searjeant.

--
Cheers, Stuart


--
Cheers, Stuart



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

Reply via email to