
Internal documentation on how to make a LanguageTool release

-make a SVN update
-download latest translations from http://crowdin.net/download/project/languagetool.zip
 and put them into SVN using ./i18n_update.sh
-set version number in build.properties
-set JLanguageTool.VERSION in JLanguageTool.java
-update CHANGES files
-update README file (e.g. list of supported languages)
-make sure there are no other local changes left that are not committed
-run "ant test"
-run "ant" 
-test command line application, OOo integration, and stand-alone GUI version
 with at least these test sentences: 
    I've got allot of questions to you. (en)
    Seit 10 Jahre. (de)
    El agua es de gratis. (es)
    Je voudrais ajouter en plus quelque chose. (fr)
    Ovviamente... è tutto a gratis! (it)
    Dit is goed, en niet foutief. (nl)
    Kupiłem wino chciałem też pić wodę. (pl)
    Стоимость работ составила 10 тыс рублей. (ru)
-upload to the server:
    -dist/*.oxt, dist/README.txt and dist/CHANGES.txt to "download"
    -run "ant javadoc" and upload dist/docs/api/* to "development"
-run "ant jnlp" (note you need file myalias.p12 with the certificate to do this;
	for security reasons it is not in the repository.)
-upload to the server:
    -dist/web/ to www/webstart/web/ (resulting from "ant jnlp")
-commit local version number changes etc. to SVN
-tag release as V_x_y, e.g. V_1_3
 (Eclipse: 'Team -> Tag as Version' on the JLanguageTool project)

-update website
    -index.php (remember to also set $lastmod)
    -languages/index.php (run de.danielnaber.languagetool.dev.RuleOverview,
     remember to also set $lastmod)
    -languagetool.update.xml (active only if it's linked in description.xml)
    -add the new version number to Sourceforge's bug tracker
    -...

-build.properties, JLanguageTool.VERSION in JLanguageTool.java:
    -set to next version: x.y-dev

-write announcements:
    -LanguageTool mailing list
    -http://extensions.services.openoffice.org/project/languagetool
    -freshmeat
    -http://twitter.com/languagetoolorg
    -Daniel's blog
	-Polish blog: morfologik.blogspot.com
	-pl.openoffice.org
	
	
Community update of the Wikipedia data on community.languagetool.org (needs server access):

 -unzip the current release in /home/languagetool/ltcommunity/corpus/code
 -if the CheckWikipediaDump.java itself has changed, upload the *.class files built by Eclipse
  to /home/languagetool/ltcommunity/corpus/de/danielnaber/languagetool/dev/wikipedia/ 
 -in /home/languagetool/ltcommunity/corpus, call this for each language ("de" in this example):
    ./update.sh de
    (this will run ./clean.sh de, ./download.sh de and ./check.sh de - it will download only part of the dump)
  Language codes are: en de pl fr es it nl lt uk ru sl sv ro is gl ca

Community update of the rules at community.languagetool.org (needs server access):

 -create a new JAR of the rules and resources of the current release:
 	zip -r LanguageTool-Rules.jar resource/ rules/
 -make a backup of the libs:
  cp /home/languagetool/tomcat/webapps/ROOT/WEB-INF/lib/*.jar /home/languagetool/tomcat/backup/
 -copy the newly created LanguageTool-Rules.jar and LanguageTool.jar from the current release to
  /home/languagetool/tomcat/webapps/ROOT/WEB-INF/lib
 -maybe update the other JARs, too
 -restart tomcat
 