Projet

Général

Profil

MAY Install » Historique » Version 58

Anonyme, 16/12/2011 14:19

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