Skip to Content
3
Mar 25, 2016 at 03:07 PM

Order/priority of jar loading

211 Views

Hello,

I have two extensions, C and A.

Extension A depends on extension C. Here is A's extensioninfo.xml

 <requires-extension name="C"/>

Extension A uses the library httpclient which is found here :

  • /custom/A/httpclient-4.3.6.jar

  • /custom/C/httpclient-4.2.6.jar

The problem is that I want my extension A to use the version 4.3.6 and not 4.2.6 which is apparently being used and causing compatibility problems!

How to force my A extension to use its library and not the library of the extension it's depending on!

Thank you !