diff --git a/Ant-Clean.xml b/Ant-Clean.xml deleted file mode 100644 index b15cb6f1..00000000 --- a/Ant-Clean.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - For this file to be included in all build.xml files - at all directory levels, the single entries with the - "**/" syntax must be used everywhere. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Ant-Common.xml b/Ant-Common.xml deleted file mode 100644 index 43ef0b06..00000000 --- a/Ant-Common.xml +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - Ant build.xml for the source code for chapter ${chapter} - Bruce Eckel On Java - Code available at https://github.com/BruceEckel/OnJava-Examples - See installation instructions in README.md - See copyright notice in CopyRight.txt - - Ant available from http://ant.apache.org - - To see options, type: ant -p - - - - - - - - - - - - - - - - - [${chapter}] java @{cls} @{arguments} - [${chapter}] java @{cls} @{arguments} - - - - - [${chapter}] Finished: java @{cls} @{arguments} - @{msg} - -------------------------------- - - - - - - - - - - - - - - [${chapter}] java @{cls} @{arguments} - [${chapter}] java @{cls} @{arguments} - - - - [${chapter}] Finished: java @{cls} @{arguments} - @{msg} - -------------------------------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build.xml b/build.xml deleted file mode 100644 index a73a1d93..00000000 --- a/build.xml +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - Main build.xml for the source code for - Bruce Eckel On Java - Code available at https://github.com/BruceEckel/OnJava-Examples - See installation instructions in README.md - See copyright notice in CopyRight.txt - - Ant available from http://ant.apache.org - - To see options, type: ant -p - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/collections/MapOfList.java b/collections/MapOfList.java index c4ea6f0e..c6dfd5ce 100644 --- a/collections/MapOfList.java +++ b/collections/MapOfList.java @@ -2,6 +2,7 @@ // (c)2016 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://mindviewinc.com/Books/OnJava/ for more book information. +// {main: collections.MapOfList} package collections; import typeinfo.pets.*; import java.util.*; diff --git a/network/ChatterServer.bat b/network/ChatterServer.bat deleted file mode 100644 index ef7fe486..00000000 --- a/network/ChatterServer.bat +++ /dev/null @@ -1,3 +0,0 @@ -start java ChatterServer -timeout /t 1 -java ChatterClient diff --git a/network/ChatterServer.sh b/network/ChatterServer.sh deleted file mode 100644 index 5c867bea..00000000 --- a/network/ChatterServer.sh +++ /dev/null @@ -1,3 +0,0 @@ -java -cp ..:. ChatterServer & -sleep 1 -java -cp ..:. ChatterClient diff --git a/network/MultiSimpleServer.bat b/network/MultiSimpleServer.bat deleted file mode 100644 index 4d20bd01..00000000 --- a/network/MultiSimpleServer.bat +++ /dev/null @@ -1,3 +0,0 @@ -start java MultiSimpleServer -timeout /t 1 -java MultiSimpleClient diff --git a/network/MultiSimpleServer.sh b/network/MultiSimpleServer.sh deleted file mode 100644 index deeb4b0a..00000000 --- a/network/MultiSimpleServer.sh +++ /dev/null @@ -1,3 +0,0 @@ -java -cp ..:. MultiSimpleServer & -sleep 1 -java -cp ..:. MultiSimpleClient diff --git a/network/SimpleServer.bat b/network/SimpleServer.bat deleted file mode 100644 index 095c330a..00000000 --- a/network/SimpleServer.bat +++ /dev/null @@ -1,2 +0,0 @@ -start java SimpleServer -java SimpleClient diff --git a/network/SimpleServer.sh b/network/SimpleServer.sh deleted file mode 100644 index 2c1335c7..00000000 --- a/network/SimpleServer.sh +++ /dev/null @@ -1,3 +0,0 @@ -java SimpleServer & -sleep 1 -java SimpleClient diff --git a/network/build.xml b/network/build.xml deleted file mode 100644 index 122ab6dc..00000000 --- a/network/build.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/remote/build.xml b/remote/build.xml deleted file mode 100644 index 9f712d38..00000000 --- a/remote/build.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/remote/go.bat b/remote/go.bat deleted file mode 100644 index ac6f4c63..00000000 --- a/remote/go.bat +++ /dev/null @@ -1 +0,0 @@ -start "ptime.bat" ptime.bat diff --git a/remote/go.sh b/remote/go.sh deleted file mode 100644 index fdff7366..00000000 --- a/remote/go.sh +++ /dev/null @@ -1 +0,0 @@ -sh ptime.sh diff --git a/remote/ptime.bat b/remote/ptime.bat deleted file mode 100644 index aee99dbf..00000000 --- a/remote/ptime.bat +++ /dev/null @@ -1,6 +0,0 @@ -start /min "registry.bat" registry.bat 3 -start /min "server.bat" server.bat 3 -timeout /t 1 -java DisplayPerfectTime -timeout /t 3 -exit \ No newline at end of file diff --git a/remote/ptime.sh b/remote/ptime.sh deleted file mode 100644 index 937264fd..00000000 --- a/remote/ptime.sh +++ /dev/null @@ -1,5 +0,0 @@ -sh registry.sh 3 & -sleep 1 -sh server.sh 3 & -sleep 1 -java DisplayPerfectTime diff --git a/remote/registry.bat b/remote/registry.bat deleted file mode 100644 index ddb22c41..00000000 --- a/remote/registry.bat +++ /dev/null @@ -1,4 +0,0 @@ -start /min "rmiregistry" rmiregistry -timeout /t %1 -taskkill /im rmiregistry.exe -exit \ No newline at end of file diff --git a/remote/registry.sh b/remote/registry.sh deleted file mode 100644 index ec2ba67e..00000000 --- a/remote/registry.sh +++ /dev/null @@ -1,3 +0,0 @@ -rmiregistry & -sleep $1 -killall rmiregistry diff --git a/remote/server.bat b/remote/server.bat deleted file mode 100644 index 119f5255..00000000 --- a/remote/server.bat +++ /dev/null @@ -1,4 +0,0 @@ -start /min "PerfectTimeServer" java PerfectTimeServer -timeout /t %1 -taskkill /im java.exe -exit \ No newline at end of file diff --git a/remote/server.sh b/remote/server.sh deleted file mode 100644 index 1149bf92..00000000 --- a/remote/server.sh +++ /dev/null @@ -1,3 +0,0 @@ -java PerfectTimeServer & -sleep $1 -pkill -f 'java PerfectTimeServer' \ No newline at end of file