james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [11/18] james-project git commit: JAMES-2587 coping files for cassandra-rabbit in compile.sh
Date Fri, 09 Nov 2018 07:52:18 GMT
JAMES-2587 coping files for cassandra-rabbit in compile.sh


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/191ce4c3
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/191ce4c3
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/191ce4c3

Branch: refs/heads/master
Commit: 191ce4c31e475f127f891e95be3d8ccc853c27b6
Parents: 5f2a7d9
Author: tran tien duc <dtran@linagora.com>
Authored: Tue Nov 6 15:12:16 2018 +0700
Committer: Antoine Duprat <aduprat@linagora.com>
Committed: Fri Nov 9 08:50:43 2018 +0100

----------------------------------------------------------------------
 dockerfiles/compilation/java-8/compile.sh | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/191ce4c3/dockerfiles/compilation/java-8/compile.sh
----------------------------------------------------------------------
diff --git a/dockerfiles/compilation/java-8/compile.sh b/dockerfiles/compilation/java-8/compile.sh
index d3d86ad..81a2e30 100755
--- a/dockerfiles/compilation/java-8/compile.sh
+++ b/dockerfiles/compilation/java-8/compile.sh
@@ -14,6 +14,7 @@ printUsage() {
 
 ORIGIN=/origin
 CASSANDRA_DESTINATION=/cassandra/destination
+CASSANDRA_RABBITMQ_DESTINATION=/cassandra-rabbitmq/destination
 JPA_DESTINATION=/jpa/destination
 JPA_SMTP_DESTINATION=/jpa-smpt/destination
 SPRING_DESTINATION=/spring/destination
@@ -59,6 +60,14 @@ fi
 # Retrieve result
 
 if [ $? -eq 0 ]; then
+   if [ -d "$CASSANDRA_RABBITMQ_DESTINATION" ]; then
+      echo "Copying cassandra JARs"
+      cp server/container/guice/cassandra-rabbitmq-guice/target/james-server-cassandra-rabbitmq-guice.jar
$CASSANDRA_RABBITMQ_DESTINATION || true
+      cp -r server/container/guice/cassandra-rabbitmq-guice/target/james-server-cassandra-rabbitmq-guice.lib
$CASSANDRA_RABBITMQ_DESTINATION || true
+      cp server/container/cli/target/james-server-cli.jar $CASSANDRA_RABBITMQ_DESTINATION
|| true
+      cp -r server/container/cli/target/james-server-cli.lib $CASSANDRA_RABBITMQ_DESTINATION
|| true
+   fi
+
    if [ -d "$CASSANDRA_DESTINATION" ]; then
       echo "Copying cassandra JARs"
       cp server/container/guice/cassandra-guice/target/james-server-cassandra-guice.jar $CASSANDRA_DESTINATION
|| true


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message