summaryrefslogtreecommitdiff
path: root/tools/tmwcon/build.xml
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-11-11 14:39:23 +0000
committerJared Adams <jaxad0127@gmail.com>2008-11-11 14:39:23 +0000
commit515f38e52100eac09275f0821e93e0eaf3e2cc3c (patch)
tree135d7d54c114e8a4e9c2c6882f72206819bf747e /tools/tmwcon/build.xml
parentc38bbf027133f6e50947a7405b3a64dcbca3b0b9 (diff)
downloadserverdata-515f38e52100eac09275f0821e93e0eaf3e2cc3c.tar.gz
serverdata-515f38e52100eac09275f0821e93e0eaf3e2cc3c.tar.bz2
serverdata-515f38e52100eac09275f0821e93e0eaf3e2cc3c.tar.xz
serverdata-515f38e52100eac09275f0821e93e0eaf3e2cc3c.zip
Add a tool to convert from TMWServ format
This tool will convert warps and monster spawns from TMWServ format (tmx files) into eAthena format. It will also generate the wlk files needed by eAthena.
Diffstat (limited to 'tools/tmwcon/build.xml')
-rwxr-xr-xtools/tmwcon/build.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/tmwcon/build.xml b/tools/tmwcon/build.xml
new file mode 100755
index 00000000..6edf8477
--- /dev/null
+++ b/tools/tmwcon/build.xml
@@ -0,0 +1,31 @@
+<project name="The Mana World Workshop" default="dist">
+ <description>
+ A tool to convert map data from TMWServ format to eAthena format
+ </description>
+ <!-- set global properties for this build -->
+
+ <target name="init">
+ <!-- Create the time stamp -->
+ <tstamp/>
+ <!-- Create the build directory structure used by compile -->
+ <mkdir dir="build"/>
+ </target>
+
+ <target name="compile" depends="init" description="Compile the source">
+ <javac source="1.5" target="1.5" srcdir="src" destdir="build"
+ deprecation="on" classpath="tiled.jar;tiled-core.jar;plugins/tmw.jar;tmw.jar"/>
+ <copy file="build/Converter.class" todir="."/>
+ </target>
+
+ <target name="dist" depends="compile" description="Generate the distribution">
+ <jar
+ jarfile="converter.jar"
+ manifest="MANIFEST.MF"
+ basedir="build"
+ />
+ </target>
+
+ <target name="clean" description="Clean up the build directory" >
+ <delete dir="build"/>
+ </target>
+</project>