\chapter{JStar Tuple Timing Graph Installation Guide}\label{ch:graph_tuple_time}
JStar Tuple Timing Graph requires the Eclipse, JDK 1.7, and Google Apps Engine eclipse plugin for Eclipse 4.2.
The instructions are:
\begin{enumerate}
  \item Download and install JDK 1.7 and Eclipse 4.2.
  \item Install \texttt{Subversion Team Provider} from Eclipse.
	\begin{enumerate}
	\item From the menu bar, select Help $>$ \textbf{Install New software}.
	\item Add Juno eclipse update site. Click the \emph{Add} button. When the \emph{Add Repository} dialog shows up,
	    enter \emph{Juno} at the name textarea and copy the Juno URL\footnote{\url{http://download.eclipse.org/releases/juno/}}
	    to the location textarea.
\item On \textbf{Work with:} textbox, choose \emph{Juno}. Click \textbf{Collaboration} $>$ \textbf{Subversion SVN Team
Provider}. Select 'OK' on the 'SecurityWarning' and 'License Agreement' windows.
	\item When the connector installation dialog pops up, choose \textbf{SVN Kit 1.7.5-v1} as the SVN connector.
	Click 'Finish' to restart Eclipse.
	\end{enumerate}
  \item Install \texttt{Google Plugin for Eclipse} and \texttt{Google App Engine Java SDK}.
  \begin{enumerate}
    \item Add 'Google plugin update site' to the repository. Enter 'Google Plugin' at the name textarea and
    copy the google plugin URL\footnote{\url{http://dl.google.com/eclipse/plugin/4.2}} to the location textarea.
	\item Choose \emph{Google Plugin} and select \textbf{Google Plugin for Eclipse (required)}
	and \textbf{SDKs/Google App Engine Java SDK}. Click \emph{Next} and review the item and agree the installation.
	Click \emph{Finish} and restart the eclipse.
  \end{enumerate}
  \item Import JStar Tuple Timing Graph project from the SVN. As the JStar Tuple Timing Graph source code are stored in
  the Waikato SVN repository, the developers need to email the administrator to create a Symphony account.
  \begin{enumerate}
    \item Import project from the SVN repository. Start the eclipse. Select \textbf{File} $>$ \textbf{Import}. After the
    dialog pops up, choose \textbf{SVN} \textbf{Project from SVN}.
    \item Check out the project from the SVN repository. Enter the SVN URL\footnote{\url{https://svn.cms.waikato.ac.nz/svn/starlog/trunk/tools/trunk/graph\_tuple\_times}}
    on the check-out windows and click \emph{Next}.
	\item Check out as a project with name specified: \textbf{graph\_tuple\_times}. Click 'Finish'.
  \end{enumerate}
  \item Run the JStar tuple timing graph tool.\\
  The Google App engine SDK includes a web server (Jetty), so the apps developers can test the application on their
  local machine. We can start the server and run the application inside the Eclipse.
  \begin{enumerate}
    \item Right click the \texttt{graph\_tuple\_times} project and choose \textbf{Run As} $>$\textbf{Web application}.
    The google apps web server is running on the local machine at 8888 port number.
    \item Start the \textbf{Chrome} browser and go to the \url{http://localhost:8888}.
  \end{enumerate}
  \item Drag-and-drop the output file to the container. The graph is displayed on the HTML 5 canvas. Click 'Next' to
  display the next benchmark results. Click 'Previous' to show the previous one.
\end{enumerate}
\cleardoublepage
