After Running the build from the SVN, I still get some failures (7 to be exact), but the overall build is successfull. I got this output I thought would be useful to share: [junit] ERROR 2006-03-24 13:15:11,071 | HibernateConfigManagerImpl:getRoller
Config | Someone is trying to use the old config!!
   [junit] This configuration mechanism has been deprecated
   [junit] You should see this message only once when you first upgrade
   [junit] your installation to roller 1.2

   [junit] If you continue to see this message please shoot us an email
   [junit] at [EMAIL PROTECTED] with some output
   [junit] from your log files.

Shervin



David M Johnson wrote:
Apparently, the directory testdata is not included in the source release. I just added it to the build for 2.2. In the meantime, you'll have to use SVN if you want to build from source:

   http://rollerweblogger.org/wiki/Wiki.jsp?page=RollerSourceCodeAccess

Sorry about the inconvenience.


- Dave


On Mar 22, 2006, at 4:48 PM, Shervin Asgari wrote:

David M Johnson wrote:
That is a pretty weird error message. I don't know how to explain it. Is it possible that you compiled part of Roller with JDK 1.5 and one part with 1.4.2? Or maybe there are some classes in the source download. Hmmm... Have you tried a full rebuild? For example, maybe this would clear up the problem:

   c:\roller-src\> build rebuild tests

It's strange, because after running this command suddenly things started happening, but now I get another BUILD FAILED. This time the output is:

build-tests:
   [mkdir] Created dir: C:\roller-src\build\tests
   [mkdir] Created dir: C:\roller-src\build\tests\logs
   [mkdir] Created dir: C:\roller-src\build\tests\planet-cache
   [mkdir] Created dir: C:\roller-src\build\tests\WEB-INF\classes
   [mkdir] Created dir: C:\roller-src\build\tests\WEB-INF\classes\them
es
   [javac] Compiling 40 source files to C:\roller-src\build\tests\WEB-
INF\classes
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -deprecation for details.

BUILD FAILED
C:\roller-src\build.xml:743: C:\roller-src\testdata not found.


Total time: 3 minutes 35 seconds

Any ideas? I appreciate your help so far. I have set the PATH to use j2sdk1.4.2_11 first, and also set the JAVA_HOME to j2sdk1.4.2_11 , so I think its strange if it suddenly chooses jdk 5.0

Shervin

-Dave


On Mar 22, 2006, at 8:01 AM, Shervin Asgari wrote:

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



--Med vennlig hilsen

Shervin Asgari
Systemkonsulent

Linpro AS
Ledende på Linux

Mobil: +47 918 64 148



Reply via email to