Projet

Général

Profil

MAY Install » Historique » Version 59

Anonyme, 16/12/2011 15:18

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