1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74  \index{dbtool} \begin{enumerate} \item Once you have browsed to the \app{} installation directory and entered \bxshell{dbtool}, you can enter the parameters for the \gddb{} actions. \item The dbtool uses the parameters described in the table \bxfigref{dbtoolparams}: \begin{table}[h] \label{dbtoolparams} \centering \begin{tabular}{|l|l|} \hline \textbf{Detail}&\textbf{Parameter}%&\textbf{Example} \\ \hline Help &\bxshell{-h}\\ & Gives parameter help\\ \hline Delete Project & \bxshell{-delete }\\ &e.g. \emph{-delete ''ExampleProject'' 1.0}\\ \hline Delete All & \bxshell{-deleteall}\\ &e.g. \emph{-deleteall}\\ \hline Keep test result summaries & \bxshell{-keepsummary} (optional)\\ &e.g. \emph{-keepsummary}\\ \hline Directory & \bxshell{-directory }\\ &e.g. \emph{-directory ''D:/Test/Projects/''}\\ \hline Export Project & \bxshell{-export }\\ &e.g. \emph{-export ''ExampleProject'' ''1.0''}\\ \hline Export All & \bxshell{-exportall}\\ &e.g. \emph{-exportall}\\ \hline Import Project & \bxshell{-import }\\ &e.g. \emph{-import }\\ \hline Database scheme & \bxshell{-dbscheme }\\ &e.g. \emph{-dbscheme ''Oracle''}\\ \hline Database username & \bxshell{-dbuser }\\ &e.g. \emph{-dbuser ''myusername''}\\ \hline Database password & \bxshell{-dbpw }\\ &e.g. \emph{-dbpw ''mypassword''}\\ \hline Database URL (optional) & \bxshell{-dburl }\\ &e.g. \emph{-dburl ''db.example.de''}\\ &If no URL is given, the default will be used.\\ \hline \end{tabular} \caption{Parameters for the dbtool} \end{table} \item You can use the parameter \bxshell{-keepsummary} to specify that the test result summaries should not be deleted when the \gdproject{} or \gdprojects{} are deleted. This is useful for continuous integration processes, where the test results over time should be kept, but the \gdprojects{} are reimported into the \gddb{} (for example from the version control system) each night. If you do not enter this parameter, the summaries will be deleted with the \gdprojects{}. \item Once you have entered all the necessary parameters, press \bxkey{enter}. \end{enumerate}