Skip to content

ucsb-cs56-pconrad/cs56-rational-ex04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is part of a series of Java tutorials for a Rational class written by Phill Conrad for CMPSC 56, a Java course taught in the Dept. of Computer Science at UC Santa Barbara.

For detailed instructions, see:

Previous Repo This Repo Next Repo
cs56-rational-ex03 cs56-rational-ex04 cs56-rational-ex05
Previous Lesson This Lesson Next Lesson
rational_ex03 rational_ex04 rational_ex05

Quick start

Once you clone this repo, these commands show how to compile and run the code inside. You need ant to following these instructions; refer to cs56-rational-ex02 and the article on ant for more information.

To do this: Type this command:
Make a jar file ant jar
Run from the jar file java -jar build/rational.jar
Compile ant compile
See the targets in the ant file ant -p
Run the JUnit tests ant test
Produce Javadoc ant javadoc