Re: [Pydev-code] PyDev Build doesn't explode bundles
Brought to you by:
fabioz
From: Jonah G. <jo...@ki...> - 2016-02-29 22:30:20
|
Hi Mark, I don't have access to try before I send this to you. But a few pointers that may or may not help (including some duplication of what you have already figured out): 1) The jar in the P2 site should be a jar, the p2 install process should explode it. You may be missing the "install" step depending on how you have your target platform set up. 2) Check shape of the bundle is dir (in manifest, the Eclipse-BundleShape directive) http://help.eclipse.org/mars/topic/org.eclipse.platform.doc.isv/reference/misc/bundle_manifest.html?cp=2_1_5_10 3) The feature xml often has "unpack" attribute omitted which then comes to the default of false. 4) The Jython addon for Eclipse EASE also includes jython.jar exploded, so it may be a useful checkpoint (I am not recommending using that version, but comparing against it may be useful). Source: https://github.com/eclipse-ease-addons/jython p2 site: https://dl.bintray.com/pontesegger/ease-jython/ PS I am very curious what you are building with all these great changes, I hope you can let us curious people know when it is ready. Jonah ~~~ Jonah Graham Kichwa Coders Ltd. www.kichwacoders.com On 29 February 2016 at 21:52, Mark Leone <mid...@ve...> wrote: > I'm doing a PyDev build so I can incorporate a modified version of PyDev > in my app which I'm releasing today. I add the generated p2 repo to my > target platform, but when I launch the runtime workbench I get lots of > errors because apparently the org.python.pydev.jython bundle needs to be > exploded rather than in jar form. (the error message is "Can't find > relative path:. within:org.python.pydev.jython_4.5.2.201602292131 [710]") > > The maven pom file seems to be configured to explode all bundles. I also > tried adding unpack="true" for org.python.pydev.jython in feature.xml. > Still the p2 site is created with jar files. Does anyone know how I can > create a p2 site with exploded bundles, or at least the jython bundle > exploded? > > -Mark > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |