build.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project name="L2J_DataPack" default="zip" basedir=".">
  3. <description>
  4. Copyright (C) 2004-2015 L2J DataPack
  5. This file is part of L2J DataPack.
  6. L2J DataPack is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. L2J DataPack is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program. If not, see "http://www.gnu.org/licenses/".
  16. </description>
  17. <property name="build" location="build" />
  18. <target name="init" description="Create the output directory.">
  19. <mkdir dir="${build}" />
  20. </target>
  21. <target name="zip" depends="init">
  22. <tstamp>
  23. <format property="build.date" pattern="yyyy-MM-dd"/>
  24. </tstamp>
  25. <zip destfile="${build}/L2J_DataPack_${build.date}.zip" basedir="dist" level="9" />
  26. </target>
  27. </project>