Please refer to the CVS documentation for this. It is an extensive topic and couldn't/shouldn't be covered here
Using the ant build tool it is very easy to build YACHT.
cd into the yacht/yacht dir. In there you should find a file called build.xml
In here you simply type ant, and compile will start. The build tool will create a file called YACHT.war in the dir where build.xml lies.
This is the web archive file (war file) that is needed for distributing YACHT
Simply take your YACHT.war file and copy it into the webapps dir.
Win: you webapps dir is typically located in c:\Program Files\Apache Tomcat 4.0\webapps
Linux: the typical dir (if installed using the RPM on the apache site) is /var/tomcat4/webapps
To start YACHT, you need to stop your tomcat, delete the YACHT dir (if present from earlier distributions) in the webapps dir, copy the YACHT.war file into the webapps dir and start the tomcat.
Tomcat will extract the YACHT.war file to a YACHT dir automatically and start the application.
YACHT is accessible through a browser using http://localhost:8080/YACHT/YACHT - please substitute name and port as needed for your setup