You can view the issue detail at the following URL:
<http://nagoya.apache.org/scarab/issues/id/TRQS35>

Type :        Patch
Issue Id :    TRQS35
Reported by: Rodney Schneider
             rodney - ([EMAIL PROTECTED])

Details:

Platform: All
Operating system: Redhat
Summary: id-table-schema.xml has no database name
Description: I downloaded and installed TDK-2.2-b3 (Redhat 7.2, MySQL 3.23.42).  After 
generating the sample newapp tdk project, I encountered some errors during "ant init"

WEB-INF/conf/id-table-schema.xml has no "name=" parameter in the <database> tag.  This 
file is copied across by the TDK app generator from Torque.

WEB-INF/src/sql/create-db.sql is then generated with the following
lines:
drop database if exists default;
create database default;

This causes SQLExceptions to occur while ant executes the create-db target, so only 6 
of 8 SQL statements end up being executed successfully.  There is a patch to 
id-table-schema.xml that fixes this problem below.

However, there is also a line in
jakarta-turbine-tdk/src/tdk/apps/2/build.properties that isn't
actually used in the build files anywhere, so I am not sure why it
is there:
idTableDatabase = @PROJECT@

It seems that the intention is to allow the id-table to be in a separate
database from the rest of a Turbine 2.x application, but until this support is 
finished, the attached patch will work.
Status: New
Priority: High
Functional area: Setup


--
To unsubscribe, e-mail:   <mailto:turbine-torque-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-dev-help@;jakarta.apache.org>

Reply via email to