On Fri, 2002-05-03 at 18:58, Bill Schneider wrote:
> 1. I set the databaseUrl properties, etc., in ${user.home}/build.properties
> (local overrides). When I run "ant test", the torque-datadump task doesn't
> honor my local property settings. (I end up getting "connection refused"
> errors from my db driver.) If I edit build-torque.xml and add one line
>
> <property file="${user.home}/${build.properties}"/>
>
> before the existing <property file="${build.properties"/>, then I pick up
> local properties and everything works. But for this to work consistently
> across a "make clean" then I have to put this line in the
> src/conf/build-torque.xml file, which also would affect the build.
I haven't verified the workaround, but the symptoms are familiar.
> 2. I ran the testbed and see these errors:
>
> Failed to execute: drop table a
> ERROR: table "a" does not exist
> ... etc. Is this ok?
I guess it is. There's no "DROP TABLE IF EXIST" stuff for many
databases. You didn't mention the DB; PostgreSQL, right?
> 3. If I run the testbed again without running "ant clean", I get an error
> like
>
> BUILD FAILED
>
> .../build-torque.xml:184: java.io.FileNotFoundException:
> .../target/test/rttest/src/sql/bookstore-data.sql (No such file or
> directory)
>
> anyone else seem this?
Yes, I see this one. "ant clean" between "ant test"s works here too.
--
Ville Skytt�
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>