...
Code Block |
---|
|
<classpath>
<library>cxf</library>
<component>servicemix-wsn2005</component>
</classpath>
|
New In ServiceMix 3.3.1
You can now reference external archives using system properties. For example:
Code Block |
---|
|
<classpath>
<location>${servicemix.home}/lib/ext/my.jar</location>
</classpath>
|
You can explore and use regex inside externale archives (zip, jar, war, ear). For example:
Code Block |
---|
|
<classpath>
<location>jar:file:/path/to/my.ear!/my.jar</location>
<location>jar:file:/path/to/my.ear!/other*.jar</location>
</classpath>
|
New in ServiceMix 4.2.0
To allow you to access classes from other OSGi bundles in your SU code as well, the library
element has now been enhanced to allow referencing bundles when running in ServiceMix 4.2.0 or above. The URI syntax is osgi:<bundle symbolic name>
or osgi:<bundle symbolic name>/<version>
to reference a specific bundle version.
Example: the following snippet explicitly adds the org.springframework.bean
bundle to the SU classloader.
Code Block |
---|
|
<classpath>
<library>osgi:org.springframework.bean</library>
</classpath>
|