| 1 | [[PageOutline]] |
| 2 | |
| 3 | __NOTE__: For Flair version <= 0.2.1, see [wiki:repo/sync_old this page] |
| 4 | |
| 5 | = Get repositories = |
| 6 | |
| 7 | Depending on what you are doing with Fl-AIR, there are several options for getting the repositories. |
| 8 | |
| 9 | If you are an Heudiasyc user, you also need flair-hds repository, [wiki:hds_users see here]. |
| 10 | |
| 11 | == Only developing applications based on latest Fl-AIR version == |
| 12 | |
| 13 | To get the latest version of Fl-AIR run the following commands: |
| 14 | {{{ |
| 15 | $ cd $FLAIR_ROOT |
| 16 | $ svn co https://devel.hds.utc.fr/svn/flair-src/tags/latest flair-src |
| 17 | }}} |
| 18 | |
| 19 | == Developing applications based on multiple versions of Fl-AIR == |
| 20 | |
| 21 | If you need more than one version of Fl-AIR on your computer, on solution is to do the following: |
| 22 | |
| 23 | {{{ |
| 24 | $ cd $FLAIR_ROOT |
| 25 | $ svn co https://devel.hds.utc.fr/svn/flair-src flair-src_svn |
| 26 | }}} |
| 27 | This will sync all the repositories. To avoid this have look at ''--set-depth'' svn command. |
| 28 | |
| 29 | Then make a symbolic link to the version you need: |
| 30 | {{{ |
| 31 | $ cd $FLAIR_ROOT |
| 32 | $ ln -s flair-src_svn/tags/0.0.1 flair-src |
| 33 | }}} |
| 34 | |
| 35 | == Developing on Fl-AIR == |
| 36 | |
| 37 | To develop on Fl-AIR (lib, tools or demos), you need the trunk. It can be also a good idea to have the tags. |
| 38 | |
| 39 | {{{ |
| 40 | $ cd $FLAIR_ROOT |
| 41 | $ svn co https://devel.hds.utc.fr/svn/flair-src flair-src_svn |
| 42 | }}} |
| 43 | This will sync all the repositories. To avoid this have look at ''--set-depth'' svn command. |
| 44 | example, to only checkout the trunk: |
| 45 | {{{ |
| 46 | # svn co --depth immediates https://devel.hds.utc.fr/svn/flair-dev flair-dev_svn (only checkout branches name) |
| 47 | # cd flair-dev_svn/trunk |
| 48 | # svn up --set-depth infinity |
| 49 | }}} |
| 50 | |
| 51 | Then make a symbolic link to the trunk: |
| 52 | {{{ |
| 53 | $ cd $FLAIR_ROOT |
| 54 | $ ln -s flair-src_svn/trunk flair-src |
| 55 | }}} |