Solved

Java lib with plugin dependency

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mavenproject with NetBeans 3 95
maven plugin not showing after installation 3 72
Azure iOS apps: what devices will these run on 4 106
C#  WebForms or MVC 4 105
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…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now