Projet

Général

Profil

Make Agents Yourself » Historique » Révision 4

Révision 3 (Anonyme, 06/06/2011 18:41) → Révision 4/104 (Anonyme, 16/06/2011 14:57)

h1. SpeADL MAY 

 This page is about the upcoming version of MAY based on the SpeADL language. 

 h2. Installation 

 To install it, use the following update site with Eclipse Helios: site: 

  http://www.irit.fr/PERSONNEL/SMAC/noel/may/update-snapshots/ 

 h2. 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. 

 h2. Maven integration 

 Maven artefacts with common components are available in the following repository: 

  http://www.irit.fr/PERSONNEL/SMAC/noel/maven-repos/ 

 A good starting pom.xml for a new project is the following: 

 <pre> 
 <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.1-SNAPSHOT</version> 
			 <type>jar</type> 
			 <scope>compile</scope> 
		 </dependency> 
	 </dependencies> 
	 <repositories> 
		 <repository> 
			 <id>fr.irit.smac</id> 
			 <url>http://www.irit.fr/PERSONNEL/SMAC/noel/maven-repos/</url> 
		 </repository> 
	 </repositories> 
	 <build> 
		 <plugins> 
			 <plugin> 
				 <groupId>org.codehaus.mojo</groupId> 
				 <artifactId>build-helper-maven-plugin</artifactId> 
				 <version>1.5</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> 
 </pre> 

 h2. 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: 

  hg clone https://anon@wwwsecu.irit.fr/hg/SMAC/victor-noel-phd/may/lib/