Make Agents Yourself » Historique » Révision 16
« Précédent |
Révision 16/104
(diff)
| Suivant »
Anonyme, 23/11/2011 13:56
SpeADL MAY¶
This page is about the upcoming version of MAY based on the SpeADL language.
Installation¶
To install it, use the following update site with Eclipse Helios:
http://www.irit.fr/~Victor.Noel/may/update-may-2/
Development version is at (careful, could be buggy and breaking everything):
http://www.irit.fr/~Victor.Noel/may/update-may-2-snpashots/
Setting up a project¶
After creating a Java project, don't forget to add the SpeADL Nature to the project (right-click, configure).
Then create a new file with the speadl extension.
Maven integration¶
Common components are available as Maven artefact.
For maven support in Eclipse, use the following plugin: http://eclipse.org/m2e/
In particular, the following update site can be used:
http://download.eclipse.org/technology/m2e/releases
Maven artefacts with common components are available in the following repository:
http://www.irit.fr/~Victor.Noel/maven-repos/
A good starting pom.xml for a new project is the following:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>XXX</groupId>
<artifactId>XXX</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>fr.irit.smac.may.lib</groupId>
<artifactId>common-components</artifactId>
<version>0.0.3</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>fr.irit.smac</id>
<url>http://www.irit.fr/~Victor.Noel/maven-repos/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src-gen</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Sources¶
The source code can be downloaded using the Mercurial DVCS:
MAY:
hg clone https://anon@wwwsecu.irit.fr/hg/SMAC/victor-noel-phd/may/may/
Libraries and examples:
hg clone https://anon@wwwsecu.irit.fr/hg/SMAC/victor-noel-phd/may/lib/
For Mercurial integration in Eclipse, use the following plugin: http://javaforge.com/project/HGE
In particular, the following update site can be used:
http://cbes.javaforge.com/update
Work In Progress¶
To install it: SpeADL MAY Install
Install Maven Plugin: Maven Plugin Install for Eclipse
To set-up a new project using Maven: SpeADL MAY Project SetUp
Mis à jour par Anonyme il y a plus de 14 ans · 104 révisions