Ant is already installed on OS X, but if you want the newest version:
Download JUnit from here
Download Apache Ant from here
JUnit will be a .jar file. Move it into "/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext"
ant --version # Demonstrate builtin version
cd ~/Downloads # Let's get into your downloads folder.
tar -xvzf apache-ant-1.8.1-bin.tar.gz # Extract the folder
sudo mkdir -p /usr/local # Ensure that /usr/local exists
sudo cp -rf apache-ant-1.8.1-bin /usr/local/apache-ant # Copy it into /usr/local
# Add the new version of Ant to current terminal session
# Add the new version of Ant to future terminal sessions
echo 'export PATH=/usr/local/apache-ant/bin:"$PATH"' >> ~/.profile
# Demonstrate new version of ant
Make a working directory for timeline/timeplot:
Get timeline/timeplot from svn - really only need the trunk:
svn checkout http://simile-widgets.googlecode.com/svn/timeline
svn checkout http://simile-widgets.googlecode.com/svn/timeplot
Now in both the working directories if you have JRE installed (default in Mac) then you can enter the trunk directory and type ./run
This will start a jetty webserver and you can access the time lines from a browser at address: http://127.0.0.1:9999/timeline (or timeplot) depending on which one you want to view.
The index.html file is in /src/webapp.