Projet

Général

Profil

MAY Install » Historique » Version 43

Anonyme, 16/12/2011 14:03

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 38 Anonyme
You will need *the latest* Eclipse *Helios* distribution. The Eclipse IDE for Java Developers will be fine.
10
11
You can download it here: http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/heliossr2
12 37 Anonyme
13 39 Anonyme
Install it and launch it.
14
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
On some windows installation it may be automatic, but if you are using linux you always have to configure this.
19 39 Anonyme
20
Window / Preferences
21
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 42 Anonyme
Select Network Connections and choose *Manual* for the Active Provider setting.
29
Then select the ligne with HTTP and click edit.
30
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
48
49 37 Anonyme
50 4 Anonyme
51 11 Anonyme
Install it, and then install the MAY plugin for eclipse : Help / Install New Software... / Add...
52 4 Anonyme
Name: may
53 21 Anonyme
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 12 Anonyme
Select Make Agents Yourself and click Next. It will take some times calculating requirements and dependencies.
58 13 Anonyme
Click Next again when it shows you the install details and accept the terms of the licence agreements, then finish.
59 12 Anonyme
60 14 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