[solved]Problem with getting started - swt is not built [message #908045] |
Tue, 04 September 2012 15:42 |
Mateusz Adamiak Messages: 2 Registered: September 2012 |
Junior Member |
|
|
Hi,
I have problems with starting using java2script and SWT. When I use only Java2Scipt everything seems to be fine, as well as using SWT. But when I have project with SWT and then I want to change Java Build Path and add SWT as project, then this problem appears:
The project cannot be built until its prerequisite org.eclipse.swt.gtk.linux.x86 is built. Cleaning and building all projects is recommended
I cleaned both projects and nothing was changed. I use Eclipse 3.5.2. Have you any ideas, where is the problem and how to solve it?
This is what I exactly did:
1) Downladed and installed Java2Script (moving files to %eclipse%/plugin directory).
2) Downloaded SWT.
3) Created New project
package my.first.program;
public class FirstClass {
/**
* @param args
*/
public static void main(String[] args) {
System.out.println("Hello world");
}
}
4) In project Properties - changed Java2Script compiler to enabled.
5) Imported SWT as a project in the package view.
6) In project Properties - added SWT as a resource.
7) Tried to run application as Java2Script Application
[Updated on: Wed, 05 September 2012 19:54] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02299 seconds