-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
42 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,13 @@ | |
*.jar | ||
*.war | ||
*.ear | ||
*.deb | ||
|
||
target | ||
.project | ||
.settings | ||
.idea | ||
*.iml | ||
.DS_Store | ||
|
||
src/deb/fmtn-a/usr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
exec java -jar /usr/share/java/a-*-jar-with-dependencies.jar "$@" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/sh | ||
|
||
# Script to build a DEB (Debian/Ubuntu/etc) installer package | ||
# This procedure might not delivere a package that is ready to be added to one of these distributions | ||
# But it will deliver an installable DEB packager | ||
|
||
# install the required software | ||
sudo apt-get install maven | ||
|
||
# Build the actual 'a' software | ||
(cd ../..; mvn clean install -DskipTests) | ||
|
||
# Add the full jar file to the distribution | ||
mkdir --parents fmtn-a/usr/share/java | ||
cp ../../target/a-*-jar-with-dependencies.jar fmtn-a/usr/share/java/ | ||
|
||
# Add a helper script to the distribution | ||
mkdir --parents fmtn-a/usr/bin | ||
cp a.sh fmtn-a/usr/bin/a | ||
chmod a+rx fmtn-a/usr/bin/a | ||
|
||
# Build the package | ||
dpkg-deb --build --root-owner-group fmtn-a | ||
|
||
# (sample) Install the package | ||
#sudo dpkg -i fmtn-a.deb | ||
|
||
# End |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Package: fmtn-a | ||
Version: 1.6.0 | ||
Section: misc | ||
Priority: optional | ||
Architecture: all | ||
Maintainer: Petter Nordlander <nordlander.petter@gmail.com> | ||
Description: ActiveMQ CLI testing and message management | ||
Depends: java11-runtime-headless | java12-runtime-headless | java13-runtime-headless | java14-runtime-headless | java15-runtime-headless | java16-runtime-headless | java17-runtime-headless | java18-runtime-headless | java19-runtime-headless | java20-runtime-headless | java21-runtime-headless |