Hello. I am following the DeveloperGuide on
http://rollerweblogger.org/wiki/Wiki.jsp?page=DeveloperGuide
and everything is working fine until I reach
Running Unit Tests [#4]
I am running this on Windows XP, and after running "build tests"
I get BUILD FAILED
java.lang.ClassFormatError: org/roller/ant/StartHsqldbTask (Illegal
Field name "
has inconsistent hierarchy")
I understand that the problem is that the Hsqldb doesnt start, but how
to fix this is beyond my comprehension.
This is a more detailed output after running "build tests"
C:\roller-src>build tests
C:\J2sdk1.4.2_11\lib\tools.jar;.\tools\buildtime\ant-1.6.2\ant.jar;.\tools\build
time\ant-1.6.2\ant-launcher.jar;.\tools\buildtime\ant-1.6.2\ant-junit.jar;.\tool
s\buildtime\ant-1.6.2\ant-commons-net.jar;.\tools\buildtime\ant-1.6.2\commons-ne
t-1.2.2.jar;.\tools\buildtime\ant-1.6.2\jakarta-oro-2.0.8.jar;.\tools\buildtime\
junit-3.8.1.jar
Buildfile: build.xml
build-beans:
[jar] Building jar: C:\roller-src\build\lib\rollerbeans.jar
build-web:
prepare.resin:
undo.resin:
stage-web:
[jar] Building jar: C:\roller-src\build\roller\WEB-INF\lib\roller
web.jar
[copy] Copying 1 file to C:\roller-src\build\roller\WEB-INF\lib
stage-dbscripts:
[texen] Using contextProperties file: C:\roller-src\metadata\databa
se\mysql.properties
[texen] C:\roller-src/metadata/database/
[texen] Generating to file C:\roller-src\build\roller\WEB-INF\dbscr
ipts\mysql\README.txt
[texen] Using contextProperties file: C:\roller-src\metadata\databa
se\postgresql.properties
[texen] C:\roller-src/metadata/database/
[texen] Generating to file C:\roller-src\build\roller\WEB-INF\dbscr
ipts\postgresql\README.txt
[texen] Using contextProperties file: C:\roller-src\metadata\databa
se\hsqldb.properties
[texen] C:\roller-src/metadata/database/
[texen] Generating to file C:\roller-src\build\roller\WEB-INF\dbscr
ipts\hsqldb\README.txt
[texen] Using contextProperties file: C:\roller-src\metadata\databa
se\derby.properties
[texen] C:\roller-src/metadata/database/
[texen] Generating to file C:\roller-src\build\roller\WEB-INF\dbscr
ipts\derby\README.txt
[texen] Using contextProperties file: C:\roller-src\metadata\databa
se\db2.properties
[texen] C:\roller-src/metadata/database/
[texen] Generating to file C:\roller-src\build\roller\WEB-INF\dbscr
ipts\db2\README.txt
[texen] Using contextProperties file: C:\roller-src\metadata\databa
se\oracle.properties
[texen] C:\roller-src/metadata/database/
[texen] Generating to file C:\roller-src\build\roller\WEB-INF\dbscr
ipts\oracle\README.txt
copy-web:
build-contrib:
[echo] making ../build/compile_contrib
plugins:
[jar] Building jar: C:\roller-src\build\roller\WEB-INF\lib\roller
contrib.jar
build:
build-tests:
BUILD FAILED
java.lang.ClassFormatError: org/roller/ant/StartHsqldbTask (Illegal
Field name "
has inconsistent hierarchy")
Total time: 7 seconds
Shervin