7 messages in com.canoo.lists.webtestRE: [Webtest] Directory Structure Que...| From | Sent On | Attachments |
|---|---|---|
| Sandro Pedrazzini | 16 Apr 2002 01:24 | |
| Dierk Konig | 16 Apr 2002 02:11 | |
| Eric Pugh | 16 Apr 2002 13:48 | .zip |
| Donald Ball | 16 Apr 2002 14:02 | |
| Donald Ball | 16 Apr 2002 14:03 | |
| Dierk Konig | 17 Apr 2002 00:42 | |
| Eric Pugh | 17 Apr 2002 07:14 |
| Subject: | RE: [Webtest] Directory Structure Question & Patch![]() |
|---|---|
| From: | Dierk Konig (Dier...@canoo.com) |
| Date: | 04/17/2002 12:42:39 AM |
| List: | com.canoo.lists.webtest |
I guess, you're right. The dir structure has become fairly unobvious.
I need a little time to think through the possible implications concerning the automated build and the distribution. It is a good opportunity to clean up that as well.
Looks like a busy weekend...
cheers Mittie
-----Original Message----- From: webt...@lists.canoo.com [mailto:webt...@lists.canoo.com]On Behalf Of Eric Pugh Sent: Dienstag, 16. April 2002 22:49 To: webt...@gate.canoo.com Subject: [Webtest] Directory Structure Question & Patch
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





.zip