Skip to content

Commit 3fd73dc

Browse files
committed
Moving things around and explicitly mention env file
Signed-off-by: Stefan Marr <git@stefan-marr.de>
1 parent 9a8cec5 commit 3fd73dc

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

doc/contributor/using-eclipse.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ There should be now 4 projects in your workspace:
4343
* `TRUFFLERUBY-TEST.dist`
4444
* `TRUFFLERUBY.dist`
4545

46-
### Running from the Eclipse Files Directly
47-
48-
```bash
49-
jt ruby -e 'p Truffle'
50-
Truffle
51-
```
52-
5346
## Advanced Setup
5447

5548
**Note:** This setup is not widely tested.
@@ -61,7 +54,8 @@ need to be told about it explicitly. For instance:
6154
jt mx --env jvm-ce eclipseinit
6255
```
6356

64-
When working on the Graal/Truffle code itself, the following two lines will
57+
When working on the Graal/Truffle code itself, adding the following two lines
58+
to the used env file, for instance `mx.truffleruby/jvm-ce` will
6559
configure the build so that incremental compilation and even hot code
6660
replacement works:
6761

@@ -72,3 +66,12 @@ LINKY_LAYOUT=*.jar
7266

7367
These settings must not be used for producing distributable artifacts, but
7468
make development much smoother.
69+
70+
With these settings, after changes are made, one can simply run for instance
71+
the following, without having to trigger a build again:
72+
73+
```bash
74+
jt ruby -e 'p Truffle'
75+
Truffle
76+
```
77+

0 commit comments

Comments
 (0)