AMAPstudio

User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
documentation:svn [2018/10/31 10:13]
beudez [1. Install Java SE 8 (JDK)]
documentation:svn [2020/03/11 11:12]
beudez
Line 22: Line 22:
 **On windows** **On windows**
   * Download and install the Java developper Kit (**JDK** and not JRE) version 1.8 :    * Download and install the Java developper Kit (**JDK** and not JRE) version 1.8 : 
-    * [[http://​www.oracle.com/​technetwork/​java/​javase/​downloads/​jdk8-downloads-2133151.html|Try from here]] (e.g. Windows x86 for 32 bits systems)+    * [[http://​www.oracle.com/​technetwork/​java/​javase/​downloads/​jdk8-downloads-2133151.html|Try from here]] (e.g. Windows x86 for 32 bits systems).
  
   * Modify the **PATH** environment variable according to your installation directory ​   * 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.      ​* ​ 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) +     * In the ''​PATH'' ​**system** variable ​(**not** in ''​PATH''​ **user** 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+    * 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.     * You should only have one bin/ directory for a JDK in the path at a time. Those following the first instance will be ignored.
  
Line 33: Line 33:
  
    * Download a JDK installer    * Download a JDK installer
-     * [[http://​www.oracle.com/​technetwork/​java/​javase/​downloads/​jdk8-downloads-2133151.html|Try from here]] (e.g. Linux x64 tar.gz for Linux Ubuntu 64 bits systems)+     * [[http://​www.oracle.com/​technetwork/​java/​javase/​downloads/​jdk8-downloads-2133151.html|Try from here]] (e.g. Linux x64 tar.gz for Linux Ubuntu 64 bits systems).
  
-If the ''​PATH''​ variable is to be updated, have a look in ''/​etc/​environment'',​ ''​~/​.bashrc''​ or ''​~/​.profile''​. You may have a look at this doc to [[https://​help.ubuntu.com/​community/​EnvironmentVariables|change the PATH under Linux Ubuntu]]. +     ​* ​If the ''​PATH''​ variable is to be updated, have a look in ''/​etc/​environment'',​ ''​~/​.bashrc''​ or ''​~/​.profile'' ​files. You may have a look at this doc to [[https://​help.ubuntu.com/​community/​EnvironmentVariables|change the PATH under Linux Ubuntu]]. 
-The path to the location of the bin/ folder of the installed JDK must be added at the first position ​of the ''​PATH''​ variable. A ":"​ must be added between the paths in the ''​PATH''​ variable.+ 
 +     ​* ​The path to the location of the bin/ folder of the installed JDK must be added __at first position__ ​of the ''​PATH''​ variable. A ":"​ must be added between the paths in the ''​PATH''​ variable.
  
 -> To check if your installation of java is now correct, [[faq|check the FAQ]]. -> To check if your installation of java is now correct, [[faq|check the FAQ]].
Line 65: Line 66:
 ** Note: This is your new login password you entered when you registered on amap-dev at section 2** ** Note: This is your new login password you entered when you registered on amap-dev at section 2**
   * Validate and finish   * Validate and finish
 +
 +<box 80% round green |**Possible trouble** >
 +
 +The checkout operation may fail after a while with an error message, e.g. 
 +
 +//APR does not understand this error code
 +ra_serf: The server sent a truncated HTTP response body//
 +
 +In this case, try to continue the operation this way in SmartSVN: ​
 +
 +  * select the capsis4 (top level) directory in the '​Directories'​ panel, ​
 +  * Modify > Cleanup
 +  * Update
 +
 +This should continue the process. This operation might be done several times in case your internet connection is not optimal.
 +</​box>​
  
 /* /*
Line 95: Line 112:
 You may ask for support to well understand the process when updating your local copy or commiting your changes the first time. You may ask for support to well understand the process when updating your local copy or commiting your changes the first time.
  
-For more information on the SVN commands, see this doc: [[documentation:​svn_update_and_commit|SVN update and commit]]+For more information on the SVN commands, see this doc: [[documentation:​svn_update_and_commit|SVN update and commit]].
  
 ==== 5. Recompile and start Capsis==== ==== 5. Recompile and start Capsis====
Line 116: Line 133:
 The ''​capsis.bat''​ or ''​capsis.sh''​ scripts are used to start capsis : The ''​capsis.bat''​ or ''​capsis.sh''​ scripts are used to start capsis :
  
-Under Windows+Under Windows:
  
   capsis ​   capsis ​
  
-Under Linux +Under Linux:
  
   sh capsis.sh   sh capsis.sh
Line 131: Line 148:
 ==== 6. Configure your editor ==== ==== 6. Configure your editor ====
  
- See [[documentation:​code editor]]+ See [[documentation:​code editor]].
  
 ==== 7. Other useful command ==== ==== 7. Other useful command ====
  
- See [[documentation:​ant]]+ See [[documentation:​ant]].
documentation/svn.txt · Last modified: 2020/08/31 07:42 by beudez