User Tools

Site Tools


howtoinstallthesvnamapstudioversionforthemodellers

How to install the SVN-AMAPstudio version for the modellers

This documentation is for AMAPstudio modellers (according to the AMAPstudio charter), it explains how to get a local copy of AMAPstudio on their computer to be able to add their own work in the platform.

AMAPstudio software sources are hosted on a Subversion repository, these sources are available for the developers and modellers only (see the AMAPstudio charter).

A Login is required (see section 2. below).

Important note

If you are not already an AMAPstudio modeller and if you would like to integrate a model in AMAPstudio, please see Who can join the AMAPstudio project ?, and contact the development team (see contact) in order your registration to be validated.

1. Install Java SE 8 (JDK)

AMAPstudio relies on Java version 1.8 (or Java 8): Java Development Kit Standard Edition version 1.8.

On windows

  • Modify the PATH environment variable according to your installation directory
    • Click Start > Control Panel > System on Windows XP or Start > Settings > Control Panel > System > Advanced > Environment Variables
    • In the PATH system variable, add the location of the bin/ folder of the installed JDK at first position. A typical value is: C:\Program Files\Java\jdk1.8.0_<version>\bin (you may seek this directory in a file manager and copy / paste the path)
    • A ; must be added between the paths in the PATH variable
    • You should only have one bin/ directory for a JDK in the path at a time. Those following the first instance will be ignored.

On Linux

  • Download a JDK installer

If the PATH is to be updated, have a look in /etc/environment, ~/.bashrc or ~/.profile. You may have a look at this doc to change the PATH under Linux Ubuntu.

→ To check if your installation of java is correct, check the FAQ.

2. Create an amap-dev account

AMAPstudio files are hosted on the amap-dev development server. To access to AMAPstudio files, you need to create an account on the server.

3. Get a local copy of the project (checkout)

SmartSVN allows to access to SVN repository.

  • Download and Install SmartSVN: https://www.smartsvn.com/ (more downloads here: https://www.wandisco.com/subversion/download)
  • Start SmartSVN
    • if Smartsvn asks for svnserve and svnadmin, click Cancel
    • During installation, SmartSVN may ask you if you want to evaluate the Pro version. You can ignore this message
  • Choose Check out project from repository
  • Quick Checkout:
  • Enter your login and password
    • Note: This is your new login password you entered when you registered on amap-dev at section 2
  • Validate and finish

4. SVN usual operations

Later when you will need to get the last changes of the server downloaded to your local copy, you will use SmartSVN and the Update command.

When you will have to upload your own changes onto the server, you will use the SVN Commit command.

You may ask for support to well understand the process when updating your local copy or commiting your changes the first time.

5. Recompile and start AMAPstudio

  • Open a terminal (Dos prompt under windows, shell under linux)
  • Go to the amapstudio/ directory with cd
  • Recompile the project
ant compile
  • If you need a full recompilation (should be done after each update)
ant clean compile

Note : If there are errors, please contact the AMAPstudio team.

  • Then you can launch the AMAPstudio applications.

Example, launch Simeo

The simeo.bat or simeo.sh scripts are used to start simeo :

Under Windows

simeo 

Under Linux

sh simeo.sh
howtoinstallthesvnamapstudioversionforthemodellers.txt · Last modified: 2021/12/17 09:22 by 127.0.0.1