|
3 | 3 | \usepackage[utf8]{inputenc} |
4 | 4 | \usepackage{lmodern} |
5 | 5 | \usepackage{url} |
| 6 | +\usepackage{graphicx} |
6 | 7 | \usepackage[UKenglish]{babel} |
7 | 8 | \usepackage[UKenglish]{isodate} |
8 | 9 |
|
@@ -39,6 +40,7 @@ \section{MUSES on Github} |
39 | 40 | All the MUSES system code is available at \url{https://github.com/MusesProject}. That is the Github organisation page for MUSES, and it contains the following repositories: |
40 | 41 |
|
41 | 42 | \begin{description} |
| 43 | + \item[Muses-Developer-Guide] Repository with the TeX files which consist of a manual for users that may want to develop for the MUSES project. |
42 | 44 | \item[Muses-Security-Quiz] |
43 | 45 | \item[MusesCommon] |
44 | 46 | \item[MusesServer] This repository contains all the files in the Java-Maven MUSES server project. |
@@ -71,12 +73,40 @@ \section{Installing Android SDK} |
71 | 73 | Now we can install the ADT plugin. This can be done by selecting again \textit{Help > Install New Software...} and then looking at this reposiroty \url{https://dl-ssl.google.com/android/eclipse/}. After that, selecting \textit{Developer Tools} from the package list for installing it (by clicking \textit{Next} and \textit{Finish}), and then restart Eclipse one more time. |
72 | 74 |
|
73 | 75 | \section{Building Common project} |
| 76 | +\label{sec:common} |
74 | 77 |
|
75 | 78 | In order to build the server project, we need to build the common project first as the server project has references to common project. As said in Section \ref{sec:musesgit}, \textit{MusesCommon} is located inside a repository of the MUSES organisation in GitHub (\url{https://github.com/MusesProject}). You can either download it as a ZIP file, or simply clone or fork the repository. For more information about Git, please refer to GitHub Help \cite{githelp:site}. |
76 | 79 |
|
| 80 | +Please note that this is a Maven project (\url{http://maven.apache.org/}). For this reason, Eclipse should have Maven integrated. Following the steps for installing the JDK od ADK plugins, we should go to Eclipse\textit{Help > Install New Software...}. Maven will be at \url{http://download.eclipse.org/technology/m2e/releases} repository \cite{m2eclipse:site}. |
| 81 | + |
| 82 | +Having this done, next step is to import the common project. On Eclipse, click on \textit{File > Import...}. A dialog will show up, to select the import source. A folder with the name ``Maven'' should appear, like in Figure \ref{fig:importdialog}. If not, please make sure that you have installed Maven for Eclipse, and successfully restarted Eclipse. |
| 83 | + |
| 84 | +\begin{figure} |
| 85 | + \begin{center} |
| 86 | + \includegraphics[width=0.6\textwidth]{./Figures/importdialog.png} |
| 87 | + \caption{Shown dialog after clicking on \textit{File > Import...} inside Eclipse.} |
| 88 | + \label{fig:importdialog} |
| 89 | + \end{center} |
| 90 | +\end{figure} |
| 91 | + |
| 92 | +Click on \textit{Existing Maven Projects} and \textit{Next}. Then \textit{Browse...} the folder where the project is stored. Finally, click \textit{Next} and \textit{Finish}. For running projects with Maven, you must right-click on the project, and then go to \textit{Run As > Maven clean}. In the console, you will see a ``BUILD SUCESS'', and then, repeat going to \textit{Run As > Maven install}. Now we are ready to import and run the client. |
| 93 | + |
| 94 | +\section{Building Client application} |
| 95 | +\label{sec:buildclient} |
| 96 | + |
77 | 97 | \chapter{Building MUSES Server} |
78 | 98 | \label{ch:server} |
79 | 99 |
|
| 100 | +%Java EE Developers |
| 101 | +%Startexplorer |
| 102 | +%Git clone |
| 103 | +%Import |
| 104 | +%mvn eclipse:eclipse |
| 105 | +%mysql |
| 106 | +%GRANT ALL |
| 107 | +%maven clean |
| 108 | +%maven install |
| 109 | + |
80 | 110 |
|
81 | 111 | \chapter{Creating and integrating new sensors} |
82 | 112 | \label{ch:sensors} |
|
0 commit comments