From: <jom...@us...> - 2013-12-17 18:47:02
|
Revision: 1768 http://sourceforge.net/p/jason/svn/1768 Author: jomifred Date: 2013-12-17 18:46:59 +0000 (Tue, 17 Dec 2013) Log Message: ----------- fix a problem related to cartago compatibility Modified Paths: -------------- trunk/build.xml trunk/demos/distributed-jade/case2/myAllocator.java trunk/lib/jacamo.jar trunk/src/jason/bb/BeliefBase.java Modified: trunk/build.xml =================================================================== --- trunk/build.xml 2013-12-11 14:43:03 UTC (rev 1767) +++ trunk/build.xml 2013-12-17 18:46:59 UTC (rev 1768) @@ -12,7 +12,7 @@ <property name="dist.properties" value="${basedir}/bin/dist.properties" /> <property name="version" value="1" /> - <property name="release" value="4.0" /> + <property name="release" value="4.0a" /> <property name="distDir" value="${env.HOME}/tmp/x/Jason-${version}.${release}" /> <property name="distFile" value="${env.HOME}/Jason-${version}.${release}" /> Modified: trunk/demos/distributed-jade/case2/myAllocator.java =================================================================== --- trunk/demos/distributed-jade/case2/myAllocator.java 2013-12-11 14:43:03 UTC (rev 1767) +++ trunk/demos/distributed-jade/case2/myAllocator.java 2013-12-17 18:46:59 UTC (rev 1768) @@ -40,7 +40,7 @@ int agsByContainer = nbAgs / containers.size(); System.out.println(agsByContainer+" agents will run in each container."); - + // create allocation int i=0; for (AgentParameters ap : project.getAgents()) { @@ -50,8 +50,8 @@ if (ap.qty > 1) { numberedAg += (cAg + 1); } - String c = containers.get( i % containers.size()); - System.out.println(" - agent "+numberedAg+" will run at "+c); + String c = containers.get( i % containers.size()); + System.out.println(" - agent "+numberedAg+" will run at "+c); allocation.put(numberedAg, c); i++; } Modified: trunk/lib/jacamo.jar =================================================================== (Binary files differ) Modified: trunk/src/jason/bb/BeliefBase.java =================================================================== --- trunk/src/jason/bb/BeliefBase.java 2013-12-11 14:43:03 UTC (rev 1767) +++ trunk/src/jason/bb/BeliefBase.java 2013-12-17 18:46:59 UTC (rev 1768) @@ -47,10 +47,10 @@ public static final Term APercept = new Atom("percept"); /** represents the structure 'source(percept)' */ - public static final Pred TPercept = Pred.createSource(APercept); + public static final Term TPercept = Pred.createSource(APercept); /** represents the structure 'source(self)' */ - public static final Pred TSelf = Pred.createSource(ASelf); + public static final Term TSelf = Pred.createSource(ASelf); /** * Called before the MAS execution with the agent that uses this This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |