Waypoint
Waypoint

Reputation: 17753

Netbeans - add JAR module

I have downloaded module for Eclipse in JAR formate, but I am developing in Netbeans, which accepts only NBM module files. Do you know how to convert JAR to NBM? Have you been facing the same issue?

Thanks for reply

Waypoint

Upvotes: 0

Views: 762

Answers (1)

Jonathan Spooner
Jonathan Spooner

Reputation: 7752

No, there is no way to run an Eclipse Plugin in NetBeans. Simply "converting" the jar to an nbm would not suffice as these, NetBeans and Eclipse, are two totally different programs. Furthermore, Eclipse uses a completely different UI (SWT) than NetBeans (Swing) and these two systems are not compatible.

The only way to use a plugin designed for Eclipse in NetBeans is to port the plugin to NetBeans. To do this you would need the source code and a good understanding of both NetBeans and the plugin you intend to port.

FYI: An nbm is little more than a compressed file (like a jar) that includes it's own MANIFEST file and the jar file which holds the code for the plugin. It's sort of a jar that holds a jar. You can see what's in an nbm by using something like 7-Zip to extract the contents (as you can do with a jar).

Upvotes: 1

Related Questions