• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 355
  • Last Modified:

Java lib with plugin dependency

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
bachra04
Asked:
bachra04
  • 2
  • 2
1 Solution
 
Shags818Commented:
Is this a compilation problem or a runtime issue?
0
 
bachra04Author Commented:
runtime issue
0
 
Shags818Commented:
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
 
bachra04Author Commented:
I actually figured out that the problem is that I was missing plugin.xml file
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now