the Java2Script eclipse plugin is cosntituted by several projects working together. Some of these projects contains the eclipse plugin implementation, other contains the java implementation of required java APIs like java.lang, java.util, org.ecipse.swt, etc and other are only auxiliary. In the following table we list the projects that are part of Java2Script and the responsbility of each of them.
It is an eclipse plugin that contains the java to javascript compiler. It is based on eclipse JDT for parsing the java code and translating it to javascript code.
This project contains the java language and java API emulation for javascript. First of all it contains the standar java libraries implementation (java.lang, java.utils, etc) that are currently translated to javascript and used by your Java2Script application. At this time, a version of Apache Harmony is used. Worth mentioning that some core classes in java.lang like String, Class, Boolean are only implemented in javascript (there is no /java/lang/Boolean.java but a /java/lang/Boolean.js file). Also notice that files /java/lang/Class.js, /java/lang/CLassExt.js and /java/lang/ClassLoader.js actually contains the java language emulation for javascript, like the Object oriented programming emulation, java class loading emulation, etc.
This project contains an implementation of the popular GUI toolkit SWT, the Eclipse Standar Widget Toolkit. This project will let you write your Rich Internet applications with SWT.
This is an auxiliary project in which is deposited the more like an auxiliary project into wich all the java libraries projects are comiler