I am trying to automate a build for a set of eclipse plugins. I managed to get the target platform definition and the import working.
setpref org.eclipse.buckminster.pde.targetPlatformPath='/D:/temp/jenkins/Target Eclipse/'
However, the build failes because of errors in resolving any classes of org.eclipse.swt.
Error: file D:\temp\jenkins\SoMoX Extractor\org.somox.extractor.extractor.java.jdt: The project was not built since its build path is incomplete. Cannot find the class file for org.eclipse.swt.widgets.Button. Fix the build path then try building this project
I verified that they are present in the target platform installation. Also trying to build the plugins inside the eclipse IDE using this installation as target platform works fine.
While the rest of the libraries / plugins used from the target platform compile without any problems I assumed that this problem is caused by the OS specific nature of swt. But I do not know how to teach the build to resolve this.
Does anyone faced the same problem?