METS BLOG

METS BLOG

Tycho swt not found

For some reason tycho couldn’t resolve swt packages. What used to work suddenly did not.
I’m not sure what I changed but needed to solve this right away.
First I tried to add it as an extra dependency to the tycho platform configuration and that didn’t work. Also it is not a standard solution for this problem.

The solution was to give the used platform as an argument to let tycho know what platform it should run.
Be sure to check the used platform and which architecture is selected.
You can find it in eclipse preferences – plugin development – target platform – edit

Here are the parameters I used: -Dosgi.ws=win32 -Dosgi.arch=x86


Leave a Reply

Your email address will not be published. Required fields are marked *