Jump to content
  • 0

Eclipse Problem


gta sa

Question

Kalhspera exw ena provlhma m to compile.

 

 

BUILD FAILED
C:\Users\???\Desktop\eclipse\workspace\L2jFrozen_GameServer\build.xml:65: Compile failed; see the compiler error output for details.
 
Pataw panw sto link k m vgazei auto:
 

<javac destdir="${build.classes}" includeantruntime="false" optimize="on" debug="on" source="1.6" target="1.6" encoding="utf-8" nowarn="off">

 

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Kalhspera exw ena provlhma m to compile.

 

 

BUILD FAILED
C:\Users\ ???\Desktop\eclipse\workspace\L2jFrozen_GameServer\build.xml:65: Compile failed; see the compiler error output for details.
 
Pataw panw sto link k m vgazei auto:
 

<javac destdir="${build.classes}" includeantruntime="false" optimize="on" debug="on" source="1.6" target="1.6" encoding="utf-8" nowarn="off">

 

Kalhspera exw ena provlhma m to compile.

 

 

BUILD FAILED
C:\Users\ ???\Desktop\eclipse\workspace\L2jFrozen_GameServer\build.xml:65: Compile failed; see the compiler error output for details.
 
Pataw panw sto link k m vgazei auto:
 

<javac destdir="${build.classes}" includeantruntime="false" optimize="on" debug="on" source="1.6" target="1.6" encoding="utf-8" nowarn="off">

ti java version exeis?

Link to comment
Share on other sites

  • 0
To build, java exw to jdk 7

 

 

<?xml version="1.0" encoding="UTF-8"?>

<project name="L2jFrozen_GameServer" default="dist-local" basedir=".">

<description>

        This script will build the L2J-Frozen server. Thanks for Using our Pack.

        

        This program is opensource   

        

    </description>

 

<property file="build.properties" />

<property name="src" location="head-src" />

<property name="src-lib" location="lib" />

 

<target name="prepare-test" description="Prepare the test folder property">

 

<property name="build" location="${test_destination_folder}" />

 

</target>

 

<target name="prepare-compiledRev" description="Prepare the compiledRev folder property">

 

<property name="build" location="${compiled_rev_destination_folder}" />

 

</target>

 

<target name="prepare-local" description="Prepare the local folder property">

 

<property name="build" location="build" />

 

</target>

 

<target name="prepare-final" description="Prepare the final folders properties">

 

<property name="build.classes" location="${build}/classes" />

<property name="build.dist" location="${build}/dist" />

<property name="build.dist.login" location="${build.dist}/loginserver" />

<property name="build.dist.login.lib" location="${build.dist.login}/lib" />

<property name="build.dist.game" location="${build.dist}/gameserver" />

<property name="build.dist.game.lib" location="${build.dist.game}/lib" />

<property name="properties-file" location="${build.dist.game}/config/version/l2jfrozen-server.properties" />

 

</target>

 

<path id="classpath">

<fileset dir="${src-lib}">

<include name="*.jar" />

</fileset>

</path>

 

<target name="init" description="Create the output directories.">

 

<mkdir dir="${build}" />

<mkdir dir="${build.classes}" />

<mkdir dir="${build.dist}" />

<mkdir dir="${build.dist.login}" />

<mkdir dir="${build.dist.login.lib}" />

<mkdir dir="${build.dist.game}" />

<mkdir dir="${build.dist.game.lib}" />

 

</target>

 

 

<target name="compile" depends="version" description="Compile the source.">

 

<javac destdir="${build.classes}" includeantruntime="false" optimize="on" debug="on" source="1.6" target="1.6" encoding="utf-8" nowarn="off">

<src path="${src}" />

<classpath refid="classpath" />

</javac>

</target>

 

 

<target name="jar" depends="compile" description="Create the jar file">

 

<jar destfile="${build}/l2jfrozen-core.jar">

<fileset dir="${build.classes}" />

</jar>

 

<copy todir="${build.dist.login.lib}">

<fileset dir="${build}">

<include name="l2jfrozen-core.jar" />

</fileset>

</copy>

<copy todir="${build.dist.game.lib}">

<fileset dir="${build}">

<include name="l2jfrozen-core.jar" />

</fileset>

</copy>

 

</target>

 

<target name="export" depends="jar">

 

<!-- copy todir="${build.dist.login}">

<fileset dir="config/others">

<include name="log.cfg" />

<include name="servername.xml" />

</fileset>

</copy>

 

<copy todir="${build.dist.game}">

<fileset dir="config/others">

<include name="log.cfg" />

</fileset>

</copy -->

 

<copy todir="${build.dist.game.lib}">

<fileset dir="${src-lib}">

<include name="*.jar" />

<include name="*.txt" />

</fileset>

</copy>

 

<copy todir="${build.dist.login.lib}">

<fileset dir="${src-lib}">

<include name="*.jar" />

<include name="*.txt" />

</fileset>

</copy>

 

<copy todir="${build.dist.login}">

<fileset dir="dist">

<include name="LoginServer_loop.sh" />

<include name="startLoginServer.*" />

<include name="anti_ddos.*" />

<include name="RegisterGameServer.*" />

</fileset>

</copy>

<copy todir="${build.dist.game}">

<fileset dir="dist">

<include name="GameServer_loop.sh" />

<include name="startGameServer.*" />

<include name="startBackup.*" />

</fileset>

</copy>

<copy todir="${build.dist}">

<fileset dir="dist">

<include name="Start_GameServer_noScreen.sh" />

<include name="Start_LoginServer_noScreen.sh" />

</fileset>

</copy>

 

<fixcrlf srcdir="${build.dist.game}" eol="lf" eof="remove" includes="**/*.sh">

</fixcrlf>

<fixcrlf srcdir="${build.dist.login}" eol="lf" eof="remove" includes="**/*.sh">

</fixcrlf>

 

<fixcrlf srcdir="${build.dist.game}" eol="crlf" eof="remove" includes="**/*.bat">

</fixcrlf>

<fixcrlf srcdir="${build.dist.login}" eol="crlf" eof="remove" includes="**/*.bat">

</fixcrlf>

 

<mkdir dir="${build.dist.game}/log" />

<mkdir dir="${build.dist.login}/log" />

 

<mkdir dir="${build.dist.login}/config" />

<mkdir dir="${build.dist.login}/config/network" />

<mkdir dir="${build.dist.login}/config/protected" />

 

<mkdir dir="${build.dist.game}/config/protected" />

<mkdir dir="${build.dist.game}/config/head" />

<mkdir dir="${build.dist.game}/config/functions" />

<mkdir dir="${build.dist.game}/config/powerpak" />

<mkdir dir="${build.dist.game}/config/powerpak/webservices" />

<mkdir dir="${build.dist.game}/config/network" />

<mkdir dir="${build.dist.game}/config/fun" />

 

<mkdir dir="${build.dist.game}/config/others" />

 

<!-- game server -->

<copy todir="${build.dist.game}/config">

<fileset dir="config">

<include name="*.properties" />

<include name="*.info" />

<include name="chatfilter.txt" />

<include name="questionwords.txt" />

<include name="key.cfg" />

<!-- include name="banned_ip.cfg" / -->

</fileset>

</copy>

 

<copy todir="${build.dist.game}/config/protected">

<fileset dir="config/protected">

<include name="*.properties" />

</fileset>

</copy>

 

<copy todir="${build.dist.game}/config/functions">

<fileset dir="config/functions">

<include name="*.properties" />

</fileset>

</copy>

 

<copy todir="${build.dist.game}/config/head">

<fileset dir="config/head">

<include name="*.properties" />

</fileset>

</copy>

 

<copy todir="${build.dist.game}/config/powerpak">

<fileset dir="config/powerpak">

<include name="*.*" />

</fileset>

</copy>

 

<copy todir="${build.dist.game}/config/powerpak/webservices">

<fileset dir="config/powerpak/webservices">

<include name="*.*" />

</fileset>

</copy>

 

<copy todir="${build.dist.game}/config/frozen">

<fileset dir="config/frozen">

<include name="*.properties" />

</fileset>

</copy>

 

<copy todir="${build.dist.game}/config/fun">

<fileset dir="config/fun">

<include name="*.properties" />

</fileset>

</copy>

<!-- network gameserver -->

<copy todir="${build.dist.game}/config/network">

<fileset dir="config/network">

<include name="gameserver.properties" />

</fileset>

</copy>

 

<copy todir="${build.dist.game}/config/others">

<fileset dir="config/others">

<include name="*.*" />

</fileset>

</copy>

 

<!-- copy todir="${build.dist.game}/">

<fileset dir="config/others">

<include name="*.*" />

</fileset>

</copy -->

 

 

<!-- login server -->

<copy todir="${build.dist.login}/config">

<fileset dir="config">

<include name="telnet.properties" />

</fileset>

<!-- fileset dir="config/others">

<include name="banned_ip.cfg" />

</fileset -->

</copy>

 

<copy todir="${build.dist.login}/config/protected">

<fileset dir="config/protected">

<include name="mmocore.properties" />

</fileset>

</copy>

 

 

<!-- network ls -->

<copy todir="${build.dist.login}/config/network">

<fileset dir="config/network">

<include name="loginserver.properties" />

</fileset>

</copy>

 

<copy todir="${build.dist.login}/config/others">

<fileset dir="config/others">

<include name="*.*" />

</fileset>

</copy>

 

 

<delete dir="${build.classes}" />

<delete file="${build}/l2jfrozen-core.jar" />

 

</target>

 

<target name="version" depends="init" description="Create Version file">

 

<tstamp>

<format property="build.tstamp" pattern="dd-MM-yyyy hh:mm:ss aa" />

</tstamp>

 

<exec dir="." executable="./subversion/svnversion" outputproperty="l2jfrozen.revision" failifexecutionfails="false">

<arg line="-n ." />

</exec>

 

<concat destfile="${properties-file}">

     revision=${l2jfrozen.revision}

     builddate=${build.tstamp}


 </concat>

 

<echo>L2jFrozen Gameserver Revision: ${l2jfrozen.revision}</echo>

</target>

 

<target name="dist-local" depends="prepare-local,prepare-final,export" description="Create distribution files and Zip one into 'build' folder">

<zip destfile="${build}/L2JFrozen_GameServer.zip" basedir="${build.dist}" update="true" />

</target>

 

<target name="dist-test" depends="prepare-test,prepare-final,export" description="Create distribution files into 'local_test_folder' folder: change it into build.properties">

</target>

 

<target name="dist-compiledRev" depends="prepare-compiledRev,prepare-final,export" description="Create distribution files into 'compiledRev_folder' folder: change it into build.properties">

</target>

 

<target name="dist-core" description="Generate core jar into 'build-core' folder">

<property name="build" location="build-core" />

<property name="build.classes" location="${build}/classes" />

<delete dir="${build.classes}" />

<delete file="${build}/l2jfrozen-core.jar" />

<mkdir dir="${build}" />

<mkdir dir="${build.classes}" />

<javac destdir="${build.classes}" includeantruntime="false" optimize="on" debug="on" source="1.6" target="1.6" encoding="UTF-8" nowarn="off">

 

<src path="${src}" />

<classpath refid="classpath" />

</javac>

 

<jar destfile="${build}/l2jfrozen-core.jar">

<fileset dir="${build.classes}" />

</jar>

 

<delete dir="${build.classes}" />

</target>

 

</project>

Link to comment
Share on other sites

  • 0
Link to comment
Share on other sites

  • 0

kaneto to java_home xoris to /bin kai dokimase molis patisis saveperimene 2 min na sinxronisi kai dokimase compile eixa to idio problima kai ebgala to /bin apo java_home dokimase kai pesmas

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • GOSTEI MUITO DO VIASUAL DO SERVE COMO POSSO ADQUIRI ESSA REV PACK   
    • Helly everyone . I use L2jmobius interlude , i did everything , installed the db compiled the Build in eclipse Gameserver seems to lead OK , but it fails to connect to loginserver When i click to start the loginserver it says  "Loginserver terminated abnormally" This is wheat gameserver shows me :    [05/10 17:25:12] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:12] LoginServerThread: LoginServer not available, trying to reconnect... [05/10 17:25:17] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:17] LoginServerThread: LoginServer not available, trying to reconnect... [05/10 17:25:22] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:22] LoginServerThread: LoginServer not available, trying to reconnect...   And This is my login config file:   # --------------------------------------------------------------------------- # Login Server Settings # --------------------------------------------------------------------------- # This is the server configuration file. Here you can set up the connection information for your server. # This was written with the assumption that you are behind a router. # Dumbed Down Definitions... # LAN (LOCAL area network) - typically consists of computers connected to the same router as you. # WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet). # x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers. # --------------------------------------------------------------------------- # Networking # --------------------------------------------------------------------------- # Bind ip of the LoginServer, use 0.0.0.0 to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 0.0.0.0 LoginserverHostname = 0.0.0.0 # Default: 2106 LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 127.0.0.1 LoginHostname = 127.0.0.1 # The port on which login will listen for GameServers # Default: 9014 LoginPort = 9014 # --------------------------------------------------------------------------- # Database # --------------------------------------------------------------------------- # Specify the JDBC driver class for your database. # Default: org.mariadb.jdbc.Driver Driver = org.mariadb.jdbc.Driver # Database URL # Default: jdbc:mariadb://localhost/l2jmobiusinterlude?useUnicode=true&characterEncoding=utf-8&useSSL=false&connectTimeout=10000&interactiveClient=true&sessionVariables=wait_timeout=600,interactive_timeout=600&autoReconnect=true URL = jdbc:mariadb://localhost/l2jmobiusinterlude?useUnicode=true&characterEncoding=utf-8&useSSL=false&connectTimeout=10000&interactiveClient=true&sessionVariables=wait_timeout=600,interactive_timeout=600&autoReconnect=true # Database user info. Default is "root" but it's not recommended. Login = root # Database user password, leave empty for no password. Password = root # Maximum number of database connections to maintain in the pool. # Default: 5 MaximumDatabaseConnections = 5 # Determine whether database connections should be tested for availability. # Default: False TestDatabaseConnections = False # --------------------------------------------------------------------------- # Automatic Database Backup Settings # --------------------------------------------------------------------------- # Generate database backups when server restarts or shuts down.  BackupDatabase = False # Path to MySQL bin folder. Only necessary on Windows. MySqlBinLocation = C:/xampp/mysql/bin/ # Path where MySQL backups are stored. BackupPath = ../backup/ # Maximum number of days that backups will be kept. # Old files in backup folder will be deleted. # Set to 0 to disable. BackupDays = 30 # --------------------------------------------------------------------------- # Thread Configuration # --------------------------------------------------------------------------- # Defines the number of threads in the scheduled thread pool. # If set to -1, this will be determined by available processors divided by 2. ScheduledThreadPoolSize = 2 # Defines the number of threads in the instant thread pool. # If set to -1, this will be determined by available processors divided by 2. InstantThreadPoolSize = 2 # --------------------------------------------------------------------------- # Security # --------------------------------------------------------------------------- # How many times you can provide an invalid account/pass before the IP gets banned. # Default: 5 LoginTryBeforeBan = 5 # Time you won't be able to login back again after LoginTryBeforeBan tries to login. # Default: 900 (15 minutes) LoginBlockAfterBan = 900 # If set to True any GameServer can register on your login's free slots # Default: True AcceptNewGameServer = True # Flood Protection. All values are in milliseconds. # Default: True EnableFloodProtection = True # Default: 15 FastConnectionLimit = 15 # Default: 700 NormalConnectionTime = 700 # Default: 350 FastConnectionTime = 350 # Default: 50 MaxConnectionPerIP = 50 # --------------------------------------------------------------------------- # Misc Login Settings # --------------------------------------------------------------------------- # If False, the license (after the login) will not be shown. # Default: True ShowLicence = True # Default: True AutoCreateAccounts = True # Datapack root directory. # Defaults to current directory from which the server is started. DatapackRoot = . # --------------------------------------------------------------------------- # Scheduled Login Restart # --------------------------------------------------------------------------- # Enable disable scheduled login restart. # Default: False LoginRestartSchedule = False # Time in hours. # Default: 24 LoginRestartTime = 24    
    • or at least to tell you an update that sorry but still not at home.. 10 days is suspisious.. but he is long time offline from discord indeed... maybe something happened?
  • Topics

×
×
  • Create New...