Can I import org.eclipse.jdt.core into Netbeans?

前端 未结 1 725
北恋
北恋 2020-12-22 07:44

I am using a this project on the project that I am developing in Netbeans. Basically, I copied the 3 source code files to my project and did some tweaks to the Main.ja

相关标签:
1条回答
  • 2020-12-22 08:28

    To use the Eclipse ASTParser in a plain (non-OSGi, not Eclipse-based) Java application you need following JARs:

    • org.eclipse.core.contenttype
    • org.eclipse.core.jobs
    • org.eclipse.core.resources
    • org.eclipse.core.runtime
    • org.eclipse.equinox.common
    • org.eclipse.equinox.preferences
    • org.eclipse.jdt.core
    • org.eclipse.osgi
    • org.eclipse.text

    All these JARs can be found in an Eclipse SDK ZIP file that you can download from the Eclipse Project Downloads website, e. g. Eclipse 4.7.3a SDK. Since these JARs are not platform-dependent, it doesn't matter which operating system you choose. For example, you can choose eclipse-SDK-4.7.3a-win32-x86_64.zip.

    In the ZIP file, you will find the JARs in the subdirectory plugins as <id>_<version>.jar (the corresponding source code as <id>.source_<version>.jar).

    0 讨论(0)
提交回复
热议问题