7 messages in com.canoo.lists.webtest[Webtest] Directory Structure Questio...
FromSent OnAttachments
Sandro Pedrazzini16 Apr 2002 01:24 
Dierk Konig16 Apr 2002 02:11 
Eric Pugh16 Apr 2002 13:48.zip
Donald Ball16 Apr 2002 14:02 
Donald Ball16 Apr 2002 14:03 
Dierk Konig17 Apr 2002 00:42 
Eric Pugh17 Apr 2002 07:14 
Subject:[Webtest] Directory Structure Question & Patch
From:Eric Pugh (epu@upstate.com)
Date:04/16/2002 01:48:20 PM
List:com.canoo.lists.webtest
Attachments:
samplebuild.zip - 22k

Another question.. Why does the .xsl files all live in /doc/samples/? Is it because you expect the user to customize those xsl files? I wouldn't mind seeing a /template/ directory where all the default .css and .xsl files all lived....

As part of the changes I made, ApplyXSL.xml had the line <property file="../../server.properties" /> removed, because all it wanted was a resultpath, and that is passed in. Also, we no longer know what server.properties is the correct one. I would suggest removing that line from CVS version because it would remain backward compatable, but also less tightly coupled and simpler to understand.

Also had to change WebTestReport.xsl line <xsl:import href="../info/manual/WhitePaperStyle.xsl"/> to <xsl:import href="WhitePaperStyle.xsl"/>

I have finally boiled down all the canoo stuff into two sets of files. In the canoo directory you put a directory called templates where all the various .xsl, .css, and .xml files live. Then in your local web app, you put canooTest.xml, canooTest.properties, and canooConfig.xml.

The key setting is in canooTest.properties (or your ${user.home}/build.properties) you have a property canoo.home that points to where canoo directory lives, on mine it is c:\java\test\canoo.

This allows the canooTest.xml file find the templates (which are in canoo.home/templates/) that it needs, as well as the classpath. I also edited the WebTestReport.xml to not include the canoo navigation, although a link at least back to the site should be added!

I hope this meets the approval of the group, any suggestions are welcome!

Eric