Nunaliit-server =============== This project builds a servlet that implements the web services required for the Nunaliit project. Servlet need to be deployed on a servlet container (such as Tomcat) to do anything useful. Requirements ------------ 1. Java JDK 2. Servlet Container (Tomcat) 3. Ant (see http://ant.apache.org) Developing the servlet ---------------------- The main approach to developing the servlet: 1. Install a servlet container and configure it according to its documentation 2. Check out this project from source repository into an area independent from the servlet container. 3. Copy the file build.properties.example to build.properties 4. Adjust the content of build.properties to relfect the location of the servlet container web application directory 5. Use Ant in conjunction with the build.xml file to create the application. Here, there are two choices: a. >ant build-war Creates a WAR file that can be copied into the servlet application directory. This action should automatically deploy the application on the servlet container. b. >ant build-application Rebuilds the application and copies the modified files in the application directory of the servlet container. After this, the servlet container shall be informed of the changes and asked to reload the application, if needed. This option is particularly useful if the servlet container is located on the same platform as the development area. After modifying code, step 5 must be repeated to notice the change in the application.