You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by pavel kusch <pa...@icecentric.com> on 2003/01/07 17:54:37 UTC

Sample app build error

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, the message bellow is 
generated.

I got one reply on the mailing list:

"Try copying the ss-data.dtd file to the directory you are running Ant 
from; that worked for me. Or try changing the system identifier in the 
XML files Torque reads to use an absolute path to the DTDs, that might
help too."

But I could not find the ss-data.dtd file. Please, could you help me to 
get it up and running. We are moving our application from 2.1 to 2.2 and 
need it fast. I would really appreciate your help. Thank you.


************************************************************************
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Sample app build error

Posted by Jake Fear <fe...@grifware.com>.
Make sure you have set the tdk.home property all of you *.properties
files.

On Tue, 2003-01-07 at 08:54, pavel kusch wrote:
> 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, the message bellow is 
> generated.
> 
> I got one reply on the mailing list:
> 
> "Try copying the ss-data.dtd file to the directory you are running Ant 
> from; that worked for me. Or try changing the system identifier in the 
> XML files Torque reads to use an absolute path to the DTDs, that might
> help too."
> 
> But I could not find the ss-data.dtd file. Please, could you help me to 
> get it up and running. We are moving our application from 2.1 to 2.2 and 
> need it fast. I would really appreciate your help. Thank you.
> 
> 
> ************************************************************************
> 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:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
Jake Fear <fe...@grifware.com>
Grifware.Com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>