должно быть build>dist > [Game, Login, SQL]
в зависимости, как написан build.xml
Вот билд server-game
[RESOURCE]
<?xml version="1.0" encoding="UTF-8"?>
<project name="server-game" default="dist" basedir=".">
<property name="src" location="java" />
<property name="src_scripts" location="data" />
<property name="lib" location="lib" />
<property name="build" location="build" />
<property name="build.scripts" location="${build}/scripts" />
<property name="build.version" value="server-game" />
<property name="build.compiler" value="modern" />
<property name="tools.jar" location="${java.home}../../lib/tools.jar" />
<property name="build.jarname" location="${build}/l2n-game.jar" />
<path id="classpath">
<fileset dir="${lib}">
<include name="*.jar" />
</fileset>
<path location="${tools.jar}" />
</path>
<pathconvert property="jar.list" pathsep=" " refid="classpath">
<mapper type="flatten" />
</pathconvert>
<target name="clean_core">
<delete dir="${build}" />
<delete file="${build.jarname}" />
<mkdir dir="${build}" />
</target>
<target name="clean_scripts" description="Remove the scripts output directories">
<delete dir="${build.scripts}" />
<delete file="${build}/scripts.jar" />
<mkdir dir="${build.scripts}" />
</target>
<target name="compile_core" description="Compile the core source.">
<javac destdir="${build}" compiler="${build.compiler}" optimize="on" debug="on" deprecation="on" source="1.7" target="1.7" encoding="UTF-8" nowarn="off" includeAntRuntime="false" fork="true" memoryMaximumSize="1024m" memoryInitialSize="256m">
<src path="${src}" />
<classpath refid="classpath" />
<compilerarg value="-g" />
<compilerarg value="-Xlint:all" />
</javac>
</target>
<target name="compile_scripts" description="Compile the scripts source.">
<copy todir="${lib}">
<fileset dir="${build}">
<include name="${jarname}" />
</fileset>
</copy>
<javac destdir="${build.scripts}" compiler="${build.compiler}" optimize="on" debug="on" deprecation="on" source="1.7" target="1.7" encoding="UTF-8" nowarn="off" includeAntRuntime="false" fork="true" memoryMaximumSize="1024m" memoryInitialSize="256m">
<compilerarg value="-Xlint:all" />
<compilerarg value="-XX:-UseSplitVerifier" />
<src path="${src_scripts}" />
<classpath refid="classpath" />
</javac>
<delete file="${lib}/${jarname}" />
</target>
<target name="jar_core" depends="clean_core,compile_core" description="Create the scripts jar file">
<tstamp>
<format property="build.tstamp" pattern="yyyy.MM.dd HH:mm" />
</tstamp>
<!--exec dir="." executable="build-revision.sh" outputproperty="build.revision" failifexecutionfails="false" /-->
<concat destfile="${build}/l2n/l2n-version.ini">
version=${build.version}
revision=Extended
builddate=${build.tstamp}
user=${user.name}
os=${os.name}
java=${java.version}
</concat>
<jar destfile="${build.jarname}" level="9">
<fileset dir="${build}" />
<manifest>
<attribute name="Build-By" value="${user.name}" />
<attribute name="Version" value="${build.version}" />
<attribute name="Revision" value="Extended" />
<attribute name="Java-Version" value="${java.version}" />
<attribute name="Build-Date" value="${build.tstamp}" />
<attribute name="Main-Class" value="l2n.game.GameServer" />
<attribute name="Class-Path" value=". ${jar.list}" />
</manifest>
</jar>
<echo>Successful compile kernel in jar file</echo>
<echo>> version: ........ ${build.version}</echo>
<echo>> revision: ....... Extended</echo>
<echo>> builddate: ...... ${build.tstamp}</echo>
<echo>> user: ........... ${user.name}</echo>
<echo>> os: ............. ${os.name}</echo>
<echo>> java: ........... ${java.version}</echo>
</target>
<target name="jar_scripts" depends="clean_scripts,compile_scripts" description="Create the scripts jar file">
<jar destfile="${build}/scripts.jar" level="9">
<fileset dir="${build.scripts}" />
<manifest>
<attribute name="Ext-name" value="Extension scripts" />
<attribute name="Build-By" value="${user.name}" />
<attribute name="Version" value="${build.version}" />
<attribute name="Java-Version" value="${java.version}" />
<attribute name="Revision" value="Extended" />
<attribute name="Build-Date" value="${build.tstamp}" />
<attribute name="Class-Path" value=". ${jar.list}" />
</manifest>
</jar>
<echo>Successful compile scripts in jar file</echo>
</target>
<target name="dist" depends="jar_core" description="Create jar-file" />
</project>
[/RESOURCE]