Page 1 of 1

l2jserver.jar

Posted: Wed Mar 21, 2012 9:47 pm
by Dreamar
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:5222
L2JDP Revision Number:8742

Hi ,
i have a big problem with my l2jserver.jar after a compilation
Please Help me

Re: l2jserver.jar

Posted: Wed Mar 21, 2012 11:19 pm
by MELERIX
post your build process log.

Re: l2jserver.jar

Posted: Thu Mar 22, 2012 12:17 am
by Dreamar
MELERIX wrote:post your build process log.
my build process log ?

Re: l2jserver.jar

Posted: Thu Mar 22, 2012 1:07 am
by MELERIX
yes

Re: l2jserver.jar

Posted: Thu Mar 22, 2012 5:54 am
by neaton
the problem is in clan name template.
check this in your configs and get it a default parametr.

Re: l2jserver.jar

Posted: Thu Mar 22, 2012 10:12 am
by Dreamar

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><project name="L2J_Server_BETA" default="dist" basedir=".">    <description>        This script will build the L2J Server.         This program is free software; you can redistribute it and/or modify        it under the terms of the GNU General Public License as published by        the Free Software Foundation; either version 3, or (at your option)        any later version.         This program is distributed in the hope that it will be useful,        but WITHOUT ANY WARRANTY; without even the implied warranty of        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the        GNU General Public License for more details.         You should have received a copy of the GNU General Public License        along with this program; if not, write to the Free Software        Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA        02111-1307, USA.         http://www.gnu.org/copyleft/gpl.html    </description>     <property name="src" location="java" />    <property name="lib" location="lib" />    <property name="build" location="build" />    <property name="build.classes" location="${build}/classes" />    <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.libs" location="${build.dist}/libs" />    <property name="build.dist.login" location="${build.dist}/login" />    <property name="build.dist.tools" location="${build.dist}/tools" />     <path id="classpath">        <fileset dir="${lib}">            <include name="*.jar" />        </fileset>    </path>     <pathconvert property="manifest.libs" pathsep=" ">        <path refid="classpath" />        <mapper>            <chainedmapper>                <flattenmapper />                <globmapper from="*.jar" to="../libs/*.jar" />            </chainedmapper>        </mapper>    </pathconvert>     <target name="init" depends="clean,checkRequirements,getChangelogDateVersion" description="Create the output directories.">        <mkdir dir="${build}" />        <mkdir dir="${build.classes}" />    </target>     <target name="compile" depends="init" description="Compile the source.">        <javac srcdir="${src}" classpathref="classpath" destdir="${build.classes}" compiler="javac1.7" debug="true" debuglevel="lines,vars,source" includeantruntime="false" source="1.7" target="1.7" />    </target>     <target name="jar" depends="compile" description="Create the jar files">        <jar destfile="${build.dist.login}/l2jlogin.jar">            <fileset dir="${build.classes}">                <exclude name="**/dbinstaller/**" />                <exclude name="**/gameserver/**" />            </fileset>            <manifest>                <attribute name="Built-By" value="${user.name}" />                <attribute name="Built-Date" value="${build.tstamp}" />                <attribute name="Class-Path" value="${manifest.libs}" />                <attribute name="Implementation-URL" value="http://www.l2jserver.com/" />                <attribute name="Implementation-Version" value="${l2j.version}" />                <attribute name="Main-Class" value="com.l2jserver.loginserver.L2LoginServer" />            </manifest>        </jar>        <jar destfile="${build.dist.game}/l2jserver.jar">            <fileset dir="${build.classes}">                <exclude name="**/dbinstaller/**" />                <exclude name="**/loginserver/**" />                <exclude name="**/accountmanager/**" />                <exclude name="**/gsregistering/**" />            </fileset>            <manifest>                <attribute name="Built-By" value="${user.name}" />                <attribute name="Built-Date" value="${build.tstamp}" />                <attribute name="Class-Path" value="${manifest.libs}" />                <attribute name="Implementation-URL" value="http://www.l2jserver.com/" />                <attribute name="Implementation-Version" value="${l2j.version}" />                <attribute name="Main-Class" value="com.l2jserver.gameserver.GameServer" />            </manifest>        </jar>        <jar destfile="${build.dist.tools}/dbinst_cs.jar">            <fileset dir="${build.classes}">                <include name="**/dbinstaller/**" />                <include name="**/images/**" />                <include name="**/util/swing/**" />                <exclude name="**/LauncherGS*" />                <exclude name="**/LauncherLS*" />            </fileset>            <manifest>                <attribute name="Built-By" value="${user.name}" />                <attribute name="Built-Date" value="${build.tstamp}" />                <attribute name="Class-Path" value="${manifest.libs}" />                <attribute name="Implementation-URL" value="http://www.l2jserver.com/" />                <attribute name="Implementation-Version" value="${l2j.version}" />                <attribute name="Main-Class" value="com.l2jserver.tools.dbinstaller.LauncherCS" />            </manifest>        </jar>        <jar destfile="${build.dist.tools}/dbinst_gs.jar">            <fileset dir="${build.classes}">                <include name="**/dbinstaller/**" />                <include name="**/images/**" />                <include name="**/util/swing/**" />                <exclude name="**/LauncherCS*" />                <exclude name="**/LauncherLS*" />            </fileset>            <manifest>                <attribute name="Built-By" value="${user.name}" />                <attribute name="Built-Date" value="${build.tstamp}" />                <attribute name="Class-Path" value="${manifest.libs}" />                <attribute name="Implementation-URL" value="http://www.l2jserver.com/" />                <attribute name="Implementation-Version" value="${l2j.version}" />                <attribute name="Main-Class" value="com.l2jserver.tools.dbinstaller.LauncherGS" />            </manifest>        </jar>        <jar destfile="${build.dist.tools}/dbinst_ls.jar">            <fileset dir="${build.classes}">                <include name="**/dbinstaller/**" />                <include name="**/images/**" />                <include name="**/util/swing/**" />                <exclude name="**/LauncherCS*" />                <exclude name="**/LauncherGS*" />            </fileset>            <manifest>                <attribute name="Built-By" value="${user.name}" />                <attribute name="Built-Date" value="${build.tstamp}" />                <attribute name="Class-Path" value="${manifest.libs}" />                <attribute name="Implementation-URL" value="http://www.l2jserver.com/" />                <attribute name="Implementation-Version" value="${l2j.version}" />                <attribute name="Main-Class" value="com.l2jserver.tools.dbinstaller.LauncherLS" />            </manifest>        </jar>    </target>     <target name="dist" depends="jar">        <copy todir="${build.dist}">            <fileset dir="dist" />        </copy>        <concat destfile="${build.dist.doc}/L2J_Server_CHANGELOG.txt">${l2j.changelog}</concat>        <copy todir="${build.dist.game}">            <fileset dir="misc" />        </copy>        <concat destfile="${build.dist.game}/config/l2j-version.properties">version=${l2j.version}${line.separator}builddate=${build.tstamp}</concat>        <copy todir="${build.dist.libs}">            <fileset dir="lib" />        </copy>        <copy todir="${build.dist.login}">            <fileset dir="misc" />        </copy>        <fixcrlf srcdir="${build.dist.game}" eol="crlf" eof="remove" includes="**/*.bat" />        <fixcrlf srcdir="${build.dist.game}" eol="lf" eof="remove" includes="**/*.sh" />        <fixcrlf srcdir="${build.dist.login}" eol="crlf" eof="remove" includes="**/*.bat" />        <fixcrlf srcdir="${build.dist.login}" eol="lf" eof="remove" includes="**/*.sh" />        <zip destfile="${build}/L2J_Server_BETA.zip" basedir="${build.dist}" />    </target>     <target name="clean" description="Remove the output directories">        <delete dir="${build}" />    </target>     <target name="checkRequirements" description="Check Requirements">        <fail message="Ant 1.8.2 is required. But your version is ${ant.version}">            <condition>                <not>                    <antversion atleast="1.8.2" />                </not>            </condition>        </fail>        <available classname="java.lang.AutoCloseable" property="JDK7.present" />        <fail unless="JDK7.present" message="Java 1.7 is required. But your version is Java ${ant.java.version} and probably JDK is not installed." />    </target>     <target name="getChangelogDateVersion" description="Get Changelog, Date, Version">        <exec dir="." executable="svn" outputproperty="l2j.changelog">            <arg value="log" />            <arg value="--stop-on-copy" />        </exec>        <tstamp>            <format property="build.tstamp" pattern="dd/MM/yyyy HH:mm" />        </tstamp>        <exec dir="." executable="svnversion" outputproperty="l2j.version" />    </target></project>
Or

Code: Select all

Buildfile: C:\Users\jordan\workspace\L2J_Server_BETA\build.xmlclean:   [delete] Deleting directory C:\Users\jordan\workspace\L2J_Server_BETA\buildcheckRequirements:getChangelogDateVersion:     [exec] Result: 1     [exec] Result: 1init:    [mkdir] Created dir: C:\Users\jordan\workspace\L2J_Server_BETA\build    [mkdir] Created dir: C:\Users\jordan\workspace\L2J_Server_BETA\build\classescompile:jar:      [jar] Building MANIFEST-only jar: C:\Users\jordan\workspace\L2J_Server_BETA\build\dist\login\l2jlogin.jar      [jar] Building MANIFEST-only jar: C:\Users\jordan\workspace\L2J_Server_BETA\build\dist\game\l2jserver.jar      [jar] Building MANIFEST-only jar: C:\Users\jordan\workspace\L2J_Server_BETA\build\dist\tools\dbinst_cs.jar      [jar] Building MANIFEST-only jar: C:\Users\jordan\workspace\L2J_Server_BETA\build\dist\tools\dbinst_gs.jar      [jar] Building MANIFEST-only jar: C:\Users\jordan\workspace\L2J_Server_BETA\build\dist\tools\dbinst_ls.jardist:     [copy] Copying 63 files to C:\Users\jordan\workspace\L2J_Server_BETA\build\dist     [copy] Copying 5 files to C:\Users\jordan\workspace\L2J_Server_BETA\build\dist\game     [copy] Copying 17 files to C:\Users\jordan\workspace\L2J_Server_BETA\build\dist\libs     [copy] Copying 5 files to C:\Users\jordan\workspace\L2J_Server_BETA\build\dist\login      [zip] Building zip: C:\Users\jordan\workspace\L2J_Server_BETA\build\L2J_Server_BETA.zipBUILD SUCCESSFULTotal time: 4 seconds

Re: l2jserver.jar

Posted: Thu Mar 22, 2012 11:19 am
by tukune
post your server.properties

Re: l2jserver.jar

Posted: Thu Mar 22, 2012 2:35 pm
by Probe
is your trove lib in proper place?
it's simply a missing jar.. no need to post anything :)

Re: l2jserver.jar

Posted: Thu Mar 22, 2012 8:13 pm
by Starter
Probe wrote:is your trove lib in proper place?
it's simply a missing jar.. no need to post anything :)
Exactly.

Check if all the libs (http://trac.l2jserver.com/browser/branc ... r_BETA/lib) are in the appropriate folder. If not, check em out and start the server again.

Re: l2jserver.jar

Posted: Thu Mar 22, 2012 8:20 pm
by Dreamar
its ok thx