Hi all,

I have downloaded the recently released tdk 2.2-b1 jar and am now trying 
to configure it to use the postgresql db.

I have the following questions :-

Looking at the build.xml file in the tdk home directory, there is 
reference to a build.properties file in the user.home directory. Am I 
correct that this is not needed provided that the relevant properties are 
in the build.properties file in tdk home? Is this the right place to put 
the correct entries for postgresql? Scanning thru the properties files I 
see entries for the following. Do I need to set all these or should some 
of the be set by turbine/torque?

database.name  ( This appears to be the project assigned db name 'newapp' )
database        ( Is this postgresql? )
createDatabaseUrl ( What should this be? )
buildDatabaseUrl ( What should this be? )
dataseUrl ( jdbc:postgresql:newapp )
dataseDriver  ( org.postgresql.Driver )
databaseUser ( self-explanatory )
databasePassword ( self-explanatory )
databaseHost ( localhost )

I have successfully created a new project but the ant 'init' target fails 
in the project build directory with a Velocity execption Unable to find 
resource 'sql/db-init/${target-database}/createdb.vm'. 

I would be most grateful if someone could clarify this for me and point 
me in the right direction.

I have recently completed a small app using 2.1 and am looking forward to 
using 2.2 for my next project. Many thanks to all involved for a great 
collection of tools.

Peter Courcoux






 


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

Reply via email to