> > > And do I need to set up the appropriate JDBC driver like
> > > before ?
> > > How do  I tell the kit which database to use, in :
> > > \$JAKARTA_HOME\turbine\conf\TurbineResources.properties  ?
> > >
> > That is setup for you automatically when you create a new application. The
> > parameters you _may_ need to change (depending on your installation) are the
> > user id and password. For MySQL these default to userid="" and password="";
for
> > hSQL, the defaults are userid="sa" and password="".
>
> Again, I'm unclear on how  the TDK knows which db is being used, from the
> TurbineResources.properties file or the newapp.xml file or both ?
>
Both. The TurbineResources.properties is populated by data from newapp.xml. For
example, if one is creating a new app called 'scarab', the following code in
tdk/dist/tdk/share/webmacro/WEB-INF/conf/TurbineResources.properties:
    database.default.url=jdbc:mysql://localhost/@NEWAPP@

gets translated to the following in
tdk/dist/tdk/webapps/scarab/WEB-INF/conf/TurbineResources.properties:
    database.default.url=jdbc:mysql://localhost/scarab

--
Christopher Elkins



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to