Projet

Général

Profil

MAY Install » Historique » Version 68

Anonyme, 13/12/2013 17:13

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 68 Anonyme
You can donwload it here if you don't have it already : http://www.oracle.com/technetwork/java/javase/downloads/
7 60 Anonyme
8 68 Anonyme
h2. Eclipse Kepler
9 32 Anonyme
10 4 Anonyme
The following instructions will guide you through the SpeADL MAY installation process.
11 68 Anonyme
Sometimes, eclipse answer delays are a bit long, make sure you don't abort an operation thinking it crashed: wait for it to finish.
12
You will need the latest Eclipse *Kepler* distribution. The Eclipse IDE for Java Developers will be fine.
13 1 Anonyme
14 68 Anonyme
*Warning : make sure you download the version that matches your JDK. If you have a 32bits JDK, take the 32bits version of Eclipse Kepler. If you have the 64bits JDK, choose Eclipse Kepler 64bits.*
15 60 Anonyme
16 68 Anonyme
You can download Eclipse Kepler here: http://www.eclipse.org/downloads/.
17 37 Anonyme
18 68 Anonyme
Latest version is R1 available at this link: http://www.eclipse.org/downloads/packages/eclipse-standard-431/keplersr1
19
20
This entire tutorial has been written for this particular Kepler eclipse version (screenshots may be outdated), so make sure you download and use this one.
21 64 Anonyme
Install it and launch it.
22 68 Anonyme
There is a known bug on windows that requires eclipse to be launched in administrator mode in order to install plugin correctly (not sure if this is still true...).
23 64 Anonyme
Make sure you always launch it in this mode during the installation process:
24 59 Anonyme
25
!https://wwwsecu.irit.fr/redmine/attachments/download/433/install_admin.png!
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 1 Anonyme
Click *OK*.
56
57
h2. Make Agents Yourself Plugin
58
59
Now you are ready to install the MAY plugin for eclipse : *Help* / *Install New Software...* / *Add...*
60 54 Anonyme
*Name* : may
61 68 Anonyme
*Location* : http://www.irit.fr/~Victor.Noel/may/update-may-3.2/
62 44 Anonyme
63 4 Anonyme
!https://wwwsecu.irit.fr/redmine/attachments/download/349/new_may_add_repo.jpg!
64 55 Anonyme
65 1 Anonyme
Select *Make Agents Yourself* and click *Next*. It will take some times calculating requirements and dependencies.
66 68 Anonyme
67
If Eclipse complains about a missing dependency such as Xtext, close the window, follow the previous process of adding an update site: *Help* / *Install New Software...* / *Add...*
68
*Name* : xtext
69
*Location* : http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
70
71 12 Anonyme
Click *Next* again when it shows you the install details and accept the terms of the licence agreements, then *Finish*.
72 1 Anonyme
73 13 Anonyme
Click *OK* when you get the security warning, and accept to restart Eclipse now.
74
75
!https://wwwsecu.irit.fr/redmine/attachments/download/339/security_warning.jpg!
76 1 Anonyme
77 67 Anonyme
h2. Maven plugin
78 16 Anonyme
79 25 Anonyme
http://eclipse.org/m2e/
80
81 26 Anonyme
With this tool, you can easily publish projects informations and share JARs across several projects.
82 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.
83 25 Anonyme
84 68 Anonyme
Follow the instructions on this page to install it : [[Maven Plugin Install for Eclipse]].
85 10 Anonyme
86 67 Anonyme
h2. SpeADL MAY Project Setup
87 35 Anonyme
88 10 Anonyme
When all is installed and that you have configured Maven to work with your proxy, you are ready to create a MAY project.
89 68 Anonyme
For further instructions, click here: [[SpeADL MAY Project SetUp]].