Commit debbcf5c authored by Johannes Grohmann's avatar Johannes Grohmann
Browse files

added quick start guide

parent 448a52e2
<?xml version="1.0" encoding="UTF-8"?>
\usepackage[colorinlistoftodos, textwidth=2.0cm]{todonotes}
\newcommand{\todoall}[1]{\todo[inline, color=orange!40]{OPEN: #1}}
\newcommand{\todojg}[1]{\todo[inline, color=blue!40]{JG: #1}}
\ No newline at end of file
% Oberer Teil der Titelseite:
\title{First Steps with DML}
\date{{\large \today}
\author{Johannes Grohmann, Simon Eismann, Jürgen Walter}
\HRule \\[0.4cm]
{ \huge \bfseries User Guide}\\[0.4cm]
\HRule \\[1.5cm]
{\large \today}
\ No newline at end of file
What is DML?
\todoall{copy from user guide?}
\ No newline at end of file
The following steps guide you through the installation of the DML Bench.
\subsection{System Requirements}
In order to install DML, your system needs to meet the following prerequisites:
\todoall{is that correct?}
\item \textbf{Operation System:} Windows 7/8/10, MacOS X or Linux, all 32-bit or 64-bit
\item \textbf{Java Runtime Environment:} at least 1.6
\item \textbf{Eclipse:} Eclipse Standard 4.4 or higher\footnote{Download from \url{}}, with the Eclipse Modeling Tools\footnote{Download from \url{}} installed.
\subsection{New Installation}
You can install the DML bench as an Eclipse plugin from the update site\footnote{\url{}}. Follow these steps:
\item In Eclipse go to \emph{Help} $\rightarrow$ \emph{Install new Software} \\
\item Add a new repository with \url{} as location. \\
\item Select all desired plug-ins from the DML Bench (usually all) for installation and click next.\\
\item Accept the license agreements.
\item Confirm the security warning. \\
\item After completion, restart Eclipse. \\
\item Done. You should now be able to use DML with your Eclipse installation.
\subsection{Update Existing Installation}
To update an existing installation of any DML plugin follow these steps:
\item In Eclipse go to \emph{Help} $\rightarrow$ \emph{Check for Updates}
\item Wait for the Eclipse operations to complete.
\item If a DML update is available, select the plug-ins you want to update (usually all) and follow the next steps to install it. Otherwise, your installation is up-to-date.
\item Accept the license agreements.
\item Confirm the security warning. \\
\item After completion, restart Eclipse. \\
\item Done. Your DML bench should now be up-to-date.
\section{Getting started}
This section explains the first steps with a simple example.
\subsection{Importing a simple example model}
A set of example models can be found and downloaded at \url{}.
The easiest way to try one is described in the following:
\item Download the zip archive containing the examples at \url{}.
\item Unpack the zip archive into a folder of your choosing, e.g. your workspace.
\item You can now either import all projects as an existing eclipse projects or just import a simple example. The following steps assume you want to import the ``Hello World'' model.
\item Right-click on the \emph{Project explorer}.
\item Click on \emph{New} $\rightarrow$ \emph{Project...}.
\item From \emph{General}, select \emph{Project} and confirm by clicking on \emph{Next}.\\
\item Enter ``Hello World Example'' or any other name you like as project name and confirm by clicking on \emph{Finish}.\\
\item Now, right-click on the new project in the \emph{Project explorer} and select \emph{Import...}.\\
\item From \emph{General}, select \emph{File System}.
\item After clicking on \emph{Next}, select \emph{Browse} in the following window.
\item Then browse to the location containing the unpacked DML examples and select the folder \emph{HelloWorldExample}.
\item Select all items and then click on \emph{Finish} to import the files into your existing project.\\
\item Your project should now look like this:\\
\subsection{Execute a simple query}
The projects usually contain multiple folders. The folder \emph{DML-Model} contains all DML model files required to specify the system.
For modeling the application architecture, there are a repository model and a system model. To model the resource landscape, there are resource landscape, container repository, and resource type model. Furthermore, there are deployment models connecting application architecture and resource landscape, as well as usage profile models.
\todoall{which cite/link to DQL?}
In order to solve the DML models, Descartes Query Language (DQL) queries are formulated. A set of example queries is contained in the folder \emph{DQL-Queries}.
Using the DQL launcher as shown in the figure below, DQL queries can be issued.\\
\todoall{fails upon execution for me}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment