You should make bundles out of these JAR files. Otherwise, you are just fighting OSGi.
On 7/10/10 11:44 AM, Mahammad Nasir wrote: > Hi, > > I have 5-6 non osgi jar files (Not budle). And i have many application > bundles which uses this jar file. I want to know what is the best way to > share these jar files acros all the applications. > > I can think of, > > 1) collect all the jar files and make this one bundle and load this in osgi > and other applications can now access it. (But, for some reason i dont want > to do this) > 2) add the jars to class path of all the bundle. Problem with this is if a > jar files is changed. i have to modify all the application and manifest. > > > Is there any other better way of doing this? does osgi allow 2 dofferent > version of non-osgi jar files to load by two diffrent application? > > > Thanks Nasir > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

