jdalbey

Ant target for Web-Cat submit

May 3rd, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. <!--
  2. =================
  3. ZIP for Web-CAT
  4. =================
  5. Create a zip file of source and tests for submission to Web-CAT grader.
  6. -->
  7. <target name="webcat-zip" depends="jar">
  8. <property name="workdir" value="../../.."/>
  9.  
  10. <zip destfile="${workdir}/webcatsubmit.zip">
  11. <fileset dir="${workdir}/src/">
  12. <include name="tmcsim/cadsimulator/viewer/**/*.java" />
  13. <include name="tmcsim/cadsimulator/viewer/model/**/*.java" />
  14. <include name="tmcsim/cadsimulator/viewer/actions/**/*.java" />
  15. <include name="tmcsim/cadsimulator/videocontrol/**/*.java" />
  16. <exclude name="tmcsim/paramics*/**"/>
  17. <exclude name="tmcsim/simulationmanager/**"/>
  18. <exclude name="tmcsim/cadsimulator/MP3Driver.java"/>
  19. </fileset>
  20. <fileset dir="${workdir}/test/">
  21. <include name="tmcsim/cadsimulator/viewer/CADSimulatorViewModelTest.java" />
  22. </fileset>
  23. </zip>
  24. </target>
Advertisement
Add Comment
Please, Sign In to add comment