Solved

Java lib with plugin dependency

Posted on 2011-03-21
4
343 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

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. …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

626 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