File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,17 +7,21 @@ Invoking `gradlew` will automatically download and install Gradle.
77Gradle will also install all additional libraries necessary to compile
88and run the Java examples in the book.
99
10- To compile everything, the command is:
10+ To compile and run everything, the command is:
1111
12- ` gradlew classes `
12+ ` gradlew run `
1313
14- To run everything (including compiling if necessary), the command is :
14+ If you are on a Unix/Linux based system, you must select the local directory for all commands, for example :
1515
16- ` gradlew run `
16+ ` ./gradlew run `
17+
18+ To only compile everything, the command is:
19+
20+ ` gradlew compileJava `
1721
1822To compile only a single chapter (including dependencies), use for example:
1923
20- ` gradlew :strings:classes `
24+ ` gradlew :strings:compileJava `
2125
2226To run only a single chapter, say:
2327
@@ -33,7 +37,7 @@ program name, like this:
3337
3438` gradlew ReplacingStringTokenizer `
3539
36- Note that all these commands are run from the base directory where the example code is installed, and where you find the
40+ Note that all commands are run from the base directory where the example code is installed, and where you find the
3741` gradlew ` script.
3842
3943You can learn about other options by just typing ` gradlew ` with no arguments.
You can’t perform that action at this time.
0 commit comments