Projet

Général

Profil

MAY Install » Historique » Version 63

Anonyme, 07/02/2012 19:10

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