Skip to content
Snippets Groups Projects
Commit 8fb410b1 authored by Zoey76's avatar Zoey76
Browse files

Merge pull request #10 from jurchiks/master

Getting rid of all the unnecessary stuff in dp build.xml.
parents e86056f2 7f7b37a8
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<project name="L2J_DataPack" default="build" basedir=".">
<project name="L2J_DataPack" default="zip" basedir=".">
<description>
Copyright (C) 2004-2014 L2J DataPack
......@@ -20,32 +20,13 @@
</description>
<property name="build" location="build" />
<property name="build.dist" location="${build}/dist" />
<property name="build.dist.doc" location="${build.dist}/doc" />
<property name="build.dist.game" location="${build.dist}/game" />
<property name="build.dist.login" location="${build.dist}/login" />
<target name="init" depends="checkRequirements" description="Create the output directories.">
<target name="init" description="Create the output directory.">
<mkdir dir="${build}" />
</target>
<target name="dist" depends="init" description="Export the files to the output directory.">
<sync todir="${build.dist}" includeemptydirs="true">
<fileset dir="dist" />
</sync>
</target>
<target name="build" depends="dist">
<zip destfile="${build}/L2J_DataPack_BETA.zip" basedir="${build.dist}" level="9" />
</target>
<target name="checkRequirements" description="Check Requirements.">
<fail message="Ant 1.8.2 is required. But your version is ${ant.version} and if you are using Eclipse probably is outdated.">
<condition>
<not>
<antversion atleast="1.8.2" />
</not>
</condition>
</fail>
<target name="zip" depends="init">
<tstamp description="Initialize ${DSTAMP}, which is in format yyyyMMdd" />
<zip destfile="${build}/L2J_DataPack-${DSTAMP}.zip" basedir="dist" level="9" />
</target>
</project>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment