Merge pull request #5 from hopskipnfall/add-instructions
Add Ant build instructions and github CI.
This commit is contained in:
commit
e9c0629aac
22
.github/workflows/ant.yml
vendored
Normal file
22
.github/workflows/ant.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Java CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 11
|
||||||
|
uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
java-version: '11'
|
||||||
|
distribution: 'temurin'
|
||||||
|
- name: Build with Ant
|
||||||
|
run: ant build
|
14
README.md
14
README.md
@ -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
|
||||||
|
```
|
||||||
|
@ -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." />
|
||||||
|
3
build/.gitignore
vendored
Normal file
3
build/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Ignore everything in this directory, but Ant will complain if we don't have a build/ directory, so leave this .gitignore as a placeholder.
|
||||||
|
*
|
||||||
|
!.gitignore
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user