Skip to content
abas Essentials Application to demonstrate all supported components
Java Mathematica Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github default reviewer configuration Mar 26, 2019
documentation/src/main/asciidoc ESDK-1400 added --yes-i-have-a-backup to documentation May 2, 2019
gradle/wrapper Update Gradle Wrapper to version 5.1 Jan 9, 2019
src ESDK-1167 fix tests May 14, 2019
.gitignore
Jenkinsfile
README.md inital commit Jul 27, 2017
build.gradle ESDK-1552 remove println Jul 19, 2019
docker-compose.yml ESDK-1408 add init: true May 8, 2019
gradle.properties.template Revert "ESDK-1182 Set release version to 0.12.14" Aug 19, 2019
gradlew inital commit Jul 27, 2017
gradlew.bat inital commit Jul 27, 2017
initGradleProperties.sh inital commit Jul 27, 2017

README.md

trainingApp

This is the source code of the trainingApp an abas Essentials Application build on the abas Essentials SDK.

General setup

Add a gradle.properties file to your $GRADLE_USER_HOME.

#If you use a proxy add it here
systemProp.http.proxyHost=webproxy.abas.de
systemProp.http.proxyPort=8000
systemProp.https.proxyHost=webproxy.abas.de
systemProp.https.proxyPort=8000

nexusSnapshotURL=https://registry.abas.sh/repository/abas.snapshots
nexusReleaseURL=https://registry.abas.sh/repository/abas.releases
nexusUser=<extranet username>
nexusPassword=<extranet password>

To create the common development setup for IntelliJ run

./gradlew idea

To create the common development setup for Eclipse run

./gradlew eclipse

Or just import the project as a Gradle project

Installation

To install the project make sure you are running the docker-compose.yml file or else change the gradle.properties file accordingly to use another erp client (you will still need a nexus server, but it can of course also be installed in your erp installation or elsewhere as long as it is configured in the gradle.properties file).

To use the project's docker-compose.yml file, in the project's root directory run:

docker login --username <extranet user> --password <extranet password> intra.registry.abas.sh
docker-compose up

Once it's up, initialize the gradle.properties with the appropriate values by running:

./initGradleProperties.sh

Now, you need to load all the $HOMEDIR/java/lib dependencies into the Nexus Server. This is only necessary once as long as the essentials_nexus container is not reinitialized. Run the following gradle command to upload the dependencies to the Nexus Server:

./gradlew publishHomeDirJars

Now you can install the project as follows:

./gradlew fullInstall

Development

If you want to make changes to the project before installing you still need to run the docker-compose.yml file or at least have a Nexus Server set up to work with.

Then run

./gradlew publishHomeDirJars

You also need to run

./gradlew publishClientDirJars
./gradlew idea eclipse

to upload the $MANDANTDIR/java/lib dependencies to the Nexus Server and set eclipse up to work with the uploaded dependencies.

After that the code should compile both with gradle and in IntelliJ/Eclipse and you are set up to work on the code or resource files as you want.

You can’t perform that action at this time.