you need commons-logging to build the testharness

Steve Loughran <[email protected]> Tue, 26 Jun 2007 17:29:11 +0100
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <[email protected]>
As of a few minutes ago, the testharness now depends on commons-logging 
to build and run; it also takes advantage of log4j if it is there. See 
http://jira.smartfrog.org/jira/browse/SFOS-191

you wont notice with ivy setting up the classpaths, but if you use the 
IDE to build and run the tests/testharness, add commons-logging-1.0.4 to 
the classpath of the testharness project, and, under idea, set up that 
project to export commons logging to all its dependents.

right now the change doesnt do much; it just makes logging in the tests 
at different levels a bit cleaner. All the test components now log via 
sfLog() too. Anyone writing more tests (yes please!) should use the 
commons-logging apis (subclasses of SmartFrogTestBase can call getLog() 
to get a log), or, in the components, with sfLog().

Where this gets interesting is if I were to use smartfrog to host the 
entire test run of tests itself. I havent done that yet, but I am 
thinking about what it would take...

-steve

-----------------------
Hewlett-Packard Limited
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/