Commit 1a201a06 authored by Johannes Grohmann's avatar Johannes Grohmann
Browse files

fixed error message by replacing spaces in project name

parent 5ec92ca8
......@@ -10,6 +10,9 @@
\graphicspath{{figs/}}
\usepackage{longtable}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\newcommand{\putimage}[2]{\begin{center}
\includegraphics[width=#1\textwidth]{#2}
\end{center}}
% TODOs
\usepackage[colorinlistoftodos, textwidth=2.0cm]{todonotes}
......
......@@ -14,15 +14,15 @@ You can install the DML bench as an Eclipse plugin from the update site\footnote
\begin{enumerate}
\item In Eclipse go to \emph{Help} $\rightarrow$ \emph{Install new Software} \\
\includegraphics[width=0.9\textwidth]{Screenshot(2).png}
\putimage{0.9}{Screenshot(2).png}
\item Add a new repository with \url{https://se4.informatik.uni-wuerzburg.de/dml/downloads/snapshot/} as location. \\
\includegraphics[width=0.9\textwidth]{Screenshot(4).png}
\putimage{0.9}{Screenshot(4).png}
\item Select all desired plug-ins from the DML Bench (usually all) for installation and click next.\\
\includegraphics[width=0.9\textwidth]{Screenshot(6).png}
\putimage{0.9}{Screenshot(6).png}
\item Accept the license agreements.
\item Confirm the security warning. \\
\includegraphics[width=0.6\textwidth]{Screenshot(7).png}
\putimage{0.6}{Screenshot(7).png}
\item After completion, restart Eclipse. \\
\item Done. You should now be able to use DML with your Eclipse installation.
......@@ -37,7 +37,7 @@ To update an existing installation of any DML plugin follow these steps:
\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. \\
\includegraphics[width=0.6\textwidth]{Screenshot(7).png}
\putimage{0.6}{Screenshot(7).png}
\item After completion, restart Eclipse. \\
\item Done. Your DML bench should now be up-to-date.
......@@ -54,22 +54,22 @@ The easiest way to import is described in the following:
\begin{enumerate}
\item Download the zip archive containing the examples at \url{https://se3.informatik.uni-wuerzburg.de/descartes/dml-examples/repository/archive.zip?ref=master}.
\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 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 ``HelloWorld'' 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}.\\
\includegraphics[width=0.6\textwidth]{Screenshot(10).png}
\item Enter ``Hello World Example'' or any other name you like as project name and confirm by clicking on \emph{Finish}.\\
\includegraphics[width=0.6\textwidth]{Screenshot(11).png}
\putimage{0.9}{Screenshot(10).png}
\item Enter ``HelloWorldExample'' or any other name you like as project name and confirm by clicking on \emph{Finish}.\\
\putimage{0.9}{Screenshot(18).png}
\item Now, right-click on the new project in the \emph{Project explorer} and select \emph{Import...}.\\
\includegraphics[width=0.6\textwidth]{Screenshot(12).png}
\putimage{0.6}{Screenshot(20).png}
\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.\\
\includegraphics[width=0.6\textwidth]{Screenshot(13).png}
\putimage{0.9}{Screenshot(21).png}
\item Your project should now look like this:\\
\includegraphics[width=0.6\textwidth]{Screenshot(15).png}
\putimage{0.6}{Screenshot(24).png}
\end{enumerate}
......@@ -81,9 +81,23 @@ For more detailed information about modeling, please see the modeling guide~\cit
\todoall{Link to the modeling guide}
\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.\\
\includegraphics[width=0.6\textwidth]{Screenshot(17).png}
\begin{enumerate}
\item Double click on any of the files .dql files to the DQL query in the editor.
\item
If a window pops up, asking if you want to convert the project into a \emph{Xtext project}, you can confirm that by clicking on \emph{Yes}.\\
\putimage{0.6}{Screenshot(25).png}
\item You should be able to see and edit the query you clicked.\\
\putimage{0.9}{Screenshot(26).png}
\item You can run DQL queries using the DQL launcher by right-clicking on the .dql file and selecting \emph{Run As} $\rightarrow$ \emph{DQL Launcher}.\\
\putimage{0.6}{Screenshot(17).png}
\item After a short waiting period, you should be able to see the result of the query.\\
\putimage{0.9}{Screenshot(27).png}
\end{enumerate}
\todoall{fails upon execution for me}
Markdown is supported
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