dm3270-lib

This is a trimmed down version of https://github.com/dmolony/dm3270 to be used as TN3270 client library

License

License

GroupId

GroupId

us.abstracta
ArtifactId

ArtifactId

dm3270-lib
Last Version

Last Version

0.9.1
Release Date

Release Date

Type

Type

jar
Description

Description

dm3270-lib
This is a trimmed down version of https://github.com/dmolony/dm3270 to be used as TN3270 client library
Project URL

Project URL

https://github.com/abstracta/dm3270
Source Code Management

Source Code Management

https://github.com/abstracta/dm3270/tree/master

Download dm3270-lib

How to add to project

<!-- https://jarcasting.com/artifacts/us.abstracta/dm3270-lib/ -->
<dependency>
    <groupId>us.abstracta</groupId>
    <artifactId>dm3270-lib</artifactId>
    <version>0.9.1</version>
</dependency>
// https://jarcasting.com/artifacts/us.abstracta/dm3270-lib/
implementation 'us.abstracta:dm3270-lib:0.9.1'
// https://jarcasting.com/artifacts/us.abstracta/dm3270-lib/
implementation ("us.abstracta:dm3270-lib:0.9.1")
'us.abstracta:dm3270-lib:jar:0.9.1'
<dependency org="us.abstracta" name="dm3270-lib" rev="0.9.1">
  <artifact name="dm3270-lib" type="jar" />
</dependency>
@Grapes(
@Grab(group='us.abstracta', module='dm3270-lib', version='0.9.1')
)
libraryDependencies += "us.abstracta" % "dm3270-lib" % "0.9.1"
[us.abstracta/dm3270-lib "0.9.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.25

test (5)

Group / Artifact Type Version
junit : junit jar 4.12
us.abstracta : wiresham jar 0.3
org.assertj : assertj-core jar 3.10.0
com.google.guava : guava jar 24.0-jre
org.mockito : mockito-core jar 2.27.0

Project Modules

There are no modules declared in this project.

dm3270-lib

This is a trimmed down version of the dm3270 emulator to be used as TN3270 client library.

In particular it removes all references to JavaFX (which is not required to use code as lib and is not included by default in some OpenJDK distributions), and keeps only logic for simple terminal interaction. Additionally it includes some basic refactor (not too deep refactor to keep some traceability to original code) to simplify code.

Usage

To use the library is required JRE8+.

To use the emulator as maven dependency include in pom.xml:

<project>
...
<repositories>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>
...
<dependencies>
  <dependency>
      <groupId>com.github.blazemeter</groupId>
      <artifactId>dm3270</artifactId>
      <version>0.12.4-lib</version>
  </dependency>
  ...
</dependencies>
...
</project>

Check latest version in releases.

And then use provided API. An example of such usage can be found in TerminalClientTest.

Build

To build the project is required JDK8+, maven 3.3+.

Then just run mvn clean install and the library will be built and installed in the local maven repository.

Release

To release the project, define the version to be released by checking included changes since last release and following semantic versioning. Then, create a release (including v as prefix and -lib as suffix of the version, e.g. v0.1-lib), this will trigger a Travis build which will publish the jars to the created github release.

us.abstracta

Abstracta

Versions

Version
0.9.1
0.9
0.8.1
0.8
0.7
0.6
0.5.1
0.5