excilys/gatling — pull request #412 by nhuray (2012-02-13 23:08:02+00:00)
Title: Gatling Debian Package

Hi all,

I'd like to proposed a patch to build Gatling as a Debian package.

The Debian package is built with the JDeb Maven plugin : https://github.com/tcurdt/jdeb

The Debian package installation has the following structure :

/usr/share/gatling : gatling home directory
\_ bin : bin directory
\_ conf : default configuration
\_ lib : lib directory

/usr/bin/gatling : bash script who calls /usr/share/gatling/bin/gatling.sh script

When the /usr/bin/gatling script is called, a workspace is created for the user in :

/home/{user}/.gatling
\_ conf : gatling user conf (copied from /usr/share/gatling/conf)
\_ user-files
\_ data : data files
\_ request-bodies : request bodies files
\_ simulations : simulations files
\_ results : results directory

It's also possible to set environnement variables for the user in ~/.bashrc for example.

Of course if the gatling parameters are set they takes precedence over the variables defined on~/.bashrc

Regards,

Nicolas