04-06-2012, 03:35 PM
Исходники сборки RusTeam
Проблема компиляции при добавлении бафера в ядро.
Что делать?
Файл Config_buffer.java
Проблема компиляции при добавлении бафера в ядро.
Что делать?
Buildfile: D:\RusTeam\build.xml
clean:
[delete] Deleting directory D:\RusTeam\build
init:
[mkdir] Created dir: D:\RusTeam\build
[mkdir] Created dir: D:\RusTeam\build\classes
[mkdir] Created dir: D:\RusTeam\build\dist
[mkdir] Created dir: D:\RusTeam\build\dist\login
[mkdir] Created dir: D:\RusTeam\build\dist\gameserver
compile:
[javac] Compiling 1406 source files to D:\RusTeam\build\classes
[javac] D:\RusTeam\java\net\sf\l2j\Config_Buffer.java:17: duplicate class: c
om.src.Config_Buffer
[javac] public class Config_Buffer
[javac] ^
[javac] D:\RusTeam\java\net\sf\l2j\gameserver\model\actor\instance\L2BuffIns
tance.java:14: cannot access net.sf.l2j.Config_Buffer
[javac] bad class file: D:\RusTeam\java\net\sf\l2j\Config_Buffer.java
[javac] file does not contain class net.sf.l2j.Config_Buffer
[javac] Please remove or make sure it appears in the correct subdirectory of
the classpath.
[javac] import net.sf.l2j.Config_Buffer;
[javac] ^
BUILD FAILED
D:\RusTeam\build.xml:38: Compile failed; see the compiler error output for detai
ls.
Total time: 3 seconds
D:\RusTeam>
Файл Config_buffer.java
package com.src;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Properties;
import net.sf.l2j.Config;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.concurrent.atomic.AtomicLong;
import java.util.Map;
import javolution.util.FastMap;
public class Config_Buffer