Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Creating Eclipse plugins from jars (Import Error)
Creating Eclipse plugins from jars [message #542484] Fri, 25 June 2010 05:02 Go to next message
Sandeep  is currently offline Sandeep Friend
Messages: 14
Registered: June 2010
Junior Member
Hello Everyone,
I have followed the instructions mentioned in this but i am getting a
weird problem..

I am using jython in my plugin. If i directly include the jython.jar
into the classpath then my python script is running fine(It is able to
import all modules like re, HtmlParser etc.) but when i create a
plugin from jar, then the script gives an ImportError saying no module named HtmlParser is found.

This is weird, since behavior in both the cases should have been
exactly the same, and as a result i am struck again.

Thanks in advance,
Re: Creating Eclipse plugins from jars [message #543914 is a reply to message #542484] Thu, 01 July 2010 06:06 Go to previous message
Yogiraj Mahajan is currently offline Yogiraj MahajanFriend
Messages: 7
Registered: June 2010
Junior Member

For this scenario create a folder by some name (lib)in your plugin project ,paste the jar file you required , then in plugin.xml in Runtime tab , classpath add the jar files , save and run.
Previous Topic:"Unable to relaunch the platform ..."
Next Topic:Eclipse RCP Integration
Goto Forum:

Current Time: Sun Nov 27 19:44:27 GMT 2022

Powered by FUDForum. Page generated in 0.02279 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top