If created a plugin project abc, build path which joins a ojdbc jar package, export, export to depolyable plug-ins and / or fragments, the final form of abc.jar, with osgi run this abc.jar the results ojdbc bag can not find a class , ojdbc packet is not included abc.jar within , abc.jar size is only 20k. How to include inside the jar package ?
------ Solution ---------------------------------------- ----
plugin plugin.xml , select the runtime option to add a third party lib, this requires the use of bundle-classpath, instead of the usual java project 's build path
This problem is very common, Soso Eclipse plugin to use third-party jar, should be a lot of solutions
------ For reference only ------------ ---------------------------
later how to get your landlord can tell me ah < br>
没有评论:
发表评论