buildRelease.bat 2.3 KB
Newer Older
1
@echo off
2
echo %time:~0,8% Start
3

4 5 6
rem == Change version and build number in Constants.java
rem == Maybe increase TCP_DRIVER_VERSION (old clients must be compatible!)
rem == Update the changelog (add new version)
7
rem == Update the newsfeed
8 9 10 11 12 13 14 15
rem == No "  Message.get" (must be "throw Message.get")
rem == Documentation: check if all Javadoc files are in the index
rem == Check that is no TODO in the docs
rem == Check code coverage
rem == Run regression test with JDK 1.4 and 1.5
rem == Use latest versions of other dbs
rem == Change version(s) in performance.html

16 17
setlocal
cd ../..
18 19 20 21 22 23 24 25
set today=%date:~6%%date:~3,2%%date:~0,2%
rmdir /s /q ..\h2web-%today% 2>nul
rmdir /s /q ..\h2web 2>nul
mkdir ..\h2web

rmdir /s /q bin 2>nul
rmdir /s /q temp 2>nul
call java14 >nul 2>nul
26
call build -quiet
27 28 29

call java16 >nul 2>nul
call build -quiet compile
30
call build -quiet spellcheck javadocImpl jarClient
31

32
echo %time:~0,8% JDK 1.4
33
call java14 >nul 2>nul
34
call build -quiet clean compile
35
call build -quiet installer mavenDeployCentral
36

37
rem call build -quiet compile benchmark
38
rem == Copy the benchmark results and update the performance page and diagram
39 40

call java16 >nul 2>nul
41
call build -quiet switchSource
42
ren ..\h2web h2web-%today%
43 44

echo %time:~0,8% Done
45 46 47

rem == Test with Hibernate
rem == Run FindBugs
Thomas Mueller's avatar
Thomas Mueller committed
48
rem == buildRelease.bat
49
rem == Check docs, versions and links in main, downloads, build numbers
50
rem == Check if missing javadocs
51
rem == Test installer
52 53 54 55 56 57 58 59 60 61 62
rem == Check in the PDF file:
rem == - footer
rem == - front page
rem == - orphan control
rem == - check images
rem == - table of contents
rem == Test Console
rem == Test all languages
rem == Scan for viruses
rem == Upload to SourceForge
rem == svn commit
63
rem == svn copy: /svn/trunk /svn/tags/version-1.1.x; Version 1.1.x (yyyy-mm-dd)
64 65 66
rem == Newsletter: prepare (always to BCC!!)
rem == Upload to h2database.com, http://code.google.com/p/h2database/downloads/list
rem == Newsletter: send (always to BCC!!)
67
rem == Remove Contacts in GMail
68
rem == Add to freshmeat
69 70 71 72 73
rem == Change version: http://en.wikipedia.org/wiki/H2_%28DBMS%29
rem == Change version: http://ja.wikipedia.org/wiki/H2_Database
rem == Change version: http://es.wikipedia.org/wiki/H2
rem == Change version: http://www.heise.de/software/
rem == Close bugs: http://code.google.com/p/h2database/issues/list