Added a new target to build a jar containing only floodlight code. It takes too long to build the full dist jar and it's too big to quickly transfer to other machines.
diff --git a/build.xml b/build.xml
index a0fd756..4aa99bf 100644
--- a/build.xml
+++ b/build.xml
@@ -41,6 +41,7 @@
<property name="main-class" value="net.floodlightcontroller.core.Main"/>
<property name="floodlight-jar" location="${target}/floodlight.jar"/>
<property name="floodlight-test-jar" location="${target}/floodlight-test.jar"/>
+ <property name="floodlight-only-jar" location="${target}/floodlight-only.jar"/>
<property name="thrift.dir" value="${basedir}/src/main/thrift"/>
<property name="thrift.out.dir" value="lib/gen-java"/>
<property name="thrift.package" value="net/floodlightcontroller/packetstreamer/thrift"/>
@@ -227,6 +228,16 @@
</target>
<target name="coverage" depends="instrument,test,coverage-report"/>
+ <target name="jar" depends="compile">
+ <jar destfile="${floodlight-only-jar}">
+ <fileset dir="${build}"/>
+ <fileset dir="${resources}"/>
+ <fileset dir="${python-src}">
+ <include name="**/*.py"/>
+ </fileset>
+ </jar>
+ </target>
+
<target name="dist" depends="compile,compile-test">
<jar destfile="${floodlight-jar}" filesetmanifest="mergewithoutmain">
<manifest>