Projet

Général

Profil

Make Agents Yourself » Historique » Version 1

Anonyme, 03/06/2011 18:09

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