[Webtest] Directory Structure Question & Patch
Dierk Konig
webtest@lists.canoo.com
Wed, 17 Apr 2002 09:43:01 +0200
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: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Eric Pugh
> Sent: Dienstag, 16. April 2002 22:49
> To: webtest@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
>