I'm not aware of any such fix, I'm afraid.

AFAIK, CCNet does not provide the application virtual root path to the XSLT
processor so we can't really do too much about it.  I think at best we could
perhaps try to concoct a relative path.

Out of curiosity, have you noticed any problems with other XSL templates
that reference images?  I wouldn't be too surprised if they all assumed the
images lived in the root directory.

Instead of running CCNet in a virtual directory, I tend to create a
subdomain for it such as ccnet.gallio.org.  Then I configure IIS to look for
this subdomain name in the host header.  So I can have multiple sites on
port 80 without using virtual directories.  It works pretty well and keeps
the applications better isolated.

Dunno if that would work for you.

Jeff.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Falkayn
Sent: Tuesday, February 05, 2008 7:32 PM
To: MbUnit.User
Subject: MbUnit Re: How to fix xsl file?


Jeff,

Thanks for doing this, but we still ended up with a problem as we run CCNet
under a virtual folder on the default website of our server. So the URL for
the images looks like this:

http://elcomdev/images/Category.png

but what we actually needed it to look like was:

http://elcomdev/ccnet/images/Category.png

Hacking the MBUnitDetails.xsl file handled this, but wasn't there a fix that
found the application path and prepended that to the images?

Thanks,
Angus
http://falkayn.blogspot.com


On Jan 19, 9:26 pm, "Jeff Brown" <[EMAIL PROTECTED]> wrote:
> Sorry it took a while to get around to this.
>
> I have added the necessary updated xsl and images for CCNet to the 
> MbUnit
> v2.4.2 branch along with some helpful documentation about how to install
it.
>
> Just download a recent MbUnit v2 build ZIP file 
> fromhttp://ccnet.gallio.org/Distributables, extract it to a temporary
folder and look in the CCNet folder.
>
> The files and instructions will work with any v2.4 version of MbUnit 
> v2.  So you don't actually need to upgrade to the latest build (unless you
want to).



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to