Index: trunk/IDE_metadata/NetBeans/TMCSim/build.xml
===================================================================
--- trunk/IDE_metadata/NetBeans/TMCSim/build.xml	(revision 56)
+++ trunk/IDE_metadata/NetBeans/TMCSim/build.xml	(revision 59)
@@ -12,4 +12,55 @@
     <import file="nbproject/build-impl.xml"/>
     <property name="workdir" value="../../.."/>
+<!--        SYSTEM TEST SECTION      -->
+    <target description="CAD Simulator" name="cadsimulator">
+    <antcall target="run-single">
+       <param name="javac.includes" value="tmcsim/cadsimulator/CADSimulator.java"/>
+       <param name="run.class" value="tmcsim/cadsimulator/CADSimulator"/>
+    </antcall>
+    </target>
+    <target description="Visible System Test of CADSimulator"  name="VisibleSystemTest">
+    <antcall target="test-single">
+       <param name="javac.includes" value="tmcsim/cadsimulator/VisibleSystemTest.java"/>
+       <param name="test.includes" value="tmcsim/cadsimulator/VisibleSystemTest.java"/>
+    </antcall>
+    </target>
+    <target description="CAD Simulator - console" name="cadconsole">
+        <java jar="deploy/CADserver.jar"
+           fork="true">
+         <classpath>
+           <pathelement location="deploy/CADserver.jar"/>
+         </classpath>
+       </java>
+    </target>
+    <target description="CAD Simulator - GUI" name="cadgui">
+        <java jar="deploy/CADserver.jar"
+           fork="true"><jvmarg value="-version"/>
+         <classpath>
+           <pathelement location="deploy/CADserver.jar"/>
+         </classpath>
+       </java>
+    </target>
+    <target description="Run Paramics Communicator" name="pcomm">
+    <antcall target="run-single">
+       <param name="javac.includes" value="tmcsim/paramicscommunicator/PComm.java"/>
+       <param name="run.class" value="tmcsim/paramicscommunicator/PComm"/>
+    </antcall>
+    </target>
+    <target description="Run Simulation Manager" name="simmgr">
+    <antcall target="run-single">
+       <param name="javac.includes" value="tmcsim/simulationmanager/SimulationManager.java"/>
+       <param name="run.class" value="tmcsim/simulationmanager/SimulationManager"/>
+    </antcall>
+    </target>
+    <target description="Emulate Paramics Modeler" name="emulate">
+        <echo file="${workdir}/paramics_status.xml" append="false">
+            &lt;Paramics&gt; &lt;Network_Status&gt;WARMING&lt;/Network_Status&gt; &lt;Network_ID&gt;1&lt;/Network_ID&gt; &lt;/Paramics&gt;
+        </echo>
+        <sleep seconds="5"/>
+        <echo file="${workdir}/paramics_status.xml" append="false">
+            &lt;Paramics&gt; &lt;Network_Status&gt;LOADED&lt;/Network_Status&gt; &lt;Network_ID&gt;1&lt;/Network_ID&gt; &lt;/Paramics&gt;
+        </echo>
+    </target>
+
 <!--        STORE SUBVERSION BUILD STRING      -->
 <target name="-post-init" description="Sets the buildversion for the current build">
@@ -60,6 +111,31 @@
             />
 </checkstyle>
-</target>     
-   
+</target>
+<!--
+                =================
+                ZIP for Web-CAT SECTION for CPE 305 assignments
+                =================
+Create a zip file of source to CADSimulator for submission to Web-CAT grader.
+-->
+<target name="webcat-zip" depends="jar">
+
+    <zip destfile="${workdir}/webcatsubmit.zip">
+        <fileset dir="${workdir}/src/">
+                 <include name="tmcsim/cadsimulator/viewer/**/*.java" />
+                 <include name="tmcsim/cadsimulator/viewer/model/**/*.java" />
+                 <include name="tmcsim/cadsimulator/viewer/actions/**/*.java" />
+                 <include name="tmcsim/cadsimulator/videocontrol/**/*.java" />
+                 <exclude name="tmcsim/paramics*/**"/>
+                 <exclude name="tmcsim/simulationmanager/**"/>
+                 <exclude name="tmcsim/cadsimulator/MP3Driver.java"/>
+        </fileset>
+        <!--
+        <fileset dir="${workdir}"  includes="scripts/Cardfile.xml"/>
+        -->
+        <fileset dir="${workdir}/test/">
+                 <include name="tmcsim/cadsimulator/viewer/CADSimulatorViewModelTest.java" />
+        </fileset>
+    </zip>
+</target>
 <!--
                 =================
@@ -79,5 +155,7 @@
     <delete dir="${deploy.dir}"/>
     <mkdir dir="${deploy.dir}"/>
-
+    <tstamp>
+        <format property="TODAY" pattern="yyyy.MM.dd HH:mm" />
+    </tstamp>
     <jar destfile="${deploy.dir}/temp_final.jar" filesetmanifest="skip">
         <zipgroupfileset dir="dist" includes="*.jar"/>
@@ -125,9 +203,10 @@
       <jar destfile="${deploy.dir}/CADClient.jar"
        basedir="${build.dir}/classes"
-       includes="tmcsim/client/**, tmcsim/common/**, tmcsim/interfaces/**, 
-            tmcsim/cadmodels/**">
-        <zipgroupfileset dir="dist/lib" includes="xercesImpl.jar"/>
+       includes="tmcsim/client/**, tmcsim/common/**, tmcsim/interfaces/**,
+            tmcsim/cadmodels/**, tmcsim/simulationmanager/model/LogEntryCellRenderer.class">
+      <zipgroupfileset dir="dist/lib" includes="xercesImpl.jar"/>
         <manifest>
             <attribute name="Main-Class" value="tmcsim.client.CADClient"/>
+            <attribute name="Implementation-Version" value="${TODAY}"/>
         </manifest>
       </jar>
