Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Java lib with plugin dependency

Posted on 2011-03-21
4
Medium Priority
?
350 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 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
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 NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

877 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