Advertisement
letharic

Untitled

Aug 3rd, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. - <project name="aCis_datapack" default="build" basedir=".">
  3. <property name="build" location="build" />
  4. <property name="build.game" location="${build}/gameserver" />
  5. <property name="build.login" location="${build}/login" />
  6. <property name="build.sql" location="${build}/sql" />
  7. <property name="build.tools" location="${build}/tools" />
  8. - <target name="build" depends="init" description="Synchronizes build space contents with project.">
  9. - <sync todir="${build.game}/data">
  10. - <fileset dir="${basedir}/data">
  11. <exclude name=".project" />
  12. <exclude name="log/**" />
  13. <exclude name="cachedir/**" />
  14. <exclude name="clans/**" />
  15. <exclude name="crests/**" />
  16. <exclude name="**.svn**" />
  17. <exclude name="**/*.class" />
  18. <exclude name="**/*.jar" />
  19. <include name="**/*.*" />
  20. </fileset>
  21. </sync>
  22. - <sync todir="${build.sql}">
  23. - <fileset dir="${basedir}/sql">
  24. <include name="*.*" />
  25. </fileset>
  26. </sync>
  27. - <sync todir="${build.tools}">
  28. - <fileset dir="${basedir}/tools">
  29. <include name="*.*" />
  30. <exclude name="database_installer.rc" />
  31. <exclude name="*.txt" />
  32. <exclude name="*.log" />
  33. <exclude name="*backup.sql" />
  34. </fileset>
  35. </sync>
  36. - <sync todir="${build.login}">
  37. - <fileset dir="${build.game}/data">
  38. <include name="servername.xml" />
  39. </fileset>
  40. </sync>
  41. </target>
  42. - <target name="init" description="Create the output directories. Do nothing if dirs were already created">
  43. <mkdir dir="${build}" />
  44. <mkdir dir="${build.game}" />
  45. <mkdir dir="${build.login}" />
  46. </target>
  47. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement