Now that you have used an application created for Naked Objects we will now look at how to develop one of your own. This chapter explains how to build, run and modify a prototype.
The examples directory contains a couple of examples. Here we will use the expenses one. After going to the directory we can use Ant to compile and run the code.
$ cd example/expenses $ ant Buildfile: build.xml compile: [mkdir] Created dir: /home/rcm/tmp/install/nakedobjects-4.0/examples/expenses/build [mkdir] Created dir: /home/rcm/tmp/install/nakedobjects-4.0/examples/expenses/build/classes [javac] Compiling 59 source files to /home/rcm/tmp/install/nakedobjects-4.0/examples/expenses/build/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. dnd:
(Remember under Windows paths need to use backslashes instead of slashes.)