Solved

Java lib with plugin dependency

Posted on 2011-03-21
4
341 Views
Last Modified: 2013-12-15
I have a java project where I have some APIs that rely on some eclipse plugins. I run the code as a java application from my eclipse and they work fine. Then I tried to export them as a standard Java lib (*.jar) . for some reason they don’t work on another eclipse (with different plugin directory ) even though I copy pasted those plugins from the original plugin directory to the new one ? Can anyone help me to resolve this problem ?

Thanks
0
Comment
Question by:bachra04
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:Shags818
ID: 35191095
Is this a compilation problem or a runtime issue?
0
 
LVL 2

Author Comment

by:bachra04
ID: 35191890
runtime issue
0
 
LVL 1

Accepted Solution

by:
Shags818 earned 500 total points
ID: 35192081
I just want to make sure that I'm following your process correctly. So you export the classes as a jar. Do you then use that jar in a new project as part of the classpath?
0
 
LVL 2

Author Closing Comment

by:bachra04
ID: 35220337
I actually figured out that the problem is that I was missing plugin.xml file
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question