Sources
From APIDesign
(→Environment) |
|||
Line 1: | Line 1: | ||
+ | The [[TheAPIBook|Practical API Design]] book comes with huge amount of additional [[sources]]. All of them, including their history, are available online. This page provides basic information for those who want to study them. | ||
+ | |||
=== Environment === | === Environment === | ||
Revision as of 11:24, 21 October 2009
The Practical API Design book comes with huge amount of additional sources. All of them, including their history, are available online. This page provides basic information for those who want to study them.
Environment
In order to use the sample sources you may need:
- JDK 1.6.0 - necessary for compilation and execution
- Ant 1.7.0 - allows simple compilation and execution from command line
- NetBeans IDE 6.0 - all projects are configured to smoothly open in NetBeans IDE
Download
The sources for sample examples are processed, verified and published daily on API Design continuous build server. Download the latest version of apidesign-XYZ.zip, unzip it on your local computer. Start NetBeans IDE and open individual projects as needed. History of all the modifications can be found in our Mercurial repository. To obtain them use:
hg clone http://source.apidesign.org/hg/apidesign/
Usage
You need to run build.xml before opening the projects in the IDE. Otherwise the projects have unsolvable broken references.
The build fails on JDK 1.5 because of ServiceLoader usages. This needs to be mentioned somewhere, and build.xml should perhaps skip that example when building on 1.5.