On Sat, 7 Dec 2002 14:41, you wrote:
> Step 4. Database settings in build.properties are defined in terms of
> themselves or properties that are not otherwise defined (e.g.
> ${target.database}). There's no doc'n in the build.props or HOWTO as
> to what these should look like! In particular:
The build.properties file that comes with the TDK should be documented
thoroughly. Each property should be explained. Patches are always
welcome :)
> * It's not clear that ${database} should be set to the target
> database engine; I originally set it to the name of my database,
> which generated errors about missing templates during generation. The
> legal values should be listed and, ideally, the value should be
> validated so a clear error message can be supplied.
>
> * I can't figure out what ${database.name} should be set to, but it
> doesn't seem to be used anywhere anyhow... (unless it's getting
> transmogrified into ${torque.database.name} somewhere? I set it to
> 'newapp' which seems to have worked.
>
> * What's the difference between createDatabaseUrl, buildDatabaseUrl
> and databaseUrl? I've just set them all to the same thing for now
> which seems to have worked (at least mostly, see below).
You got the above settings right... see the Torque documentation for a
better explanation of what they all mean:
http://jakarta.apache.org/turbine/torque/properties-reference.html
They all get transmogrified during the build process. You can see how
this is done in the default.properties file inside the Torque jar.
> But now the generated app is working! Now for the fun part: using
> that as a basis to update my 2.1 based stuff to 2.2... Wish me luck
> ;-)
If you could document what you do as you go it would be much
appreciated. Quinton has documented the migration process a bit here:
http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgNo=12729
Between all of us we should be able to come up with a pretty good
Migration Howto.
Regards,
-- Rodney
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>