On 2/3/06, Bruno CROS <[EMAIL PROTECTED]> wrote: > First you will find the ant trace of setup-db task, the torque error is > painted in red. > Second, you will find my build.properties used by the task.
> [torque-sql] 2006-02-03 13:21:48,578 [main] INFO > org.apache.torque.engine.database.transform.DTDResolver - Resolver: used > 'http://db.apache.org/torque/dtd/database_3_0_1.dtd' > StdErr > > BUILD FAILED > "build-torque.xml" : > file:C:/@Dev/Mathieu/ojb/src/schema/build-torque.xml:203: > org.apache.torque.engine .EngineException: java.net.UnknownHostException: > db.apache.org en ligne 203 This seems to be the core problem: Ant cannot access the server hosting the DTD (db.apache.org), probably because of a Firewall. In the Ant target that generates the schema, you can specify the DTD to use for the schema. There, I thiink, you should use the value http://db.apache.org/torque/dtd/database_3_1.dtd because that should be the one that is contained in the torque jar (which Ant therefore does not have to fetch from the internet). Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]