MAY Install » Historique » Version 65
Anonyme, 08/02/2012 14:07
| 1 | 10 | Anonyme | h1. SpeADL MAY Installation |
|---|---|---|---|
| 2 | 1 | Anonyme | |
| 3 | 60 | Anonyme | h2. Java Development Kit |
| 4 | |||
| 5 | You will need to install the Java Development Kit (JDK) in order to run Eclipse. |
||
| 6 | You can donwload it here if you don't have it already : http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html |
||
| 7 | |||
| 8 | 37 | Anonyme | h2. Eclipse Helios |
| 9 | 32 | Anonyme | |
| 10 | 4 | Anonyme | The following instructions will guide you through the SpeADL MAY installation process. |
| 11 | 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. |
| 12 | 47 | Anonyme | You will need the latest Eclipse *Helios* distribution. The Eclipse IDE for Java Developers will be fine. |
| 13 | 60 | Anonyme | |
| 14 | 61 | Anonyme | *Warning : make sure you download the version that matches your JDK. If you have a 32bits JDK, take the 32bits version of Eclipse Helios. If you have the 64bits JDK, choose Eclipse Helios 64bits.* |
| 15 | 38 | Anonyme | |
| 16 | 63 | Anonyme | You can download Eclipse Helios here: http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/heliossr2 |
| 17 | 37 | Anonyme | |
| 18 | 48 | Anonyme | This entire tutorial has been written for this particular Helios eclipse version, so make sure you download and use this one. |
| 19 | 1 | Anonyme | Install it and launch it. |
| 20 | 59 | Anonyme | There is a known bug on windows that requieres eclipse to be launched in administrator mode in order to install plugin correctly. |
| 21 | 64 | Anonyme | Make sure you always launch it in this mode during the installation process: |
| 22 | 65 | Anonyme | |
| 23 | 64 | Anonyme | !https://wwwsecu.irit.fr/redmine/attachments/download/433/install_admin.png! |
| 24 | 59 | Anonyme | |
| 25 | |||
| 26 | 39 | Anonyme | |
| 27 | 37 | Anonyme | h2. Eclipse and proxy |
| 28 | 39 | Anonyme | |
| 29 | 43 | Anonyme | If you are behind a proxy you may need to configure eclipse. |
| 30 | 39 | Anonyme | |
| 31 | 49 | Anonyme | *Window* / *Preferences* |
| 32 | 39 | Anonyme | |
| 33 | 40 | Anonyme | !https://wwwsecu.irit.fr/redmine/attachments/download/390/eclipse_proxy1.jpg! |
| 34 | 39 | Anonyme | |
| 35 | 41 | Anonyme | Type *connection* in the text field and it will bring the following : |
| 36 | |||
| 37 | !https://wwwsecu.irit.fr/redmine/attachments/download/391/eclipse_proxy2.jpg! |
||
| 38 | |||
| 39 | 50 | Anonyme | Select *Network Connections* and choose *Manual* for the Active Provider setting. |
| 40 | 53 | Anonyme | Then select the ligne with *HTTP* and click *Edit*. |
| 41 | 42 | Anonyme | |
| 42 | !https://wwwsecu.irit.fr/redmine/attachments/download/392/eclipse_proxy3.jpg! |
||
| 43 | 1 | Anonyme | |
| 44 | 43 | Anonyme | Enter your Host and Port information. At the IRIT these are : |
| 45 | 54 | Anonyme | *Host* : proxy.irit.fr |
| 46 | *Port* : 8001 |
||
| 47 | 1 | Anonyme | |
| 48 | 43 | Anonyme | !https://wwwsecu.irit.fr/redmine/attachments/download/394/eclipse_proxy5.jpg! |
| 49 | 1 | Anonyme | |
| 50 | 54 | Anonyme | Click *OK*. |
| 51 | Do the same for the *HTTPS* line. You should obtain the following : |
||
| 52 | 1 | Anonyme | |
| 53 | 43 | Anonyme | !https://wwwsecu.irit.fr/redmine/attachments/download/393/eclipse_proxy4.jpg! |
| 54 | |||
| 55 | 54 | Anonyme | Click *OK*. |
| 56 | 43 | Anonyme | |
| 57 | |||
| 58 | 44 | Anonyme | h2. Make Agents Yourself Plugin |
| 59 | 4 | Anonyme | |
| 60 | 55 | Anonyme | Now you are ready to install the MAY plugin for eclipse : *Help* / *Install New Software...* / *Add...* |
| 61 | *Name* : may |
||
| 62 | *Location* : http://www.irit.fr/~Victor.Noel/may/update-may-2/ |
||
| 63 | 5 | Anonyme | |
| 64 | 24 | Anonyme | !https://wwwsecu.irit.fr/redmine/attachments/download/349/new_may_add_repo.jpg! |
| 65 | 6 | Anonyme | |
| 66 | 55 | Anonyme | Select *Make Agents Yourself* and click *Next*. It will take some times calculating requirements and dependencies. |
| 67 | Click *Next* again when it shows you the install details and accept the terms of the licence agreements, then *Finish*. |
||
| 68 | 12 | Anonyme | |
| 69 | 56 | Anonyme | Click *OK* when you get the security warning, and accept to restart Eclipse now. |
| 70 | 13 | Anonyme | |
| 71 | !https://wwwsecu.irit.fr/redmine/attachments/download/339/security_warning.jpg! |
||
| 72 | |||
| 73 | 16 | Anonyme | h2. MAVEN plugin |
| 74 | |||
| 75 | 25 | Anonyme | http://eclipse.org/m2e/ |
| 76 | |||
| 77 | 26 | Anonyme | With this tool, you can easily publish projects informations and share JARs across several projects. |
| 78 | 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. |
| 79 | 25 | Anonyme | |
| 80 | 27 | Anonyme | Follow the instructions on this page to install it : [[Maven Plugin Install for Eclipse]] |
| 81 | 10 | Anonyme | |
| 82 | 35 | Anonyme | h2. SpeADL MAY project Setup |
| 83 | |||
| 84 | When all is installed and that you have configured Maven to work with your proxy, you are ready to create a MAY project. |
||
| 85 | For further instructions, click here: [[SpeADL MAY Project SetUp]] |
||
| 86 | |||
| 87 | 36 | Anonyme | |
| 88 | 10 | Anonyme | h1. Sources |
| 89 | |||
| 90 | The source code can be downloaded using the Mercurial DVCS: |
||
| 91 | |||
| 92 | MAY: |
||
| 93 | |||
| 94 | hg clone https://anon@wwwsecu.irit.fr/hg/SMAC/victor-noel-phd/may/may/ |
||
| 95 | |||
| 96 | Libraries and examples: |
||
| 97 | |||
| 98 | hg clone https://anon@wwwsecu.irit.fr/hg/SMAC/victor-noel-phd/may/lib/ |
||
| 99 | |||
| 100 | For Mercurial integration in Eclipse, use the following plugin: http://javaforge.com/project/HGE |
||
| 101 | |||
| 102 | In particular, the following update site can be used: |
||
| 103 | |||
| 104 | http://cbes.javaforge.com/update |