On 22.01.2005 18:18:06 Glen Mazza wrote: > Hello--three questions: > > Is anyone using the get/setLogger() methods within > TestConverter? (It is coded to use a SimpleLog by > default.) I think these two methods are holdovers > from when we switched from the Avalon Logger--which > needed these methods--to the Commons Logger--which > doesn't.
Not really. > Also, is the tools.anttasks.Compare class ready for > the CVS attic now?--I don't see it anywhere in use. I do. examples\fo\build.xml. Although IMO this approach isn't really helping. Binary comparison of generated PDF and PS files fails as soon as there's a tiny change even if it's only an additional space somewhere. The output should be compared visually. > Also Java question here (probably Jeremias would > know): Why in anttasks.RunTest.runConverter() do we > use Class.forName() & .newInstance(), etc., to > activate an instance of TestConverter rather than just > "hard-code" a TestConverter instance instead? (We > also do this in runReference() for Fop itself--I don't > why things are done this way though.) To establish a different class loader for the test runs. If you hard-coded this the TestConverter wouldn't find FOP that was set up in a separate class loader. That's pretty much the same mechanism I used for my FO processing API to allow for different FO processors in the same VM at the same time. Jeremias Maerki