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"?> <?xml version="1.0" encoding="UTF-8"?>
<project name="L2J_DataPack" default="build" basedir="."> <project name="L2J_DataPack" default="zip" basedir=".">
<description> <description>
Copyright (C) 2004-2014 L2J DataPack Copyright (C) 2004-2014 L2J DataPack
...@@ -20,32 +20,13 @@ ...@@ -20,32 +20,13 @@
</description> </description>
<property name="build" location="build" /> <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}" /> <mkdir dir="${build}" />
</target> </target>
<target name="dist" depends="init" description="Export the files to the output directory."> <target name="zip" depends="init">
<sync todir="${build.dist}" includeemptydirs="true"> <tstamp description="Initialize ${DSTAMP}, which is in format yyyyMMdd" />
<fileset dir="dist" /> <zip destfile="${build}/L2J_DataPack-${DSTAMP}.zip" basedir="dist" level="9" />
</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> </target>
</project> </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