db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: build problem prepare-testdb hangs
Date Wed, 04 Feb 2004 20:28:18 GMT
hi tom,

after replacing ojbtest-data.dtd and ojbtest-data.xml with the previous 
revisions prepare-testdb works ?

jakob

Jakob Braeuchi wrote:

> hi tom,
> 
> i'm using hsqldb on winxp.
> 
> this is the output form buil -v prepare-testdb:
> 
> ...
> Override ignored for property schemaDirectory
> Override ignored for property torque.output.dir
> Override ignored for property complexObjectModel
> Override ignored for property DataDumpControlTemplate
> Override ignored for property addIntakeRetrievable
> Override ignored for property targetPackage
> Override ignored for property deprecation
> Override ignored for property sameJavaName
> Override ignored for property src.dir
> Property ${databaseName} has not been set
> Override ignored for property SQLControlTemplate
>       [ant] Entering E:\Java_Work\_projects\db-ojb\build-torque.xml...
> Build sequence for target `datasql' is [datasql]
> Complete build sequence is [datasql, sql-template, project-datadtd, 
> main, ojb-model, datadump, project-sql2xml, doc, ins
> ert-sql, id-table-init-sql, project-datasql, compile, create-db-check, 
> create-db, project-ojb-model, om-classpath, check
> -om-zip, om-zip, ojb-repository, om-template, project-doc, 
> om-zip-worker, project-create-db, project-ojb-repository, sql
> -classpath, javadocs, om-zip-worker-delete, check-use-classpath, 
> check-run-only-on-schema-change, om-check, om, project-
> datadump, sql-check, sql, project-insert-sql, project-om, datadtd, 
> project-sql, jdbc, project-jdbc, sql2xml, ]
> 
> datasql:
>      [echo] +-----------------------------------------------+
>      [echo] |                                               |
>      [echo] | Generating SQL from data XML !                |
>      [echo] | Woo hoo!                                      |
>      [echo] |                                               |
>      [echo] +-----------------------------------------------+
> [torque-data-sql] Using contextProperties file: 
> E:\Java_Work\_projects\db-ojb\build.properties
> [torque-data-sql] Using templatePath: E:\Java_Work\_projects\templates
> [torque-data-sql] Using classpath
> [torque-data-sql] Generating to file 
> E:\Java_Work\_projects\db-ojb\target\test\sql\ojbtest-data.sql
> [torque-data-sql] Parsing file: 'ojbtest-schema.xml'
> [torque-data-sql] (transform.DTDResolver               128 ) Resolver: 
> used database.dtd from org.apache.torque.engine.d
> atabase.transform package
> [torque-data-sql] Resolver: used 
> E:\Java_Work\_projects\db-ojb\target\test\ojbtest-data.dtd
> 
> here it hangs with 100% cpu !
> 
> jakob
> 
> Thomas Dudziak wrote:
> 
>> On Mon, 2 Feb 2004, Jakob Braeuchi wrote:
>>
>>
>>> hi all,
>>>
>>> after getting the latest from repository i can no longer build a 
>>> test-database in hsqldb.
>>>
>>> build prepare-testdb hangs :
>>>
>>> ....
>>> [torque-data-sql] Using contextProperties file: 
>>> E:\Java_Work\_projects\db-ojb\build.properties
>>> [torque-data-sql] Using classpath
>>> [torque-data-sql] Generating to file 
>>> E:\Java_Work\_projects\db-ojb\target\test\sql\ojbtest-data.sql
>>> [torque-data-sql] Parsing file: 'ojbtest-schema.xml'
>>> [torque-data-sql] (transform.DTDResolver               128 ) 
>>> Resolver: used database.dtd from 
>>> org.apache.torque.engine.database.transform package
>>> [torque-data-sql] Resolver: used 
>>> E:\Java_Work\_projects\db-ojb\target\test\ojbtest-data.dtd
>>
>>
>>
>> I had done some slight changes to the testdb setup: the schemas are
>> copied to the test directory prior to using torque on them and in this
>> step the @DATABASE_DEFAULT@ token is replaced by the test database 
>> name. I
>> also changed the names of the targets invoked in the torque build file. I
>> did test the changes with hsqldb and mysql (with a clean build of ojb).
>>
>> Could you provide some more details (which database etc.) and perhaps an
>> output of ant invoked with -v or -debug ?
>>
>> Tom
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message