Projet

Général

Profil

Make Agents Yourself » Historique » Version 3

Anonyme, 06/06/2011 18:41

1 1 Anonyme
h1. SpeADL MAY
2
3 2 Anonyme
This page is about the upcoming version of MAY based on the SpeADL language.
4 1 Anonyme
5 2 Anonyme
h2. Installation
6 1 Anonyme
7
To install it, use the following update site:
8
9
 http://www.irit.fr/PERSONNEL/SMAC/noel/may/update-snapshots/
10
11 2 Anonyme
h2. Setting up a project
12 1 Anonyme
13
After creating a Java project, don't forget to add the SpeADL Nature to the project (right-click, configure).
14
Then create a new file with the speadl extension.
15
16 2 Anonyme
h2. Maven integration
17
18
Maven artefacts with common components are available in the following repository:
19
20
 http://www.irit.fr/PERSONNEL/SMAC/noel/maven-repos/
21
22 1 Anonyme
A good starting pom.xml for a new project is the following:
23
24
<pre>
25
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27
	<modelVersion>4.0.0</modelVersion>
28
	<groupId>XXX</groupId>
29
	<artifactId>XXX</artifactId>
30
	<version>0.0.1-SNAPSHOT</version>
31
	<dependencies>
32
		<dependency>
33
			<groupId>fr.irit.smac.may.lib</groupId>
34
			<artifactId>common-components</artifactId>
35
			<version>0.0.1-SNAPSHOT</version>
36
			<type>jar</type>
37
			<scope>compile</scope>
38
		</dependency>
39
	</dependencies>
40
	<repositories>
41
		<repository>
42
			<id>fr.irit.smac</id>
43
			<url>http://www.irit.fr/PERSONNEL/SMAC/noel/maven-repos/</url>
44
		</repository>
45
	</repositories>
46
	<build>
47
		<plugins>
48
			<plugin>
49
				<groupId>org.codehaus.mojo</groupId>
50
				<artifactId>build-helper-maven-plugin</artifactId>
51
				<version>1.5</version>
52
				<executions>
53
					<execution>
54
						<id>add-source</id>
55
						<phase>generate-sources</phase>
56
						<goals>
57
							<goal>add-source</goal>
58
						</goals>
59
						<configuration>
60
							<sources>
61
								<source>src-gen</source>
62
							</sources>
63
						</configuration>
64
					</execution>
65
				</executions>
66
			</plugin>
67
		</plugins>
68
	</build>
69
</project>
70
</pre>
71 2 Anonyme
72
h2. Sources
73
74
The source code can be downloaded using the Mercurial DVCS:
75
76
MAY:
77 3 Anonyme
78 2 Anonyme
 hg clone https://anon@wwwsecu.irit.fr/hg/SMAC/victor-noel-phd/may/may/
79
80
Libraries:
81 3 Anonyme
82 2 Anonyme
 hg clone https://anon@wwwsecu.irit.fr/hg/SMAC/victor-noel-phd/may/lib/