|
1 | | -# Quick Build Directions |
| 1 | +# Note |
2 | 2 |
|
3 | | -``` |
4 | | -cd workspace (where workspace is your Eclipse Neon Workspace) |
5 | | -git clone https://github.com/BobHanson/java2script.git |
6 | | -git checkout swingjs |
7 | | -``` |
8 | 3 |
|
9 | | -Then, open Eclipse, open Navigator, and hit Refresh. java2script will show up as a blank generic trunk without a name (i.e. 'trunk[]') |
| 4 | +These notes are for Java developers who want to convert their Java applets or Java applications to |
| 5 | +JavaScript, allowing continued one-source development of both Java and JavaScript. |
10 | 6 |
|
11 | | - |
| 7 | +Developers of java2script/SwingJS itself should read README-developers.md |
12 | 8 |
|
13 | | - |
| 9 | +# About java2script/SwingJS |
14 | 10 |
|
15 | | -Or, do the equivalent tasks on Eclipse's graphical git tool. |
| 11 | +java2script/SwingJS is not a one-time "port" to JavaScript. It is a system that allows real-time Java-to-JavaScript conversion |
| 12 | +within Eclipse, with immediate JavaScript testing and debugging in a browser based on code development |
| 13 | +in Java. Using the java2script/SwingJS Eclipse plug-in, both Java .class files and their equivalent .js files are created simultaneously. |
16 | 14 |
|
17 | | -Go to net.sf.j2s.core directory, Clean Project, then export as a Deployable plug-ins and fragments. |
18 | 15 |
|
19 | | - |
| 16 | +java2script/SwingJS includes an Eclipse plug-in (technically a "drop-in"), net.sf.j2s.core.zip, |
| 17 | +along with a JavaScript version of the Java Virtual Machine (SwingJS) to allow the rapid and |
| 18 | +automated production of browser-ready JavaScript versions of Java applications and applets. |
20 | 19 |
|
21 | | - |
22 | 20 |
|
23 | | -Core is the only thing that was affected. Hence, everything else can be built the same exact way it was built before (assuming you were using the HEAD of the master branch of j2s). |
| 21 | +# QuickStart |
| 22 | + |
| 23 | +See https://github.com/BobHanson/java2script/tree/master/dist and the README file in that directory. |
0 commit comments