Featured post
Eclipse plugin dependency on SWT classes not being resolved -
i have eclipse plugin project uses swt objects, eg -
import org.eclipse.swt.widgets.composite;
when try compile 'target platform' set 'running platform (active)', compiles fine , dont need import swt specific plugins.
however, created target platform eclipse 3.6.0 , if set active platform project has compile errors wherever swt classes used , cannot resolve them.
which plugin should add dependency to, resolve these errors?
i tried adding 'org.eclipse.swt' not seem help.
i had same problem. in case, had missing dependency , asked eclipse locate plugin me.
after plugin found on p2 site, saw "resetting target platform" in progress view.
after that, lot of plugins broken. checking target platform (window -> preferences -> plug-in development -> target platform -> edit), field "architecture" had changed x86_64
x86
.
changing value , clicking on "finish" did reset tp once more , errors went away.
- Get link
- X
- Other Apps
Comments
Post a Comment