Skip to content

Commit 84e3056

Browse files
authored
Merge pull request #28 from BobHanson/master
new readme files
2 parents ee09782 + 53d1bde commit 84e3056

File tree

2 files changed

+39
-14
lines changed

2 files changed

+39
-14
lines changed

README-developers.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Notes for developers of java2script/SwingJS
2+
3+
These notes are for developers of SwingJS, not for users of SwingJS.
4+
5+
```
6+
cd workspace (where workspace is your Eclipse Neon Workspace)
7+
git clone https://github.com/BobHanson/java2script.git
8+
git checkout swingjs
9+
```
10+
11+
Then, open Eclipse, open Navigator, and hit Refresh. java2script will show up as a blank generic trunk without a name (i.e. 'trunk[]')
12+
13+
![Eclipse Refresh](https://68.media.tumblr.com/47add4de1bc35f07f0e709fd6634289d/tumblr_or8mhqHsje1s5a4bko3_1280.png)
14+
15+
![Eclipse trunk](https://68.media.tumblr.com/866cc531b6b9d1c3dca8071732a66a26/tumblr_or8mihapDW1s5a4bko1_540.png)
16+
17+
Or, do the equivalent tasks on Eclipse's graphical git tool.
18+
19+
Go to net.sf.j2s.core directory, Clean Project, then export as a Deployable plug-ins and fragments.
20+
21+
![Eclipse Deployable](https://68.media.tumblr.com/c5714cadb166c7a887fbd00110e19afc/tumblr_or8mhqHsje1s5a4bko1_1280.png)
22+
23+
![Eclipse Optionsj](https://68.media.tumblr.com/0a7d77765983c11ca59b4739307359ee/tumblr_or8mhqHsje1s5a4bko2_1280.png)
24+
25+
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).

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
# Quick Build Directions
1+
# Note
22

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-
```
83

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.
106

11-
![Eclipse Refresh](https://68.media.tumblr.com/47add4de1bc35f07f0e709fd6634289d/tumblr_or8mhqHsje1s5a4bko3_1280.png)
7+
Developers of java2script/SwingJS itself should read README-developers.md
128

13-
![Eclipse trunk](https://68.media.tumblr.com/866cc531b6b9d1c3dca8071732a66a26/tumblr_or8mihapDW1s5a4bko1_540.png)
9+
# About java2script/SwingJS
1410

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.
1614

17-
Go to net.sf.j2s.core directory, Clean Project, then export as a Deployable plug-ins and fragments.
1815

19-
![Eclipse Deployable](https://68.media.tumblr.com/c5714cadb166c7a887fbd00110e19afc/tumblr_or8mhqHsje1s5a4bko1_1280.png)
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.
2019

21-
![Eclipse Optionsj](https://68.media.tumblr.com/0a7d77765983c11ca59b4739307359ee/tumblr_or8mhqHsje1s5a4bko2_1280.png)
2220

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

Comments
 (0)