MAY Install » Historique » Version 52
Anonyme, 16/12/2011 14:11
| 1 | 4 | Anonyme | *Draft version...* |
|---|---|---|---|
| 2 | |||
| 3 | 10 | Anonyme | h1. SpeADL MAY Installation |
| 4 | 1 | Anonyme | |
| 5 | 37 | Anonyme | h2. Eclipse Helios |
| 6 | 32 | Anonyme | |
| 7 | 4 | Anonyme | The following instructions will guide you through the SpeADL MAY installation process. |
| 8 | 1 | Anonyme | Sometimes, eclipse answer delay are a bit long, make sure you don't abort an operation thinking it crashed, wait for it to finish. |
| 9 | 47 | Anonyme | You will need the latest Eclipse *Helios* distribution. The Eclipse IDE for Java Developers will be fine. |
| 10 | 38 | Anonyme | |
| 11 | You can download it here: http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/heliossr2 |
||
| 12 | 37 | Anonyme | |
| 13 | 48 | Anonyme | This entire tutorial has been written for this particular Helios eclipse version, so make sure you download and use this one. |
| 14 | 39 | Anonyme | Install it and launch it. |
| 15 | |||
| 16 | 37 | Anonyme | h2. Eclipse and proxy |
| 17 | 39 | Anonyme | |
| 18 | 43 | Anonyme | If you are behind a proxy you may need to configure eclipse. |
| 19 | 39 | Anonyme | |
| 20 | 49 | Anonyme | *Window* / *Preferences* |
| 21 | 39 | Anonyme | |
| 22 | 40 | Anonyme | !https://wwwsecu.irit.fr/redmine/attachments/download/390/eclipse_proxy1.jpg! |
| 23 | 39 | Anonyme | |
| 24 | 41 | Anonyme | Type *connection* in the text field and it will bring the following : |
| 25 | |||
| 26 | !https://wwwsecu.irit.fr/redmine/attachments/download/391/eclipse_proxy2.jpg! |
||
| 27 | |||
| 28 | 50 | Anonyme | Select *Network Connections* and choose *Manual* for the Active Provider setting. |
| 29 | 52 | Anonyme | Then select the ligne with *HTTP* and click *edit*. |
| 30 | 42 | Anonyme | |
| 31 | !https://wwwsecu.irit.fr/redmine/attachments/download/392/eclipse_proxy3.jpg! |
||
| 32 | 1 | Anonyme | |
| 33 | 43 | Anonyme | Enter your Host and Port information. At the IRIT these are : |
| 34 | Host : proxy.irit.fr |
||
| 35 | Port : 8001 |
||
| 36 | 1 | Anonyme | |
| 37 | 43 | Anonyme | !https://wwwsecu.irit.fr/redmine/attachments/download/394/eclipse_proxy5.jpg! |
| 38 | 1 | Anonyme | |
| 39 | 43 | Anonyme | Click OK. |
| 40 | Do the same for the HTTPS line. You should obtain the following : |
||
| 41 | 1 | Anonyme | |
| 42 | 43 | Anonyme | !https://wwwsecu.irit.fr/redmine/attachments/download/393/eclipse_proxy4.jpg! |
| 43 | |||
| 44 | Click OK. |
||
| 45 | |||
| 46 | |||
| 47 | 44 | Anonyme | h2. Make Agents Yourself Plugin |
| 48 | 4 | Anonyme | |
| 49 | 44 | Anonyme | Now you are ready to install the MAY plugin for eclipse : Help / Install New Software... / Add... |
| 50 | 4 | Anonyme | Name: may |
| 51 | 21 | Anonyme | Location: http://www.irit.fr/~Victor.Noel/may/update-may-2/ |
| 52 | 5 | Anonyme | |
| 53 | 24 | Anonyme | !https://wwwsecu.irit.fr/redmine/attachments/download/349/new_may_add_repo.jpg! |
| 54 | 6 | Anonyme | |
| 55 | 12 | Anonyme | Select Make Agents Yourself and click Next. It will take some times calculating requirements and dependencies. |
| 56 | 13 | Anonyme | Click Next again when it shows you the install details and accept the terms of the licence agreements, then finish. |
| 57 | 12 | Anonyme | |
| 58 | 14 | Anonyme | Click ok when you get the security warning, and accept to restart Eclipse now. |
| 59 | 13 | Anonyme | |
| 60 | !https://wwwsecu.irit.fr/redmine/attachments/download/339/security_warning.jpg! |
||
| 61 | |||
| 62 | 16 | Anonyme | h2. MAVEN plugin |
| 63 | |||
| 64 | 25 | Anonyme | http://eclipse.org/m2e/ |
| 65 | |||
| 66 | 26 | Anonyme | With this tool, you can easily publish projects informations and share JARs across several projects. |
| 67 | 28 | Anonyme | Installing it will save you a lot of time trying to navigate many projects, and will allow you to quickly start using MAY, resolving dependencies and providing you access to existing MAY components. |
| 68 | 25 | Anonyme | |
| 69 | 27 | Anonyme | Follow the instructions on this page to install it : [[Maven Plugin Install for Eclipse]] |
| 70 | 10 | Anonyme | |
| 71 | 35 | Anonyme | h2. SpeADL MAY project Setup |
| 72 | |||
| 73 | When all is installed and that you have configured Maven to work with your proxy, you are ready to create a MAY project. |
||
| 74 | For further instructions, click here: [[SpeADL MAY Project SetUp]] |
||
| 75 | |||
| 76 | 36 | Anonyme | |
| 77 | 10 | Anonyme | h1. Sources |
| 78 | |||
| 79 | The source code can be downloaded using the Mercurial DVCS: |
||
| 80 | |||
| 81 | MAY: |
||
| 82 | |||
| 83 | hg clone https://anon@wwwsecu.irit.fr/hg/SMAC/victor-noel-phd/may/may/ |
||
| 84 | |||
| 85 | Libraries and examples: |
||
| 86 | |||
| 87 | hg clone https://anon@wwwsecu.irit.fr/hg/SMAC/victor-noel-phd/may/lib/ |
||
| 88 | |||
| 89 | For Mercurial integration in Eclipse, use the following plugin: http://javaforge.com/project/HGE |
||
| 90 | |||
| 91 | In particular, the following update site can be used: |
||
| 92 | |||
| 93 | http://cbes.javaforge.com/update |