yes david, i run the init from the build directory since it's the directory where the build.xml file is.
The problem i have though is that, ant init doesn't does anything, i rather get this error message:


C:\tdk\webapps\newapp\WEB-INF\build>ant init
Buildfile: build.xml

check-webinf-exists:

setup-webinf:

init:

setup:

init-tasks:

create-database:

create-db-check:

create-db:
[torque-data-model] Using classpath
[torque-data-model] log4j:ERROR Could not find value for key log4j.appender.org.
apache.torque.engine
[torque-data-model] log4j:ERROR Could not instantiate appender named "org.apache
.torque.engine".
[torque-data-model] Generating to file C:\tdk\webapps\newapp\WEB-INF\src\sql\cre
ate-db.sql
[torque-data-model] 2004-01-23 03:04:04,765 [main] INFO org.apache.torque.engin
e.database.transform.XmlToAppData - Parsing file: 'id-table-schema.xml'
[torque-data-model] 2004-01-23 03:04:04,828 [main] INFO org.apache.torque.engin
e.database.transform.DTDResolver - Resolver: used 'http://jakarta.apache.org/tur
bine/dtd/database.dtd'


BUILD FAILED
C:\tdk\webapps\newapp\WEB-INF\build\build.xml:160: Following error occured while
executing this line
C:\tdk\webapps\newapp\WEB-INF\build\build.xml:185: Following error occured while
executing this line
C:\tdk\webapps\newapp\WEB-INF\build\build-torque.xml:288: org.apache.torque.engi
ne.EngineException: jakarta.apache.org


Total time: 4 seconds
C:\tdk\webapps\newapp\WEB-INF\build>



I get the log4j errors too, but I ignored them since everything runs fine (and torque entries still appear in the logs)

I have the .template files as well as the .properties files in my conf
directory.  The .properties files were created by 'ant init'.  Did you run
this command from the build directory?

David

-----Original Message-----
From: Inandjo Taurel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 11:56 AM
To: [EMAIL PROTECTED]
Subject: RE: Problem with Scott TDK 2.3!


Thanx david, but this doesn't explain the reason why the log4j is giving problems, nor the fact that the build.properties files that are supposed to be in the project folder are there with another extension (.template). > >Hi Inandjo, > >Did you set the tdk.home property properly in build.properties? I think >the >default is for the path to include the version (ie c:\tdk-2.3). > >(The error messages says 'Le Ficher' which means the folder - so the path >is >probably wrong.) > >Good luck, > >David >

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus


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



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


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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



Reply via email to