CS 160: Software Engineering

 

Sections 1 and 2

Spring Semester 2008

Department of Computer Science
San Jose State University
Instructor: Prof. Ron Mak

Assignment: Ant Build Script

Assigned:

Thursday, February 14

Due:

Thursday, February 21

 

100 points

Ant build script

Download from Subversion the directory tree ‘pi’ which contains several Java source files using the command:

 

svn checkout http://svn4.cvsdude.com/sjsu_cs/cs160mak_alpha/pi

 

(If you are prompted for a user name and password, use ‘mjayne’ for both.)

 

You should then have:

 

 

Assignment

Create an Ant script build.xml in directory pi/ containing tasks that will:

 

 

You can download Ant from http://ant.apache.org/bindownload.cgi.

 

Useful references:

http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html

http://ant.apache.org/manual/tutorial-writing-tasks.html

 

http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html

 

http://www.apropos-logic.com/nc/PiBorwein.html

 

The pi program is from Java Number Cruncher: The Java Programmer’s Guide to Numerical Computing, by R. Mak. See http://www.apropos-logic.com. Mouse-over the “Demos” link at the left and choose the “Computing pi” menu item.