java - Dependencies for jdt.compiler cannot be found -
how can add following dependencies plugin project, don't show up:
org.eclipse.jdt.compiler.aptorg.eclipse.jdk.compiler.tool
i able introduce source versions of both dependency. i've tried play access rules no avail.
the org.eclipse.jdt.compiler.apt , org.eclipse.jdt.compiler.tool bundles bundle fragments, means can't use require-bundle on them directly. instead, need use import=package code fragments on classpath. need know package code require located in.
if don't want rely directly on packages can find out bundle fragments part of , create dependency specific bundle. in case proved org.eclipse.jdt.core bundle contained both fragments.
see question more information on require-bundle vs. import-package: when should use import-package , when should use require-bundle?
Comments
Post a Comment