2013-12-23 04:44:26 +00:00
|
|
|
#!/bin/bash
|
2012-01-25 19:49:26 +00:00
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
rm -r -f example2
|
|
|
|
|
|
|
|
rm -r -f dist
|
|
|
|
rm -r -f build
|
|
|
|
rm -r -f example/solr/zoo_data
|
2012-08-03 16:11:00 +00:00
|
|
|
rm -r -f example/solr/collection1/data
|
2012-01-25 19:49:26 +00:00
|
|
|
rm -f example/example.log
|
|
|
|
|
2015-01-13 23:31:20 +00:00
|
|
|
ant server dist
|
2012-01-25 19:49:26 +00:00
|
|
|
|
|
|
|
cp -r -f example example2
|
|
|
|
|
|
|
|
|
|
|
|
cd example
|
2012-07-09 17:33:12 +00:00
|
|
|
java -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -Dbootstrap_conf=true -jar start.jar 1>example.log 2>&1 &
|
2012-01-25 19:49:26 +00:00
|
|
|
|
|
|
|
sleep 10
|
|
|
|
|
|
|
|
cd ../example2
|
2012-02-10 03:40:31 +00:00
|
|
|
java -Djetty.port=9574 -DzkRun -DzkHost=localhost:9983 -DSTOP.PORT=6574 -DSTOP.KEY=key -jar start.jar 1>example2.log 2>&1 &
|
2012-01-25 19:49:26 +00:00
|
|
|
|
|
|
|
|