From 0bbcbd62854df05d844d89b395a52a1ebf70c7c4 Mon Sep 17 00:00:00 2001 From: frbattid Date: Tue, 3 Nov 2015 15:15:57 +0100 Subject: [PATCH] FIX the documentation regarding the installation from sources --- CHANGES_NEXT_RELEASE | 1 + doc/installation/src_install.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index 77651a047..71d67995a 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -13,3 +13,4 @@ - [BUG] Fix the CKAN resource name building, removing references to old default destination (#592) - [FEATURE] Allow enabling/disabling Hive in OrionHDFSSink (#555) - [HARDENING] Explain the batching mechanism in the performance document (#564) +- [HARDENING] Fix the documentation regarding the installation from sources (#596) diff --git a/doc/installation/src_install.md b/doc/installation/src_install.md index ad2dbcb26..000bea420 100644 --- a/doc/installation/src_install.md +++ b/doc/installation/src_install.md @@ -67,20 +67,22 @@ The creation of the `plugins.d` directory is related to the installation of thir Then, the developed classes must be packaged in a Java jar file; this can be done by including the dependencies in the package (**recommended**): $ git clone https://github.com/telefonicaid/fiware-cygnus.git - $ git checkout $ cd fiware-cygnus + $ git checkout $ APACHE_MAVEN_HOME/bin/mvn clean compile exec:exec assembly:single $ cp target/cygnus--jar-with-dependencies.jar APACHE_FLUME_HOME/plugins.d/cygnus/lib $ cp target/classes/cygnus-flume-ng APACHE_FLUME_HOME/bin + $ chmod a+x APACHE_FLUME_HOME/bin/cygnus-flume-ng or not: $ git clone https://github.com/telefonicaid/fiware-cygnus.git - $ git checkout $ cd fiware-cygnus + $ git checkout $ APACHE_MAVEN_HOME/bin/mvn exec:exec package $ cp target/cygnus-.jar APACHE_FLUME_HOME/plugins.d/cygnus/lib $ cp target/classes/cygnus-flume-ng APACHE_FLUME_HOME/bin + $ chmod a+x APACHE_FLUME_HOME/bin/cygnus-flume-ng where `` is `develop` if you are trying to install the latest features or `release/` if you are trying to install a stable release. `` stands for a specific version number (e.g. `0.3`, `0.5.1`...).