Remove broken import (unused), fix Ant build file, and add build instructions.

This commit is contained in:
Jonn 2022-02-18 22:11:02 +09:00
parent 36f600fe1a
commit e566330d98
4 changed files with 16 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
# Compiled class file # Compiled class file
*.class *.class
build/
# Log file # Log file
*.log *.log

View File

@ -5,3 +5,17 @@ Original EmuLinker can be found here: https://github.com/monospacesoftware/emuli
This is unofficially updated version of EmulinkeSF, based on original latest source v72.3 (09-20-2009). This is unofficially updated version of EmulinkeSF, based on original latest source v72.3 (09-20-2009).
This version includes bug fixes and other improvements. This version includes bug fixes and other improvements.
****************** ******************
## Development
To build the jar using Ant (tested at version 1.10.7) run:
```shell
$ ant build
```
To run the jar with Bash:
```shell
$ java -Xms64m -Xmx128m -cp ./conf:./build/emulinker.jar:./lib/commons-collections-3.1.jar:./lib/commons-configuration-1.1.jar:./lib/commons-el.jar:./lib/commons-lang-2.1.jar:./lib/commons-logging.jar:./lib/commons-pool-1.2.jar:./lib/log4j-1.2.12.jar:./lib/nanocontainer-1.0-beta-3.jar:./lib/picocontainer-1.1.jar:./lib/xstream-1.1.2.jar:./lib/commons-codec-1.3.jar:./lib/commons-httpclient-3.0-rc3.jar org.emulinker.kaillera.pico.PicoStarter
```

View File

@ -21,7 +21,7 @@
<delete> <delete>
<fileset dir="./build" includes="**/*.class" /> <fileset dir="./build" includes="**/*.class" />
</delete> </delete>
<javac srcdir="./src" destdir="./build" includes="**/*.java" failonerror="true" debug="on"> <javac srcdir="./src" destdir="./build" includes="**/*.java" failonerror="true" debug="on" encoding="iso-8859-1" includeantruntime="false">
<classpath refid="project.class.path" /> <classpath refid="project.class.path" />
</javac> </javac>
<echo message="Compiling complete." /> <echo message="Compiling complete." />

View File

@ -2,13 +2,9 @@ package org.emulinker.kaillera.controller.v086.protocol;
import java.nio.ByteBuffer; import java.nio.ByteBuffer;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.emulinker.kaillera.controller.messaging.*; import org.emulinker.kaillera.controller.messaging.*;
import org.emulinker.util.*; import org.emulinker.util.*;
import com.sun.corba.se.impl.encoding.BufferManagerFactory;
public abstract class V086Message extends ByteBufferMessage public abstract class V086Message extends ByteBufferMessage
{ {
protected int number; protected int number;