Strabon

diff endpoint-exec/src/deb/control/control @ 1355:8d50279a662c

Bug #58 : Strabon goes debian v1. endpoint-exec/pom.xml was added
to use the jdeb maven plugin to create the .deb of the stand-alone
executable jar. See more details in endpoint-exec/pom.xml.
What to do next:
1) Add dependencies. We should discuss which dependencies should be
added. (java? postgresql? how to declare them? i.e. oracle java,
default-jdk/jre or openjdk/jre? and also which versions.
Currently strabon is installed assuming that dependencies are met
already.
2) Enrich the mainClass so that new arguments are supported regarding
the connection properties instead of having an "endpoint" db for
example (or port). In other words, instead of relying solely on
connection.properties inside the executable jar, the user should
also be able to input his own connection properties via cmd.
3) The executable script/command strabon-endpoint should dynamically
adjust to the jar created. Currently it is hardcoded to
strabon-endpoint-executable-3.2.10-SNAPSHOT.jar. However, I
doubt whether this is feasible, since the script is a resource
for the package and we cannot be sure that the jdeb plugin of maven
can modify a file (via maven). Consequently, a manual solution
should be employed at least for now.

How to install:
a. The .deb package is built by executing in the base dir:
$>mvn clean install
b. then
$>sudo dpkg -i <package_name>.deb

How to execute:
Just run: $>strabon-endpoint (from any current working directory)
note: make sure that port 8080 is not in use though (will be fixed
in TODO 2).
author Giannis Vlachopoulos <johnvl@di.uoa.gr>
date Thu Sep 11 17:32:57 2014 +0300 (2014-09-11)
parents
children b3b5eb3ca804
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/endpoint-exec/src/deb/control/control	Thu Sep 11 17:32:57 2014 +0300
     1.3 @@ -0,0 +1,8 @@
     1.4 +Package: Strabon
     1.5 +Version: 3.2.10
     1.6 +Section: strabon-endpoint
     1.7 +Priority: optional
     1.8 +Architecture: all
     1.9 +Maintainer: Manolis Karpathiotakis <manos.karpathiotakis@epfl.ch>, Kostis Kyzirakos <Kostis.Kyzirakos@cwi.nl>, Charalambos Nikolaou <charnik@di.uoa.gr>, Konstantina Bereta <konstantina.bereta@di.uoa.gr>, Georgios Garbis <ggarbis@di.uoa.gr>,  Dimitrios Bilidas <dbilidas@di.uoa.gr>, Stella Giannakopoulou <sgian@di.uoa.gr>, Panayiotis Smeros <psmeros@di.uoa.gr>, Kalliroi Dogani <kallirroi@di.uoa.gr>, Maria Karpathiotaki <mkarpat@di.uoa.gr>, Ioannis Vlachopoulos <johnvl@di.uoa.gr>, Dimitrianos Savva <dimis@di.uoa.gr>, Georgios Stamoulis <gstam@di.uoa.gr>, Kanela Kaligosi <kalkan@di.uoa.gr>
    1.10 +Description: Strabon endpoint executable
    1.11 +Distribution: Mozilla v2.0 Public Liscence