|
From: <jom...@us...> - 2016-04-09 12:22:02
|
Revision: 1891
http://sourceforge.net/p/jason/svn/1891
Author: jomifred
Date: 2016-04-09 12:22:00 +0000 (Sat, 09 Apr 2016)
Log Message:
-----------
add ant task to produce jason-core.jar
Modified Paths:
--------------
trunk/build.xml
trunk/src/jason/mas2j/parser/mas2jTokenManager.java
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2016-04-09 11:44:30 UTC (rev 1890)
+++ trunk/build.xml 2016-04-09 12:22:00 UTC (rev 1891)
@@ -8,6 +8,7 @@
<property name="jadeJar" value="${basedir}/lib/jade.jar" />
<property name="jasonSJar" value="${basedir}/lib/s-jason.jar" />
<property name="replJar" value="${basedir}/lib/jason-repl.jar" />
+ <property name="coreJar" value="${basedir}/lib/jason-core.jar" />
<property name="build.dir" value="${basedir}/bin/classes" />
@@ -171,6 +172,27 @@
<!-- copy file="${jasonJar}" todir="applications/jason-eclipse-plugin/lib" /-->
</target>
+ <target name="jar-core" depends="jar">
+ <jar jarfile="${coreJar}" >
+ <zipfileset src="${jasonJar}">
+ <exclude name="**/MindInspectorAgArch*"/>
+ <exclude name="**/MindInspectorWebImpl*"/>
+ <exclude name="jason/environment/grid/**/*"/>
+ <exclude name="jason/jeditplugin/**/*"/>
+ <exclude name="jason/runtime/MASConsole*"/>
+ <exclude name="jason/runtime/OutputStreamAdapter*"/>
+ <exclude name="jason/util/ConfigGUI*"/>
+ <exclude name="jason/util/CheckVersion*"/>
+ <exclude name="jason/control/ExecutionControlGUI*"/>
+ <exclude name="jason/infra/centralised/*GUI*"/>
+ <exclude name="jason/infra/centralised/RunCentralised*"/>
+ <exclude name="jason/infra/jade/**/*"/>
+ <exclude name="jason/infra/repl/**/*"/>
+ <exclude name="jason/infra/components/**/*"/>
+ </zipfileset>
+ </jar>
+ </target>
+
<target name="repl" depends="jar" >
<delete file="${replJar}" />
<copy file="${jasonJar}" tofile="${replJar}" />
Modified: trunk/src/jason/mas2j/parser/mas2jTokenManager.java
===================================================================
--- trunk/src/jason/mas2j/parser/mas2jTokenManager.java 2016-04-09 11:44:30 UTC (rev 1890)
+++ trunk/src/jason/mas2j/parser/mas2jTokenManager.java 2016-04-09 12:22:00 UTC (rev 1891)
@@ -6,6 +6,7 @@
import jason.asSyntax.*;
import jason.asSemantics.*;
import jason.util.*;
+import jason.infra.*;
public class mas2jTokenManager implements mas2jConstants
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|