I have a bunch of OSGi bundles that are basically jars that contain other jars and a manifest.
bundle xyz.jar:
somejar1.jar
somejar2.jar
Manifest
I want to run some junit tests, and need some classes inside these bundles. Is there an easy way in Ant to say
<path name="myclasspath" location="[stuff inside OSGI bundle xyz.jar]>
?
I could unjar these to a temp directory, but that seems tedious, plus I would not be leveraging the classpath inside the OSGi bundle.
It should not a problem if you're using ant to run PDE build/OSGi application, OSGi would handle with the classpath.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With