Kommandozeilen-Werkzeug zum Erstellen von C Header Konfigurationsdateien aus einem EXCEL-Sheet.

steiner 82f13580b7 Reset, Replay 3 years ago
src 82f13580b7 Reset, Replay 3 years ago
.gitignore 82f13580b7 Reset, Replay 3 years ago
README.md 82f13580b7 Reset, Replay 3 years ago
build.sh 82f13580b7 Reset, Replay 3 years ago
bundle-launcher.cmd 82f13580b7 Reset, Replay 3 years ago
bundle-launcher.sh 82f13580b7 Reset, Replay 3 years ago
bundle.conf 82f13580b7 Reset, Replay 3 years ago
bundle.sh 82f13580b7 Reset, Replay 3 years ago
installer.sh 82f13580b7 Reset, Replay 3 years ago
jexefy-all.sh 82f13580b7 Reset, Replay 3 years ago
jexefy-launcher-x86_64.elf 82f13580b7 Reset, Replay 3 years ago
jexefy-launcher-x86_64.exe 82f13580b7 Reset, Replay 3 years ago
jexefy.sh 82f13580b7 Reset, Replay 3 years ago
pom.xml 82f13580b7 Reset, Replay 3 years ago
scriptify-all.sh 82f13580b7 Reset, Replay 3 years ago
scriptify.conf 82f13580b7 Reset, Replay 3 years ago
scriptify.inc 82f13580b7 Reset, Replay 3 years ago
scriptify.sh 82f13580b7 Reset, Replay 3 years ago

README.md

README

Welcome to your REFCODES.ORG archetype based artifact. This archetype has been generated by invoking the following command:

mvn archetype:generate \
  -DarchetypeGroupId=org.refcodes \
  -DarchetypeArtifactId=refcodes-archetype-alt-csv \
  -DarchetypeVersion=2.1.2-SNAPSHOT \
  -DgroupId=org.fortiss.aquatherm \
  -DartifactId=aquatherm-sheets \
  -Dversion=0.0.1

Feel free to replace this REDAME.md file with some file of your own after having considered the below paragraphs.

Getting started

To get up and running, you use this archetype together with Maven. Just change into the newly created folder and invoke mvn to build your new application:

cd aquatherm-sheets
mvn clean install

This will package your application into a fatjar which can be executed:

java -jar ./target/aquatherm-sheets-0.0.1.jar --help

When running a shell such as bash then first (and once only) make sure the shell scripts are executable by changing the according file attributes and then invoke the build.sh script, so finally you can launch your application from inside the target folder:

chmod ug+x *.sh

Using the build.sh script will create a self-contained executable shell script by automatically invoking the scriptify.sh script after a successful build (see further down below for more information on the scriptify.sh script).

The build.sh script will finish off by printing out the actual path and the name of the created executable binary shell script.

./build.sh
./target/aquatherm-sheets.sh --help

In case your Artifact-ID aquatherm-sheets contains a slash ("-"), then just the portion after the slash is used for your executable binary shell script's name.

Self contained executables

To build self-contained single binary applications for Linux and Windows, go as follows:

./bundle.sh
./target/aquatherm-sheets --help

In case your Artifact-ID aquatherm-sheets contains a slash ("-"), then just the portion after the slash is used for your executable binary's name.

On Windows, execute the file aquatherm-sheets.exe located in the target folder accordingly!

The self-contained single binary applications (bundles) are generated by using Warp!

Windows installer

To build a Windows aquatherm-sheets.msi installer, go as follows:

./installer.sh

Then launch the aquatherm-sheets.msi installer located in the target folder to install your application alongside the bundled JRE.

In case your Artifact-ID aquatherm-sheets contains a slash ("-"), then just the portion after the slash is used for your installer's name.

Scriptify JAR

To create a self-contained executable bash script aquatherm-sheets.sh consisting of a bootstrap (bash script) portion and the actual Fat-JAR file, go as follows (automatically invoked when calling build.sh):

./scriptify.sh
./target/aquatherm-sheets.sh --help

To run this self-contained shell script, an installed JRE or JDK is required!

In case your Artifact-ID aquatherm-sheets contains a slash ("-"), then just the portion after the slash is used for your executable binary shell script's name.

Resources

Terms and conditions

This code is written and provided by Siegfried Steiner, Munich, Germany. Feel free to use it as skeleton for your own applications. Make sure you have considered the license conditions of the included artifacts (see the provided pom.xml file).

The REFCODES.ORG artifacts used by this template are copyright (c) by Siegfried Steiner, Munich, Germany and licensed under some open source licenses; covered by the refcodes-licensing (org.refcodes group) artifact - evident in each artifact in question as of the pom.xml dependency included in such artifact.