Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 48138 invoked from network); 4 Feb 2004 20:29:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Feb 2004 20:29:04 -0000 Received: (qmail 98749 invoked by uid 500); 4 Feb 2004 20:28:36 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 98699 invoked by uid 500); 4 Feb 2004 20:28:36 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 98642 invoked from network); 4 Feb 2004 20:28:35 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 4 Feb 2004 20:28:35 -0000 Received: (qmail 5642 invoked by uid 65534); 4 Feb 2004 20:28:38 -0000 Received: from adsl-62-167-50-67.adslplus.ch (EHLO gmx.ch) (62.167.50.67) by mail.gmx.net (mp007) with SMTP; 04 Feb 2004 21:28:38 +0100 X-Authenticated: #15507884 Message-ID: <402155E2.1040903@gmx.ch> Date: Wed, 04 Feb 2004 21:28:18 +0100 From: Jakob Braeuchi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Developers List Subject: Re: build problem prepare-testdb hangs References: <40214A9F.3020108@gmx.ch> In-Reply-To: <40214A9F.3020108@gmx.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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