User Tools

Site Tools


using-jp2-to-instrument-programs-based-on-apache-felix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
using-jp2-to-instrument-programs-based-on-apache-felix [2011/03/05 17:09]
yann
using-jp2-to-instrument-programs-based-on-apache-felix [2019/10/06 20:37] (current)
Line 34: Line 34:
  
  
-==== Instrumenting ​the Bundles ​in Felix ====+==== Telling Felix where to find JP2 for the Instrumented ​Bundles ====
  
-  * Add a bundle which contains all the classes of JP2 into the build.xml of SIP:+Add a bundle which contains all the classes of JP2 into the build.xml of SIP:
 <​code>​ <​code>​
  <target name="​bundle-jp2">​  <target name="​bundle-jp2">​
Line 58: Line 58:
 </​code>​ </​code>​
  
-  * Add JP2 bundle to felix.client.run.properties:​+Add the JP2 bundle to felix.client.run.properties:​
 <​code>​ <​code>​
 felix.auto.start.11= \ felix.auto.start.11= \
  ​reference:​file:​lib/​bundle/​bundle-jp2.jar  ​reference:​file:​lib/​bundle/​bundle-jp2.jar
 </​code>​ </​code>​
 +
 +
 +
 +==== Telling SIP Communicator Bundles about JP2 ====
  
   * Add all the packages of JP2 to the Import-Package attribute of the MANIFEST.MF of all other bundles.   * Add all the packages of JP2 to the Import-Package attribute of the MANIFEST.MF of all other bundles.
  
-  * Set org.osgi.framework.bootdelegation to JP2 classes in the execute script:+  * Set org.osgi.framework.bootdelegation to JP2 classes in the execute script. The original JP2 jars in -XBootclasspath are still needed by -javaagent.
 <​code>​ <​code>​
 javabin=`which java` javabin=`which java`
using-jp2-to-instrument-programs-based-on-apache-felix.1299344984.txt.gz ยท Last modified: 2019/10/06 20:37 (external edit)