This page explains how I converted the example source
code used in the book to the
- I downloaded the beta release:
$ ftp www.dnx.com
220 kind FTP server (UNIX(r) System V Release 4.0) ready.
Name (www.dnx.com:decemj): anonymous
331 Guest login ok, send ident as password.
230 Guest login ok, access restrictions apply.
ftp> cd pub
250 CWD command successful.
200 Type set to I.
ftp> mget JDK*
mget JDK-prebeta1-solaris2-sparc.tar.Z? yes
200 PORT command successful.
150 Binary data connection for JDK-prebeta1-solaris2-sparc.tar.Z (220.127.116.11,34827) (4284889 bytes).
- I uncompressed and unpacked the file:
$ uncompress *.Z
$ tar -xvf *.tar
$ rm *.tar
- The upgrade program is in
- I made a script called
for i in $*
upgrade < $i > beta/$i
- I ran this upgrade script in the directory with my
alpha source code:
$ mkdir beta
$ upgrade-java *.java
There were no errors in the conversion.
- Then I made a script called
for i in $*
diff $i beta/$i > $i.diff
And I ran this and looked at the results to see the
changes in the files:
$ show-diff *.java
$ more *.diff
I updated the @version date lines
so that they reflect when I made this beta update.
- I'm still working on the recompilation of all the code.