On 7/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: hughesj
Date: Fri Jul 7 05:40:06 2006
New Revision: 419883
URL: http://svn.apache.org/viewvc?rev=419883&view=rev
Log:
Code to speed up the W3CFileRepository tests. If you have CVS extracted the W3C
test schemas to the downloads/w3c-cache directory then those will be used
instead of downloading each file from W3C every time you run the tests. Note:
this is not an XML catalog, just a quick hack to speed the tests up a bit. The
network is still used for files not retrieved from W3C CVS and also for any
files imported by the W3C tests with an absolute URL (if any of those imports
actually exist!).
NOTE: the W3C public CVS tree is available under the W3C software license.
Please see here for a link to the license: http://dev.w3.org/cvsweb/
To create a local cache of the W3C files do this:
cd <woden root dir>/downloads
mkdir w3c-cache
whoops missed a step here. do:
cd w3c-cache
cvs -d:pserver:[EMAIL PROTECTED]:/sources/public login
cvs -d:pserver:[EMAIL PROTECTED]:/sources/public checkout
2002/ws/desc/test-suite/documents
run the Woden W3CTestSuiteTest as usual. I did a quick one-off comparison today
and this improved the time to run the test from 38secs to 27secs. This will
vary greatly depending on your network connection.
Note: if you run the tests and you haven't got a local cache, the tests will
run as before direct from the cvsweb links.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]