Obtain Software --------------- All the software are available online. You may also get all the software and the screen capture videos from the MSDNAA software computer in the CS department office. The files are under the "CS520 Summer 2008 Software" folder on the Windows Desktop. The total size of the files is about 300MB. You need to bring with you a flash drive or a writable CD. Quick Notes on Setting Up a Development Environment (for Wind2K/XP) ------------------------------------------------------------------- JDK . 1.5 or above . http://java.sun.com/javase/downloads/index.jsp . set JAVA_HOME environment variable to the directory where you installed JDK . add the bin directory to your path Ant . http://ant.apache.org/bindownload.cgi . unzip it to a directory . set ANT_HOME environment variable to that directory . add the bin directory to your path Subversion . http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 . download the latest svn--setup.exe . add the bin directory to your path if it's not already there PostgreSQL . http://www.postgresql.org/ . download the latest binary release. . install - deselect the Application Stack Builder option - select the Developlment option - select UTF8 for Encoding (Server) - everything else left to default . post-installation it's recommended that you don't use the PostgreSQL superuser account, e.g. postgres, to perform day-to-day database operations, so create another user, e.g. cysun, and a database with the same name as the user. Tomcat . need 6.0.x . download from http://tomcat.apache.org/download-60.cgi . get the zip package . unzip . download the PostgreSQL JDBC driver (postgresql-.jdbc4.jar) from http://jdbc.postgresql.org/download.html, and put it under the lib folder of the Tomcat directory. Eclipse . http://www.eclipse.org/downloads/ . get the one that says "Eclipse IDE for Java EE Developers" . install the Subclipse plugin Help -> Software Updates -> Find and Install ... -> Search for New Features to Install -> New Remote Site name: Subclipse url: http://subclipse.tigris.org/update_1.2.x Finish -> Select Subclipse under Subclipse, i.e. not Mylar Integration -> click, click, ... . install the Logfile Viewer pluging. the update site doesn't seem to work any more, so you'll need to download it at http://sourceforge.net/project/showfiles.php?group_id=165492 and install it as a "Local Site" in Eclipse. CSNS . follow the instructions in the Development section of the CSNS Developer's Guide at http://sun.calstatela.edu/csns/doc/guides/developer/index.html . if you get the dreaded "HTTP Status 404" screen, try the following: - make sure you followed every step in the guide - double check the ant builder - refresh the project a couple of times - restart the server - check the log files and if you cannot figure out what's wrong, post your problem in the class forum. Screen Capture Videos --------------------- 1. PostgreSQL Installation and Setup (03:25) http://sun.calstatela.edu/~cysun/www/videos/posgres.wmv 2. Eclipse Installation (06:29) http://sun.calstatela.edu/~cysun/www/videos/eclipse.wmv 3. CSNS Development Environment (18:45) http://sun.calstatela.edu/~cysun/www/videos/csns.wmv