Revision: 7313
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7313&view=rev
Author:   dnaber
Date:     2012-06-10 21:06:22 +0000 (Sun, 10 Jun 2012)
Log Message:
-----------
new script to deplay latest version for wikipedia checks (server admin only)

Modified Paths:
--------------
    trunk/JLanguageTool/docs/internal.txt

Added Paths:
-----------
    trunk/JLanguageTool/src/scripts/deploy-wikipedia-checker.sh

Modified: trunk/JLanguageTool/docs/internal.txt
===================================================================
--- trunk/JLanguageTool/docs/internal.txt       2012-06-10 19:19:40 UTC (rev 
7312)
+++ trunk/JLanguageTool/docs/internal.txt       2012-06-10 21:06:22 UTC (rev 
7313)
@@ -93,6 +93,7 @@
 Community update of the Wikipedia data on community.languagetool.org (needs 
server access):
 
  -unzip the current release in /home/languagetool/ltcommunity/corpus/code
+  (you can use ./src/scripts/deploy-wikipedia-checker.sh for that)
  -if the CheckWikipediaDump.java itself has changed, upload the *.class files 
built by Eclipse
   to /home/languagetool/ltcommunity/corpus/org/languagetool/dev/wikipedia/ 
  -in /home/languagetool/ltcommunity/corpus, call ./check-all.sh

Added: trunk/JLanguageTool/src/scripts/deploy-wikipedia-checker.sh
===================================================================
--- trunk/JLanguageTool/src/scripts/deploy-wikipedia-checker.sh                 
        (rev 0)
+++ trunk/JLanguageTool/src/scripts/deploy-wikipedia-checker.sh 2012-06-10 
21:06:22 UTC (rev 7313)
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+echo ""
+echo "###"
+echo "### Admin only - you will need the server password to deploy the code 
###"
+echo "###"
+echo ""
+sleep 1
+
+ant dist-standalone && \
+  scp -i /home/dnaber/.ssh/openthesaurus dist/LanguageTool-[1-9].[0-9]*.zip 
[email protected]: && \
+  ssh -i /home/dnaber/.ssh/openthesaurus [email protected] "unzip -d 
/home/languagetool/ltcommunity/corpus/code ~/LanguageTool-[1-9].[0-9]*.zip"


Property changes on: trunk/JLanguageTool/src/scripts/deploy-wikipedia-checker.sh
___________________________________________________________________
Added: svn:executable
   + *

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to