diff --git a/BUILD b/BUILD deleted file mode 100644 index 97449aa..0000000 --- a/BUILD +++ /dev/null @@ -1 +0,0 @@ -mvn package -Dmaven.test.skip=true diff --git a/bin/index/main/compress.kch b/bin/index/main/compress.kch deleted file mode 100644 index 808810b..0000000 Binary files a/bin/index/main/compress.kch and /dev/null differ diff --git a/bin/index/main/main.kch b/bin/index/main/main.kch deleted file mode 100644 index 808810b..0000000 Binary files a/bin/index/main/main.kch and /dev/null differ diff --git a/bin/index/main/patchs.kch b/bin/index/main/patchs.kch deleted file mode 100644 index 808810b..0000000 Binary files a/bin/index/main/patchs.kch and /dev/null differ diff --git a/bin/index/main/path.kch b/bin/index/main/path.kch deleted file mode 100644 index 808810b..0000000 Binary files a/bin/index/main/path.kch and /dev/null differ diff --git a/bin/index/main/purge.kch b/bin/index/main/purge.kch deleted file mode 100644 index 808810b..0000000 Binary files a/bin/index/main/purge.kch and /dev/null differ diff --git a/bin/index/main/storage.kch b/bin/index/main/storage.kch deleted file mode 100644 index 808810b..0000000 Binary files a/bin/index/main/storage.kch and /dev/null differ diff --git a/bin/redis/redis.conf b/bin/redis/redis.conf index 44c6e42..dbb1824 100644 --- a/bin/redis/redis.conf +++ b/bin/redis/redis.conf @@ -186,7 +186,7 @@ dbfilename dump.rdb # The Append Only File will also be created inside this directory. # # Note that you must specify a directory here, not a file name. -dir ./ +dir ~/index ################################# REPLICATION ################################# diff --git a/images/1.jpg b/images/1.jpg new file mode 100644 index 0000000..67bc710 Binary files /dev/null and b/images/1.jpg differ diff --git a/images/2.jpg b/images/2.jpg new file mode 100644 index 0000000..2332636 Binary files /dev/null and b/images/2.jpg differ diff --git a/images/3.jpg b/images/3.jpg new file mode 100644 index 0000000..ae90de8 Binary files /dev/null and b/images/3.jpg differ diff --git a/images/4.jpg b/images/4.jpg new file mode 100644 index 0000000..27f9561 Binary files /dev/null and b/images/4.jpg differ diff --git a/images/5.jpg b/images/5.jpg new file mode 100644 index 0000000..1462bcf Binary files /dev/null and b/images/5.jpg differ diff --git a/images/COPYRIGHT b/images/COPYRIGHT new file mode 100644 index 0000000..3f98e1c --- /dev/null +++ b/images/COPYRIGHT @@ -0,0 +1 @@ +Thanks to http://www.stockvault.net/ diff --git a/images/COPYRIGHT~ b/images/COPYRIGHT~ new file mode 100644 index 0000000..e69de29 diff --git a/log4j.properties b/log4j.properties new file mode 100644 index 0000000..c1e3748 --- /dev/null +++ b/log4j.properties @@ -0,0 +1,8 @@ +# Root logger option +log4j.rootLogger=WARN, stdout + +# Direct log messages to stdout +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.Target=System.out +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n diff --git a/package.sh b/package.sh new file mode 100755 index 0000000..2ff5bcc --- /dev/null +++ b/package.sh @@ -0,0 +1,9 @@ +#!/bin/bash +NOW=$(date +"%Y%m%d") +rm -f CBIRetrieval*.zip +rm -f bin/*.jar +mvn package -Dmaven.test.skip=true +cp target/Java*with-dependencies.jar bin/ +zip -r CBIRetrieval-$NOW.zip * + + diff --git a/target/JavaImageRetrieval-1.0-SNAPSHOT-jar-with-dependencies.jar b/target/JavaImageRetrieval-1.0-SNAPSHOT-jar-with-dependencies.jar index 1a5e267..c218701 100644 Binary files a/target/JavaImageRetrieval-1.0-SNAPSHOT-jar-with-dependencies.jar and b/target/JavaImageRetrieval-1.0-SNAPSHOT-jar-with-dependencies.jar differ diff --git a/target/JavaImageRetrieval-1.0-SNAPSHOT.jar b/target/JavaImageRetrieval-1.0-SNAPSHOT.jar index 302f121..2f52057 100644 Binary files a/target/JavaImageRetrieval-1.0-SNAPSHOT.jar and b/target/JavaImageRetrieval-1.0-SNAPSHOT.jar differ