Juergen,
I noticed you added an ant.bat file to petclinic that is similar to that
used for the countries demo app. In the petclinic build.xml, another
build.xml (in the db dir) is invoked to initialize the database for
testing. When your ant.bat file is used, the test part of the build
fails because it can't load the class for the JDBC driver. When I use
the standard ant.bat supplied with Ant, it works fine, but this is
predicated on placing copies of the jdbc connector jars in Ant's lib
dir. Obviously, it is better not to force the developer to do this
because of possible versioning problems. I don't understand why the
nested build.xml can't see the same classpath as the main one. Any ideas ???
Regards,
Ken
|