summaryrefslogtreecommitdiff
path: root/tmwcon/build.xml
blob: b2937e66fb197e35f12cefea80c764b5bafecc86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>