Skip to content

Commit

Permalink
Merge pull request #597 from telefonicaid/hardening/596_fix_install_f…
Browse files Browse the repository at this point in the history
…rom_sources

hardening/596_fix_install_from_sources
  • Loading branch information
Fermín Galán Márquez committed Nov 3, 2015
2 parents 85f1127 + 0bbcbd6 commit e32bffa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 4 additions & 2 deletions doc/installation/src_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <branch>
$ cd fiware-cygnus
$ git checkout <branch>
$ APACHE_MAVEN_HOME/bin/mvn clean compile exec:exec assembly:single
$ cp target/cygnus-<x.y.z>-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 <branch>
$ cd fiware-cygnus
$ git checkout <branch>
$ APACHE_MAVEN_HOME/bin/mvn exec:exec package
$ cp target/cygnus-<x.y.z>.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 `<branch>` is `develop` if you are trying to install the latest features or `release/<x.y.z>` if you are trying to install a stable release. `<x.y.z>` stands for a specific version number (e.g. `0.3`, `0.5.1`...).

Expand Down

0 comments on commit e32bffa

Please sign in to comment.