JDT without Eclipse?

前端 未结 3 1796
小蘑菇
小蘑菇 2021-02-20 06:44

Some time ago I wrote an Eclipse plugin which makes use of JDT to do some parsing. Now I am thinking of making a command-line version of this app. Naturally, I hope to reuse the

3条回答
  •  耶瑟儿~
    2021-02-20 07:16

    In order to be able to use AST classes in a stand alone application you have to use such libraries (where xx stands for version):

    org.eclipse.core.contenttype_xx.jar
    org.eclipse.core.jobs_xx.jar
    org.eclipse.core.resources_xx.jar
    org.eclipse.core.runtime_xx.jar
    org.eclipse.equinox.common_xx.jar
    org.eclipse.equinox.preferences_xx.jar
    org.eclipse.jdt.core_xx.jar
    org.eclipse.osgi_xx.jar
    

    If you installed eclipse with JDT all those jars are in eclipse's plugin folder for example in Windows it could be in C:\Program Files\eclipse\plugins\

提交回复
热议问题