Giter Club home page Giter Club logo

ec-consumer-test's Introduction

Eclipse Collections Consumer Test

This repository contains some simple scenarios to verify that the Eclipse Collections artifacts can be consumed in various deployment scenarios.

The first step is to run the build to ensure that the dependency resolution works as intended.

mvn clean verify

Switch to the created result folder in the project root. Now you can execute the different build variants from command line:

Plain Java

First of all it is possible to execute a plain Java application from classpath and from modulepath.

Run the example from classpath

java -cp ./jars/* org.fipro.ec_consumer_test.ec_consumer_main.SortInput Mohammad Donald Hiroshi Craig Sirisha Nikhil

Run the example from modulepath

java --module-path ./jars --module ec.consumer.main/org.fipro.ec_consumer_test.ec_consumer_main.SortInput Mohammad Donald Hiroshi Craig Sirisha Nikhil

JPMS

It is also possible to create a custom JRE using jlink.

To build a custom JRE from the modulepath, execute the following command:

jlink --add-modules=ALL-MODULE-PATH --module-path jars --no-header-files --no-man-pages --output custom_jre

Run the example by using the created custom JRE

custom_jre/bin/java --module ec.consumer.main Mohammad Donald Hiroshi Craig Sirisha Nikhil

OSGi

The Eclipse Collections API and Impl artifacts can be consumed as bundles in an OSGi application.

Run the OSGi application example

java -Djava.util.logging.config.file=osgi/logging.properties -jar osgi/app.jar Mohammad Donald Hiroshi Craig Sirisha Nikhil

Eclipse

In the result folder you will also find the eclipse subfolder, that contains subfolders for the main operating systems. To test that Eclipse Collections also work in an Eclipse applications, move to the folder for your operating system and start the application via the eclipse executable. A simple user interface starts up that lets you enter space separated values in the text field.

ec-consumer-test's People

Contributors

fipro78 avatar

Stargazers

Donald Raab avatar

Watchers

Donald Raab avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.