On Aug 18, 2005, at 3:04 AM, Aswath Satrasala wrote:

Hi
Thanks. In addition to roller.properties, I have to copy
-bookmarks.opml
-log4j.properties and
-hibernate.cfg.xml
Now I got the following errors
Question: why is it starting HSQLDB?

For testing, we start HSQLDB, create the Roller tables, run the tests, and then shutdown the DB.

So the question is, why does ROLLERUSER already exist in the DB. I'd like to fix this, which branch are in working in?

- Dave



test-hibernate:
[startdb] Starting HSQLDB
[startdb] [EMAIL PROTECTED]: [Thread[Thread-0,5,main]]: checkRunning(false)
ent
ered
[startdb] [EMAIL PROTECTED]: [Thread[Thread-0,5,main]]: checkRunning(false)
exi
ted
[startdb] [EMAIL PROTECTED]: Startup sequence initiated from main() method
[startdb] [EMAIL PROTECTED]: Loaded properties from
[C:\develop\roller\server.p
roperties]
[startdb] [EMAIL PROTECTED]: Initiating startup sequence...
[startdb] [EMAIL PROTECTED]: Server socket opened successfully in 32 ms.
[startdb] [EMAIL PROTECTED]: Database [index=0, id=0,
db=file:./build/tests/tes
tdb, alias=] opened sucessfully in 469 ms.
[startdb] [EMAIL PROTECTED]: Startup sequence completed in 516 ms.
[startdb] [EMAIL PROTECTED]: 2005-08-17 23:59:41.562 HSQLDB server 1.7.2 is
onl
ine
[startdb] [EMAIL PROTECTED]: To close normally, connect and execute SHUTDOWN
SQ
L
[startdb] [EMAIL PROTECTED]: From command line, use [Ctrl]+[C] to abort
abruptl
y
[sql] Executing file: C:\develop\roller\build\roller\WEB-INF\dbscripts\hsq
l\createdb.sql
[sql] Failed to execute: create table rolleruser ( id var
char(48) not null primary key, username varchar(255) not null, passphrase
varchar(255) not null, fullname varchar(255) not null, emailaddress
varchar(255) not null, datecreated timestamp not null )

BUILD FAILED
C:\develop\roller\build.xml:622: The following error occurred while
executing th
is line:
C:\develop\roller\build.xml:715: java.sql.SQLException: Table already
exists: RO
LLERUSER in statement [ create table rolleruser]

Total time: 12 seconds
C:\develop\roller>

On 8/17/05, Dave Johnson <[EMAIL PROTECTED]> wrote:

Until I fix this, you can (probably) get going by copying
roller.properties from web/WEB-INF/classes to that personal/testing
dir.

- Dave


On Aug 16, 2005, at 6:44 PM, Aswath Satrasala wrote:

Hello,
I was experimenting on building the roller source.

I performed 'build tests' and the following following BUILD FAILED. Any
suggestions. Thanks.

build-test:
[mkdir] Created dir: C:\develop\roller\build\tests
[mkdir] Created dir: C:\develop\roller\build\tests\logs
[mkdir] Created dir: C:\develop\roller\build\tests\WEB-INF\classes
[mkdir] Created dir:
C:\develop\roller\build\tests\WEB-INF\classes\themes
[javac] Compiling 39 source files to
C:\develop\roller\build\tests\WEB-INF\c
lasses
[javac] Note:
C:\develop\roller\tests\org\roller\business\ConfigManagerTest.
java uses or overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.

BUILD FAILED
C:\develop\roller\build.xml:656: Warning: Could not find file
C:\develop\roller\
personal\testing\roller.properties to copy.



Reply via email to