W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2007

2006/unicorn/conf observers.list,NONE,1.1 velocity.properties,NONE,1.1 Observer.rdfs,NONE,1.1 Task.rdfs,NONE,1.1 readme.txt,NONE,1.1 unicorn.properties,NONE,1.1

From: Hiep Duong via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 29 Nov 2007 10:50:30 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IxgyU-0000ye-7r@lionel-hutz.w3.org>

Update of /sources/public/2006/unicorn/conf
In directory hutz:/tmp/cvs-serv3626/conf

Added Files:
	observers.list velocity.properties Observer.rdfs Task.rdfs 
	readme.txt unicorn.properties 
Log Message:


--- NEW FILE: observers.list ---
http://qa-dev.w3.org/~ot/ucn_contracts/css-validator.wadl http://qa-dev.w3.org/~ot/ucn_contracts/css-validator.rdf
http://qa-dev.w3.org/~ot/ucn_contracts/markup-validator.wadl http://qa-dev.w3.org/~ot/ucn_contracts/markup-validator.rdf
http://qa-dev.w3.org/~ot/ucn_contracts/appc-checker.wadl http://qa-dev.w3.org/~ot/ucn_contracts/appc-checker.rdf
http://flyingman.sophia.w3.org/calculator_contract
http://flyingman.sophia.w3.org/sleeper1_contract
http://flyingman.sophia.w3.org/sleeper2_contract
http://flyingman.sophia.w3.org/sleeper3_contract
--- NEW FILE: velocity.properties ---
runtime.log.logsystem.class=org.apache.velocity.runtime.log.SimpleLog4JLogSystem
runtime.log.logsystem.log4j.category=org.w3c.unicorn.Framework

--- NEW FILE: Observer.rdfs ---
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE owl [
	<!ENTITY ucn "http://www.w3.org/unicorn#">
	<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
	]>

<rdf:RDF
	xmlns:rdf="&rdf;"
	xmlns:rdfs="&rdfs;"
	xmlns:ucn="&ucn;"
	xmlns="&ucn;"
	xml:base="&ucn;"
	>

	<!--
		UNICORN DEFINITION
	-->

	<rdfs:Class rdf:ID="Unicorn">
		<!--
		<rdfs:label xml:lang="en">Unicorn class</rdfs:label>
		<rdfs:label xml:lang="fr">La classe Unicorn</rdfs:label>
		<rdfs:comment xml:lang="en">Mother class of all classes in this package.</rdfs:comment>
		<rdfs:comment xml:lang="fr">La classe mere de toutes les autres de ce paquet.</rdfs:comment>
		-->
	</rdfs:Class>

	<!--
		PROPERTY DEFINITION
	-->

	<rdf:Property rdf:ID="property">
		<rdfs:subClassOf rdf:resource="ucn:Unicorn" />
		<!--
		<rdfs:label xml:lang="en">Property</rdfs:label>
		<rdfs:label xml:lang="fr">Propriete</rdfs:label>
		<rdfs:comment xml:lang="en">Mother property of all property in this package.</rdfs:comment>
		<rdfs:comment xml:lang="fr">La propriete mere de toutes les proprietes Unicorn.</rdfs:comment>
		-->
	</rdf:Property>

	<!--
		OBSERVER DEFINITION
	-->

	<rdfs:Class rdf:ID="Observer">
		<rdfs:subClassOf rdf:resource="#Unicorn" />
	</rdfs:Class>

	<!--
		OBSERVER PROPERTY DEFINITION
	-->

	<rdf:Property rdf:ID="name">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:domain rdf:resource="#Observer" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
		<rdfs:label xml:lang="en">Name</rdfs:label>
		<rdfs:label xml:lang="fr">Nom</rdfs:label>
		<rdfs:comment xml:lang="en">The name property.</rdfs:comment>
		<rdfs:comment xml:lang="fr">La propriete de nom.</rdfs:comment>
	</rdf:Property>

	<rdf:Property rdf:ID="id">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:domain rdf:resource="#Observer" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
		<rdfs:label xml:lang="en">Identifier</rdfs:label>
		<rdfs:label xml:lang="fr">Identifiant</rdfs:label>
	</rdf:Property>

	<rdf:Property rdf:ID="description">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:domain rdf:resource="#Observer" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<!-- Link to a help page of the observer -->
	<rdf:Property rdf:ID="help">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:domain rdf:resource="#Observer" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<!-- Author of the observer (name or url) -->
	<rdf:Property rdf:ID="provider">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:domain rdf:resource="#Observer" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<rdf:Property rdf:ID="mimetype">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:domain rdf:resource="#Observer" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<rdf:Property rdf:ID="inputMethod">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:domain rdf:resource="#Observer" />
		<rdfs:range rdf:resource="#InputParameter" />
	</rdf:Property>

	<!--
		INPUT PARAMETER DEFINITION
	-->

	<rdfs:Class rdf:ID="InputParameter">
		<rdfs:subClassOf rdf:resource="#Unicorn" />
	</rdfs:Class>

	<rdfs:Class rdf:ID="ParameterURI">
		<rdfs:subClassOf rdf:resource="#InputParameter" />
	</rdfs:Class>

	<rdfs:Class rdf:ID="ParameterUpload">
		<rdfs:subClassOf rdf:resource="#InputParameter" />
	</rdfs:Class>

	<rdfs:Class rdf:ID="ParameterDirectInput">
		<rdfs:subClassOf rdf:resource="#InputParameter" />
	</rdfs:Class>

	<!--
		INPUT PARAMETER PROPERTY DEFINITION
	-->

	<rdf:Property rdf:ID="methodName">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:domain rdf:resource="#InputParameter" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<rdf:Property rdf:ID="parameterName">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:domain rdf:resource="#InputParameter" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

</rdf:RDF>

--- NEW FILE: Task.rdfs ---
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE owl [
	<!ENTITY ucn "http://www.w3.org/unicorn">
	<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns">
	<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema">
	<!ENTITY xs "http://www.w3.org/2001/XMLSchema">
	]>

<rdf:RDF
	xmlns:rdf="&rdf;#"
	xmlns:rdfs="&rdfs;#"
	xmlns:ucn="&ucn;#"
	xmlns:xs="&xs;"
	xmlns="&ucn;#"
	xml:base="&ucn;#"
	>

	<!--
		CLASS DEFINITION
	-->

	<rdfs:Class rdf:ID="Unicorn">
		<rdfs:label xml:lang="en">Unicorn class</rdfs:label>
		<rdfs:label xml:lang="fr">La classe Unicorn</rdfs:label>
		<rdfs:comment xml:lang="en">Mother class of all classes in this package.</rdfs:comment>
		<rdfs:comment xml:lang="fr">La classe mere de toutes les autres de ce paquet.</rdfs:comment>
	</rdfs:Class>

	<!--
		TASK DEFINITION
	-->

	<rdfs:Class rdf:ID="Task">
		<rdfs:subClassOf rdf:resource="#Unicorn" />
		<rdfs:label xml:lang="en">Task class</rdfs:label>
		<rdfs:label xml:lang="fr">La classe Task</rdfs:label>
	</rdfs:Class>

	<!--
		HANDLE DEFINITION
	-->

	<rdfs:Class rdf:ID="Handler">
		<rdfs:subClassOf rdf:resource="#Unicorn" />
	</rdfs:Class>

	<!--
		PARAMETER DEFINITION
	-->

	<rdfs:Class rdf:ID="Parameter">
		<rdfs:subClassOf rdf:resource="#Unicorn" />
	</rdfs:Class>

	<rdfs:Class rdf:ID="CheckBox">
		<rdfs:subClassOf rdf:resource="#Parameter" />
	</rdfs:Class>

	<rdfs:Class rdf:ID="Radio">
		<rdfs:subClassOf rdf:resource="#Parameter" />
	</rdfs:Class>

	<rdfs:Class rdf:ID="CheckBoxList">
		<rdfs:subClassOf rdf:resource="#Parameter" />
	</rdfs:Class>

	<rdfs:Class rdf:ID="DropDown">
		<rdfs:subClassOf rdf:resource="#Parameter" />
	</rdfs:Class>

	<rdfs:Class rdf:ID="TextArea">
		<rdfs:subClassOf rdf:resource="#Parameter" />
	</rdfs:Class>

	<rdfs:Class rdf:ID="TextField">
		<rdfs:subClassOf rdf:resource="#Parameter" />
	</rdfs:Class>

	<!--
		VALUE DEFINITION
	-->

	<rdfs:Class rdf:ID="Value">
		<rdfs:subClassOf rdf:resource="#Unicorn" />
	</rdfs:Class>

	<!--
		MAPPING DEFINITION
	-->

	<rdfs:Class rdf:ID="Mapping">
		<rdfs:subClassOf rdf:resource="#Unicorn" />
	</rdfs:Class>

	<!--
		END OF CLASS DEFINITION
	-->

	<!--
		PROPERTY DEFINITION
	-->

	<rdf:Property rdf:ID="property">
		<rdfs:subClassOf rdf:resource="#Unicorn" />
		<rdfs:label xml:lang="en">Property</rdfs:label>
		<rdfs:label xml:lang="fr">Propriete</rdfs:label>
		<rdfs:comment xml:lang="en">Mother property of all property in this package.</rdfs:comment>
		<rdfs:comment xml:lang="fr">La propriete mere de toutes les proprietes Unicorn.</rdfs:comment>
	</rdf:Property>

	<rdf:Property rdf:ID="default">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<rdf:Property rdf:ID="description">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
		<rdfs:label xml:lang="en">Description property</rdfs:label>
		<rdfs:label xml:lang="fr">Propriete description</rdfs:label>
	</rdf:Property>

	<rdf:Property rdf:ID="handle">
		<rdfs:subPropertyOf rdf:resource="#property" />
	</rdf:Property>

	<rdf:Property rdf:ID="hasMapping">
		<rdfs:subPropertyOf rdf:resource="#property" />
	</rdf:Property>

	<rdf:Property rdf:ID="hasParameter">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:label xml:lang="en">HasParameter property</rdfs:label>
		<rdfs:label xml:lang="fr">Propriete hasParameter</rdfs:label>
	</rdf:Property>

	<rdf:Property rdf:ID="hasValue">
		<rdfs:subPropertyOf rdf:resource="#property" />
	</rdf:Property>

	<rdf:Property rdf:ID="longName">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
		<rdfs:label xml:lang="en">LongName property</rdfs:label>
		<rdfs:label xml:lang="fr">Propriete longName</rdfs:label>
	</rdf:Property>

	<rdf:Property rdf:ID="mimetype">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<rdf:Property rdf:ID="observer">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<rdf:Property rdf:ID="parameter">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<rdf:Property rdf:ID="priority">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<rdf:Property rdf:ID="reference">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<rdf:Property rdf:ID="ui">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<rdf:Property rdf:ID="value">
		<rdfs:subPropertyOf rdf:resource="#property" />
		<rdfs:range rdf:resource="&rdfs;Literal" />
	</rdf:Property>

	<!--
		TASK DEFINITION
	-->

	<rdf:Property rdf:about="description"><rdfs:domain rdf:resource="#Task" /></rdf:Property>
	<rdf:Property rdf:about="handle"><rdfs:domain rdf:resource="#Task" /></rdf:Property>
	<rdf:Property rdf:about="hasParameter"><rdfs:domain rdf:resource="#Task" /></rdf:Property>
	<rdf:Property rdf:about="longName"><rdfs:domain rdf:resource="#Task" /></rdf:Property>
	<rdf:Property rdf:about="reference"><rdfs:domain rdf:resource="#Task" /></rdf:Property>

	<!--
		PARAMETER DEFINITION
	-->

	<rdf:Property rdf:about="default"><rdfs:domain rdf:resource="#Parameter" /></rdf:Property>
	<rdf:Property rdf:about="hasParameter"><rdfs:range rdf:resource="#Parameter" /></rdf:Property>
	<rdf:Property rdf:about="hasValue"><rdfs:domain rdf:resource="#Parameter" /></rdf:Property>
	<rdf:Property rdf:about="longName"><rdfs:domain rdf:resource="#Parameter" /></rdf:Property>
	<rdf:Property rdf:about="observer"><rdfs:domain rdf:resource="#Parameter" /></rdf:Property>
	<rdf:Property rdf:about="reference"><rdfs:domain rdf:resource="#Parameter" /></rdf:Property>
	<rdf:Property rdf:about="ui"><rdfs:domain rdf:resource="#Parameter" /></rdf:Property>

	<!--
		HANDLER DEFINITION
	-->

	<rdf:Property rdf:about="handle"><rdfs:range rdf:resource="#Handler" /></rdf:Property>
	<rdf:Property rdf:about="mimetype"><rdfs:domain rdf:resource="#Handler" /></rdf:Property>
	<rdf:Property rdf:about="observer"><rdfs:domain rdf:resource="#Handler" /></rdf:Property>
	<rdf:Property rdf:about="priority"><rdfs:domain rdf:resource="#Handler" /></rdf:Property>
	<rdf:Property rdf:about="reference"><rdfs:domain rdf:resource="#Handler" /></rdf:Property>

	<!--
		VALUE DEFINITION
	-->

	<rdf:Property rdf:about="hasMapping"><rdfs:domain rdf:resource="#Value" /></rdf:Property>
	<rdf:Property rdf:about="hasValue"><rdfs:range rdf:resource="#Value" /></rdf:Property>

	<!--
		MAPPING DEFINITION
	-->

	<rdf:Property rdf:about="hasMapping"><rdfs:range rdf:resource="#Mapping" /></rdf:Property>
	<rdf:Property rdf:about="parameter"><rdfs:domain rdf:resource="#Mapping" /></rdf:Property>
	<rdf:Property rdf:about="observer"><rdfs:domain rdf:resource="#Mapping" /></rdf:Property>
	<rdf:Property rdf:about="value"><rdfs:domain rdf:resource="#Mapping" /></rdf:Property>

	<!--
		END OF PROPERTY DEFINITION
	-->

</rdf:RDF>

--- NEW FILE: readme.txt ---


This folder resemble all crucial configuration files of unicorn 
which are usually in WEB-INF of the web client application

Objectif:
- facilitate the configure of Unicorne in local, especially in a developpement environement

How to use?
- Justify the unicorn.properties in this folder (UNICORN_HOME and UNICORN_HOME_CONF)
- Move this unicorn.properties to the package org.w3c.unicorn.util (by replace the old unicorn.properties)

Configuration files in this folder:
  observers.list
  tasklist
  templates (text10 and xhtml10)
  velocity.properties


  



--- NEW FILE: unicorn.properties ---

UNICORN_HOME = D:/stageW3C/unicorn/
UNICORN_HOME_CONF = $UNICORN_HOME, conf/
UNICORN_ENCODING = UTF-8

UNICORN_PARAMETER_PREFIX = ucn_
UNICORN_PARAMETER_OUTPUT_PREFIX = opt_

DEFAULT_LANGUAGE = en

FILESYSTEM_PREFIX = file:

PATH_TO_TEMPLATES = $UNICORN_HOME_CONF , templates/
PATH_TO_OUTPUT_TEMPLATES = $PATH_TO_TEMPLATES , output/
PATH_TO_OUTPUT_ERROR_TEMPLATES = $PATH_TO_OUTPUT_TEMPLATES , errors/
PATH_TO_INDEX_TEMPLATES = $PATH_TO_TEMPLATES , index/
PATH_TO_ERROR_TEMPLATES = $PATH_TO_TEMPLATES , errors/

PATH_TO_TEMPORARY_FILES = $UNICORN_HOME_CONF, temporary-files/
PATH_TO_INDEX_OUTPUT = $UNICORN_HOME

OBSERVER_LIST_FILE = $UNICORN_HOME_CONF, observers.list
OBSERVER_RDF_MODEL =  $FILESYSTEM_PREFIX, $UNICORN_HOME_CONF, Observer.rdfs
OBSERVER_XML_FILENAME = observer.wadl
OBSERVER_RDF_FILENAME = observer.rdf

PATH_TO_TASKLIST = $UNICORN_HOME_CONF, tasklist/
TASKLIST_RDF_FILE = $PATH_TO_TASKLIST, tasklist.rdf 
TASKLIST_XML_FILE = $PATH_TO_TASKLIST , tasklist.xml
TASKLIST_RDF_MODEL = $FILESYSTEM_PREFIX, $UNICORN_HOME_CONF, Task.rdfs

TEMPLATE_FILE_EXTENSION = .vm

UPLOADED_FILES_REPOSITORY = $UNICORN_HOME_CONF , uploaded-files/
DELETE_UPLOADED_FILES = true

VELOCITY_CONFIG_FILE = $UNICORN_HOME_CONF, velocity.properties


UNICORN_URL = http://localhost:8080/unicorn/
URL_TO_TEMPORARY_FILES = UNICORN_URL, temporary-files/
SERVER_TYPE = tomcat
Received on Thursday, 29 November 2007 10:50:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:59 GMT