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

2006/unicorn/org/w3c/unicorn/util remote-unicorn.properties,NONE,1.1 unicorn.properties,1.2,1.3 ClientHttpRequest.java,1.2,1.3

From: Denis Tea via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 29 Nov 2007 14:12:01 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Ixk7V-00082j-4c@lionel-hutz.w3.org>

Update of /sources/public/2006/unicorn/org/w3c/unicorn/util
In directory hutz:/tmp/cvs-serv30684/org/w3c/unicorn/util

Modified Files:
	unicorn.properties ClientHttpRequest.java 
Added Files:
	remote-unicorn.properties 
Log Message:
Multithreading

Index: ClientHttpRequest.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/util/ClientHttpRequest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ClientHttpRequest.java	21 Sep 2006 16:01:24 -0000	1.2
+++ ClientHttpRequest.java	29 Nov 2007 14:11:58 -0000	1.3
@@ -1,599 +1,599 @@
-package org.w3c.unicorn.util;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.HashMap;
-import java.util.Iterator;
[...1167 lines suppressed...]
+	 * @throws IOException
+	 * @see setParameter
+	 */
+	public static InputStream post (
+			final URL aURL,
+			final String sName1,
+			final Object oValue1,
+			final String sName2,
+			final Object oValue2,
+			final String sName3,
+			final Object oValue3,
+			final String sName4,
+			final Object oValue4) throws IOException {
+		return new ClientHttpRequest(aURL).post(
+				sName1, oValue1,
+				sName2, oValue2,
+				sName3, oValue3,
+				sName4, oValue4);
+	}
+}

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

UNICORN_URL = http://flyingman.sophia.w3.org:8180/unicorn/
UNICORN_HOME = /usr/share/tomcat5.5-webapps/unicorn/
UNICORN_ENCODING = UTF-8

UNICORN_PARAMETER_PREFIX = ucn_
UNICORN_PARAMETER_OUTPUT_PREFIX = opt_

DEFAULT_LANGUAGE = en

FILESYSTEM_PREFIX = file:

SERVER_TYPE = tomcat

PATH_TO_RESOURCES = $UNICORN_HOME , WEB-INF/resources/
PATH_TO_OBSERVER_LIST = $PATH_TO_RESOURCES
PATH_TO_TASKLIST = $PATH_TO_RESOURCES , tasklist/
PATH_TO_TEMPLATES = $PATH_TO_RESOURCES , 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 , temporary_files/
PATH_TO_INDEX_OUTPUT = $UNICORN_HOME

URL_TO_TEMPORARY_FILES = $UNICORN_URL , temporary_files/

OBSERVER_LIST_FILE = $PATH_TO_OBSERVER_LIST , observers.list
OBSERVER_RDF_MODEL = $FILESYSTEM_PREFIX , $PATH_TO_RESOURCES , schemas/Observer.rdfs
OBSERVER_XML_FILENAME = observer.wadl
OBSERVER_RDF_FILENAME = observer.rdf

TASKLIST_RDF_FILENAME = tasklist.rdf
TASKLIST_RDF_FILE = $PATH_TO_TASKLIST , $TASKLIST_RDF_FILENAME
TASKLIST_XML_FILENAME = tasklist.xml
TASKLIST_XML_FILE = $PATH_TO_TASKLIST , $TASKLIST_XML_FILENAME
TASKLIST_RDF_MODEL = $FILESYSTEM_PREFIX , $PATH_TO_RESOURCES , schemas/Task.rdfs

TEMPLATE_FILE_EXTENSION = .vm

UPLOADED_FILES_REPOSITORY = $UNICORN_HOME , WEB-INF/uploaded-files/
DELETE_UPLOADED_FILES = true

VELOCITY_CONFIG_FILE = $PATH_TO_RESOURCES , velocity.properties

Index: unicorn.properties
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/util/unicorn.properties,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- unicorn.properties	1 Sep 2006 14:30:17 -0000	1.2
+++ unicorn.properties	29 Nov 2007 14:11:58 -0000	1.3
@@ -1,6 +1,6 @@
 
-UNICORN_URL = http://w3cstag8:8180/unicorn/
-UNICORN_HOME = /u/damien-misc/usr/apache-tomcat-5.5.17/webapps/unicorn/
+UNICORN_URL = http://flyingman.sophia.w3.org:8180/unicorn/
+UNICORN_HOME = D:/unicorn/
 UNICORN_ENCODING = UTF-8
 
 UNICORN_PARAMETER_PREFIX = ucn_
Received on Thursday, 29 November 2007 14:12:08 GMT

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