W3C home > Mailing lists > Public > public-unicorn@w3.org > February 2011

Re: A fully local Unicorn

From: Jean-Guilhem Rouel <jean-gui@w3.org>
Date: Mon, 14 Feb 2011 10:21:02 +0100
To: public-unicorn@w3.org, "Fabrice Bonny" <fabrice.bonny@temesis.com>
Message-ID: <op.vqvyxc0c2m02i7@barbossa>
Le Wed, 09 Feb 2011 09:56:51 +0100, Fabrice Bonny  
<fabrice.bonny@temesis.com> a écrit:

> Hi,
> we have a running Unicorn and a running markup validator on the same  
> server and we are trying to make the first one communicate with the  
> second. We have changed some contracts but nothing seems to work, our  
> Unicorn is still sending data to the W3C markup validator. What is the  
> way to do such a simple thing ?
>
> Thanks,
>
> Fabrice Bonny

Hi,

You need to update observers.properties as well. This file tells Unicorn  
where the contracts are. And by default it contains URIs of W3C  
validators. You can use local filesystem paths in that file, such as:
[[
markup-validator = file:///etc/unicorn/contracts/markup-validator.wadl
]]

Regards

-- 
Jean-Gui
Received on Monday, 14 February 2011 09:21:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 February 2011 09:21:34 GMT