Students having questions on COMP320 can approach me immediately after lecture or visit my Office 1.13 at any Tuesday 14:00-16:00 or any other day and time, if I am not busy. You are welcome!
Labs
Lecture Materials 2010
Below you can find lecture transparencies (in PowerPoint) which you can download and print.
1. Introduction to the module (10 slides)
2. eXtreme Programming Methodology (21 slides)
3. Automated Testing and Continuous Integration (22 slides)
4. Introducing Ant (20 slides)
5. Ant and XML: Getting Started (20 slides)
6. Ant: Structured Build (45 slides)
7. Ant: Datatypes and Properties (41 slides)
8. Ant: Datatypes and Properties (71 slides) ADD CORRECTIONS: Slides 45-47, 58 are optional, for self-study.
9. Ant, Testing and JUnit (1) (31 slides)
10. Ant, Testing and JUnit (2) (34 slides)
11. Ant, Testing and JUnit - Capturing test results (32 slides)
12. Eclipse and Java (46 slides)
13. Eclipse and JUnit: Creating and running a JUnit test case (42 slides)
14. Eclipse and Ant. (49 slides)
Please unzip this file into your H:\Antbook directory.
Here you will also find MYBUILD-08.xml needed for [9-11] above and for the labs. When working in the lab, please amend this file as required (comment/uncomment some fragments, etc.).
Annotated XML Specification (Bray 1998) in http://www.xml.com/axml/axml.html
or a simple tutorial on XML, etc. in http://www.w3schools.com/default.asp
For the book "Java Development with Ant" by Erik Hatcher and Steve Loughran see http://www.manning.com/hatcher/
Ant task reference from this book (Appendix E) is also available via http://www.manning.com/hatcher/,
as well as Chapter 4 on Testing with JUnit http://www.manning.com/hatcher/
See also Apache Ant 1.7.1 Manual in C:\JAVA\ANT\docs\manual\index.html in your computers in University labs.
or the same: http://ant.apache.org/manual/index.html
For a list of system properties see http://java.sun.com/j2se/1.3/docs/api/java/lang/System.html#getProperties()
Using JAR Files: The Basics: http://java.sun.com/docs/books/tutorial/deployment/jar/basicsindex.html
Viewing the Contents of a JAR File: http://java.sun.com/developer/Books/javaprogramming/JAR/basics/view.html
JUnit Web site: http://www.junit.org/home