Skip to content

Commit 25f474c

Browse files
Finishing another section
1 parent 5eacd37 commit 25f474c

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

MUSESDevGuide.bib

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,10 @@ @misc{githelp:site
2626
url = {https://help.github.com/},
2727
lastaccess = {March, 2015}
2828
}
29+
30+
@misc{m2eclipse:site,
31+
author = {The Eclipse Foundation},
32+
title = {M2Eclipse},
33+
url = {http://www.eclipse.org/m2e/},
34+
lastaccess = {March, 2015}
35+
}

MUSESDevGuide.tex

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
\usepackage[utf8]{inputenc}
44
\usepackage{lmodern}
55
\usepackage{url}
6+
\usepackage{graphicx}
67
\usepackage[UKenglish]{babel}
78
\usepackage[UKenglish]{isodate}
89

@@ -39,6 +40,7 @@ \section{MUSES on Github}
3940
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:
4041

4142
\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.
4244
\item[Muses-Security-Quiz]
4345
\item[MusesCommon]
4446
\item[MusesServer] This repository contains all the files in the Java-Maven MUSES server project.
@@ -71,12 +73,40 @@ \section{Installing Android SDK}
7173
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.
7274

7375
\section{Building Common project}
76+
\label{sec:common}
7477

7578
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}.
7679

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+
7797
\chapter{Building MUSES Server}
7898
\label{ch:server}
7999

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+
80110

81111
\chapter{Creating and integrating new sensors}
82112
\label{ch:sensors}

0 commit comments

Comments
 (0)