Bundle-Classpath can name directories and JARs. But it can't imply all the 
JARs in some directory. You will need to list all the jars.

The point of OSGi is explicit modularity where all the dependencies are 
well specified. To create some dir and dump a bunch of jars in it such 
that each bundle will refer to all the jars the dir might contain defeats 
the purpose.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[EMAIL PROTECTED]

office: +1 386 848 1781
mobile: +1 386 848 3788




"asaf.lahav" <[EMAIL PROTECTED]> 
2007-04-10 13:26
Please respond to
felix-dev@incubator.apache.org


To
<felix-dev@incubator.apache.org>
cc

Subject
Jars directory --> classpath






I'm attempting to create a manifest file in which I would like to indicate 
a
generic file system directory that will contain multiple jar files (and
maybe other resources as well) WITHOUT indicating each resource/jar
explicitly.

 

e.g.

Bundle-ClassPath: ./, Dependencies/Binaries

 

How should I configure my manifest?

 



Reply via email to