manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piergior...@apache.org
Subject svn commit: r1301702 - /incubator/lcf/branches/CONNECTORS-423/connectors/elasticsearch/build.xml
Date Fri, 16 Mar 2012 18:59:24 GMT
Author: piergiorgio
Date: Fri Mar 16 18:59:23 2012
New Revision: 1301702

URL: http://svn.apache.org/viewvc?rev=1301702&view=rev
Log:
- added the Ant script to download ElasticSearch server with the attachment plugin ready to
run for integration tests

Modified:
    incubator/lcf/branches/CONNECTORS-423/connectors/elasticsearch/build.xml

Modified: incubator/lcf/branches/CONNECTORS-423/connectors/elasticsearch/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-423/connectors/elasticsearch/build.xml?rev=1301702&r1=1301701&r2=1301702&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-423/connectors/elasticsearch/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-423/connectors/elasticsearch/build.xml Fri Mar 16 18:59:23
2012
@@ -20,10 +20,28 @@
     <import file="../connector-build.xml"/>
 
     <target name="download-dependencies">
+        
         <mkdir dir="build/download"/>
-        <get src="http://cloud.github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.7.tar.gz"
dest="build/download/elasticsearch.tar.gz"/>
+        <get src="http://cloud.github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.0.tar.gz"

+          dest="build/download/elasticsearch.tar.gz"/>
         <gunzip src="build/download/elasticsearch.tar.gz"/>
         <untar src="build/download/elasticsearch.tar" dest="test-materials-proprietary"/>
+        
+        <!-- download and install the attachment plugin -->
+        <mkdir dir="test-materials-proprietary/elasticsearch-0.19.0/plugins"/>
+        
+        <get src="http://cloud.github.com/downloads/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-1.2.0.zip"

+          dest="test-materials-proprietary/elasticsearch-0.19.0/plugins/mapper-attachments.zip"/>
+        
+        <unzip src="test-materials-proprietary/elasticsearch-0.19.0/plugins/mapper-attachments.zip"
dest="test-materials-proprietary/elasticsearch-0.19.0/plugins/mapper-attachments"/>
+        
+        <chmod dir="test-materials-proprietary/elasticsearch-0.19.0" perm="ugo+rxw">
+         <fileset dir="**/*"/>
+        </chmod>
+        <chmod file="test-materials-proprietary/elasticsearch-0.19.0/bin/plugin" perm="ugo+rx"/>
+        <chmod file="test-materials-proprietary/elasticsearch-0.19.0/bin/elasticsearch"
perm="ugo+rx"/>
+        <chmod file="test-materials-proprietary/elasticsearch-0.19.0/bin/elasticsearch.in.sh"
perm="ugo+rx"/>
+      
     </target>
 
 </project>



Mime
View raw message