Hello,
We are having a problem to create the sample app in TDK 2.2.01. Got thru the first step running ant (just added the home) and now after we modified build.properties and running ant init, this message is generated.

************************************************************************
init-tasks:

create-database:

create-db-check:

create-db:
[torque-data-model] Using classpath
[torque-data-model] Generating to file /home/pavel/turbine/tdk-2.2/webapps/newapp/WEB-INF/src/sql/create-db.sql
[torque-data-model] Resolver: used database.dtd from org.apache.torque.engine.database.transform package
[torque-data-model] Resolver: used database.dtd from org.apache.torque.engine.database.transform package
[torque-data-model] Resolver: used database.dtd from org.apache.torque.engine.database.transform package

BUILD FAILED
file:/home/pavel/turbine/tdk-2.2/webapps/newapp/WEB-INF/build/build-torque.xml:284: Resource not found. For more information consult the velocity log, or invoke ant with the -debug flag.
****************************************************************************
It is complaining that it did not find the resource but the file is in the directory which is specified in the path.

In the build.properties we have changed:

PROJECT PROPERTIES:
added: tdk.home = /home/pavel/turbine/tdk-2.2

DATABASE SETTINGS:
database.name = newapp
database = mysql
createDatabaseUrl = jdbc:mysql://127.0.0.1/newapp
buildDatabaseUrl = jdbc:mysql://127.0.0.1/newapp
databaseUrl = jdbc:mysql://127.0.0.1/newapp
databaseDriver = org.gjt.mm.mysql.Driver
databaseUser = ****
databasePassword = *****
databaseHost = 127.0.0.1

--------------------------------
os: Linux
java version "1.3.0_02"
ant: 1.5
----------------------------------

Thank you for advice.

with regards,
pavel kusch


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to