Hi,

> Not sure what you mean by "the OSGi directory"?? 
> OSGi doesn't really require a file system, and AFAIK no such term exist at
> the 
> specification level. However, BundleContext.getDataFile() returns you a
> file 
> handle to a file which is in scoped by the bundle. Where this is, is up to
> the framework implementation, and you can't make any further assumptions
> on 
> where other stuff is.

I would like to install and start an OSGi bundle from an InputStream. And I 
wrote lines of code like that:
...................
Bundle bundle = context.installBundle(String location, inputStream);
inputStream.close();
bundle.start();

However, I do not know which value I should pass for the first parameter, 
location , of the funtion installBundle() . Be aware that I assume that I do 
not know in advance where root directory of OSGi is allocated in the file 
system. How can it be done?

Could anyone give me a tip?

Regards,
Conan.
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to