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,
Sandeep.
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
Hi,

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: Wed Dec 01 10:22:49 GMT 2021

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

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

Back to the top