summaryrefslogtreecommitdiff
path: root/tmwcon/build.xml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-16 20:16:56 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-16 20:19:11 +0200
commitfbf09712699cc005ddebe4f0cd000e5a14038faf (patch)
tree8d378c00518a510bab1d39e1a393e6b942148801 /tmwcon/build.xml
parent688132dfa62d7a02c6ba0cbc67f86648c5f0e035 (diff)
downloadevol-tools-fbf09712699cc005ddebe4f0cd000e5a14038faf.tar.gz
evol-tools-fbf09712699cc005ddebe4f0cd000e5a14038faf.tar.bz2
evol-tools-fbf09712699cc005ddebe4f0cd000e5a14038faf.tar.xz
evol-tools-fbf09712699cc005ddebe4f0cd000e5a14038faf.zip
Add java map converter from tmw repo.
Diffstat (limited to 'tmwcon/build.xml')
-rwxr-xr-xtmwcon/build.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/tmwcon/build.xml b/tmwcon/build.xml
new file mode 100755
index 0000000..b2937e6
--- /dev/null
+++ b/tmwcon/build.xml
@@ -0,0 +1,31 @@
+<project name="TMWServ to eAthena Converter" 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>