Fixed the following:

*) In torque/templates/sql/id-table sql code for tables with skipSql=true
was being generated.

*) The name of the generated .sql file, when there were multiple databases
defined in the schema, was incorrect: ${project} wasn't being expanded and
the rest of file name was different than in the single database case.

*) Since all the idtable.[databasename] files were the same, I setup a
db.props and updated Control.vm to
read from it like torque/templates/sql/security so there is now only one
idtable.default and we can add db specific ones if we need to in the future.

Since I don't have write access from work and you cannot remove a file from
cvs without it, I can't get a good diff.  So I just zipped up the contents
of my torque/templates/sql/id-table directory and put it here:
http://sites.netscape.net/ekkerbj/patches

NOTE: If there are multiple databases defined in your schema, the portion of
the build where the id table is initialized with project tables will fail
since there could potentially be multiple .sql files generated and the names
are in a different format.  I've just edited my build.xml files to work
correctly in these cases. 

-----------------------------------------------------------------
    Throw away my code, but never, never throw away my tests.
-----------------------------------------------------------------
Jeffrey D. Brekke                                   Quad/Graphics
[EMAIL PROTECTED]                              http://www.qg.com
-----------------------------------------------------------------


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

Reply via email to