-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now ships with new install script that automates copying of dependent
libraries, taking into account possible version conflicts. Upgraded to Elasticsearch 2.3.5, Norconex Committer Core 2.0.5, Norconex Commons Lang 1.12.0, Apache Commons Lang 2.6.
- Loading branch information
Showing
8 changed files
with
486 additions
and
413 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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
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
24 changes: 24 additions & 0 deletions
24
norconex-committer-elasticsearch/src/main/scripts/install.bat
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,24 @@ | ||
@echo off | ||
cd %~dp0 | ||
|
||
echo. | ||
echo PLEASE READ CAREFULLY | ||
echo. | ||
echo To install this component and its dependencies into another product, | ||
echo please specify the target product directory where libraries (.jar files) | ||
echo can be found. | ||
echo. | ||
echo This is often a "lib" directory. For example, to install this component | ||
echo into the Norconex HTTP Collector, specify the full path to the Collector | ||
echo "lib" directory, which may look somewhat like this: | ||
echo. | ||
echo C:\MyProject\norconex-collector-http-x.x.x\lib | ||
echo. | ||
echo If .jar duplicates are found, you will be asked how you wish to deal with | ||
echo them. It is recommended to try keep most recent versions upon encountering | ||
echo version conflicts. When in doubt, simply choose the default option. | ||
echo. | ||
|
||
java -Dfile.encoding=UTF8 -cp "./lib/*" com.norconex.commons.lang.jar.JarCopier ./lib | ||
|
||
pause |
22 changes: 22 additions & 0 deletions
22
norconex-committer-elasticsearch/src/main/scripts/install.sh
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,22 @@ | ||
#!/bin/sh | ||
cd $(dirname $0) | ||
|
||
echo "" | ||
echo "PLEASE READ CAREFULLY" | ||
echo "" | ||
echo "To install this component and its dependencies into another product," | ||
echo "please specify the target product directory where libraries (.jar files)" | ||
echo "can be found." | ||
echo "" | ||
echo "This is often a "lib" directory. For example, to install this component" | ||
echo "into the Norconex HTTP Collector, specify the full path to the Collector" | ||
echo "\"lib\" directory, which may look somewhat like this:" | ||
echo "" | ||
echo " /myProject/norconex-collector-http-x.x.x/lib" | ||
echo "" | ||
echo "If .jar duplicates are found, you will be asked how you wish to deal with" | ||
echo "them. It is recommended to try keep most recent versions upon encountering" | ||
echo "version conflicts. When in doubt, simply choose the default option." | ||
echo "" | ||
|
||
java -Dfile.encoding=UTF8 -cp "./lib/*" com.norconex.commons.lang.jar.JarCopier "./lib" |
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