Java Reference
In-Depth Information
C.1
Getting the source code
There are two possibilities for getting the source code on your local machine:
Download a released version from http://sourceforge.net/project/showfiles.
php?group_id=68011 and unzip it somewhere on your hard drive.
Use an SVN client and get the source from SVN HEAD . Getting the source from
SVN is explained at http://sourceforge.net/svn/?group_id=68011. Either way,
place the source code in a local directory named junitbook2/ (for example,
C:\junitbook2 on Windows or /opt/junitbook2 on UNIX ).
C.2
Source code overview
Once you put the source code in the junitbook2/ directory, you should have the
directory structure shown in figure C.1. Each directory represents the source code for
a chapter of the topic (except the repository/ directory, which contains external JAR s
required by the chapter projects). The mapping between chapter names and direc-
tory names is listed in table C.1.
Each directory maps directly to a project. A project is a way to regroup Java
sources, test sources, configuration files, and so on under a single location. A project
Figure C.1 Directory structure for the source code, shown here in Windows Explorer. (Note that
the directory and file icons are decorated by the TortoiseSVN client.)
 
Search WWH ::




Custom Search