[Account] Send an email to csun@calstatela.edu and ask for account information on the CS3 server. You have to be already enrolled in the class in order to get an account. Note that the account includes a Subversion repository, and a copy of the CSNS source code is already imported into the repository for you.
[Development Environment] Check out the CSNS source code from your Subversion repository, and set up your development environment as described in the class notes. If you have any questions, post them in the class forum. To avoid confusion, in the assignment descriptions I'll use CSNS (i.e. without hyperlink) to refer to the project, and CSNS (i.e. with hyperlink) to refer to the server where you submit your work.
[CSNS] (20pt) Modify the JSP file web/WEB-INF/jsp/mailinglist/viewMembership.jsp so that it displays the names and the email addresses of the mailing list members instead of just the number of members. The display should use a paging table with 20 rows per page. To see this page, run the project in Eclipse and open the URL http://localhost:8080/csns/mailinglist/viewMembership.html?mailinglistId=1300005 with a browser.
HINTS:[Ant] (10pt)
1. Read build.xml of CSNS and understand what it does.
2. Modify build.xml of CSNS to create a new target called zip. This target should create a zip file csns.zip which contains all the source files in CSNS except build.properties. The directory structure must be preserved in the zip file.
"Source files" means source code, configurations files, build file, web pages and images etc.; it does not include any class files, jar files, files created during the build process (e.g. files under /build or /dist), files used for version control (e.g. files under /.svn), or whatever additional files you put under the project directory. To further reduce the size of the zip file, you should also exclude the files under the following folder(s):
The size of the zip file must be under 1MB, and if yours
is larger than that, you are doing something wrong. To receive full
credit for this problem, also make sure this target is repeatable, i.e.
you shouldn't see any error when you run "ant zip" multiple times.
Once you are done, submit the csns.zip file created by this target to CSNS.
[Subversion] (10pt)
1. After you complete the previous two exercises, commit the changes you've made to your Subversion repository, then create a tag called cs520-hw1.
2. Which of the following files should be version controlled? And why?