Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1255 - in development/main/planet/facilities: . http/blocks/servlet http/examples http/examples/tapestry http/examples/tapestry/etc http/examples/tapestry/etc/deliverables

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1255 - in development/main/planet/facilities: . http/blocks/servlet http/examples http/examples/tapestry http/examples/tapestry/etc http/examples/tapestry/etc/deliverables
  • Date: Wed, 22 Dec 2004 13:42:59 +0100

Author: niclas
Date: Wed Dec 22 13:42:59 2004
New Revision: 1255

Added:
development/main/planet/facilities/http/examples/
development/main/planet/facilities/http/examples/build.xml (contents,
props changed)
development/main/planet/facilities/http/examples/index.xml (contents,
props changed)
development/main/planet/facilities/http/examples/static_request.log
development/main/planet/facilities/http/examples/tapestry/
development/main/planet/facilities/http/examples/tapestry/build.xml
(contents, props changed)
development/main/planet/facilities/http/examples/tapestry/etc/
development/main/planet/facilities/http/examples/tapestry/etc/deliverables/

development/main/planet/facilities/http/examples/tapestry/etc/deliverables/sample.conf
Modified:
development/main/planet/facilities/http/blocks/servlet/build.xml
development/main/planet/facilities/index.xml
Log:
Adding a Tapestry example to the Http Facility.

Modified: development/main/planet/facilities/http/blocks/servlet/build.xml
==============================================================================
--- development/main/planet/facilities/http/blocks/servlet/build.xml
(original)
+++ development/main/planet/facilities/http/blocks/servlet/build.xml Wed
Dec 22 13:42:59 2004
@@ -22,7 +22,7 @@
<magic:import uri="artifact:template:dpml/magic/standard"/>

<target name="build" depends="standard.build">
- <x:block name="static">
+ <x:block name="servlet">
<x:component name="context"
class="net.dpml.planet.http.impl.HttpContextImpl"/>
<x:component name="security-handler"
class="net.dpml.planet.http.impl.SecurityHandler"/>
<x:component name="servlets"
class="net.dpml.planet.http.impl.ServletHandler" />

Added: development/main/planet/facilities/http/examples/build.xml
==============================================================================
--- (empty file)
+++ development/main/planet/facilities/http/examples/build.xml Wed Dec 22
13:42:59 2004
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ * Copyright 2004 Stephen J. McConnell.
+ * Copyright 2004 Niclas Hedman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.dpml.net/central/about/legal/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+
+<project name="http-examples" default="default" basedir="."
+ xmlns:magic="antlib:net.dpml.magic"
xmlns:x="plugin:dpml/magic/dpml-magic-core" >
+
+ <magic:import uri="artifact:template:dpml/magic/reactor"/>
+
+</project>

Added: development/main/planet/facilities/http/examples/index.xml
==============================================================================
--- (empty file)
+++ development/main/planet/facilities/http/examples/index.xml Wed Dec 22
13:42:59 2004
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Copyright 2004 Stephen J. McConnell.
+ * Copyright 2004 Niclas Hedman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.dpml.net/central/about/legal/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+
+<index>
+
+ <import index="../../index.xml" />
+
+ <project basedir="tapestry">
+ <info>
+ <group>dpml/planet/http/examples</group>
+ <name>dpml-http-examples-tapestry</name>
+ <version>1.0.0</version>
+ <type>block</type>
+ </info>
+ <dependencies>
+ <include key="dpml-planet-http-api" />
+ <include key="dpml-planet-http-impl" />
+ <include key="servletapi" />
+ <include key="tapestry" />
+ </dependencies>
+ </project>
+
+ <resource>
+ <info>
+ <group>tapestry</group>
+ <name>tapestry</name>
+ <version>3.0</version>
+ </info>
+ <dependencies>
+ <include key="bsf" />
+ <include key="commons-beanutils" />
+ <include key="commons-codec" />
+ <include key="commons-collections" />
+ <include key="commons-digester" />
+ <include key="commons-fileupload" />
+ <include key="commons-lang" />
+ <include key="commons-logging" />
+ <include key="ognl" />
+ <include key="servletapi" />
+ <include key="oro" />
+ <include key="hivemind" />
+ <include key="hivemind-lib" />
+ <include key="javassist" />
+ </dependencies>
+ </resource>
+
+ <resource>
+ <info>
+ <name>bsf</name>
+ <version>2.3.0</version>
+ <group>bsf</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>commons-beanutils</name>
+ <version>1.7</version>
+ <group>commons-beanutils</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>commons-codec</name>
+ <version>1.2</version>
+ <group>commons-codec</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>commons-collections</name>
+ <version>2.1</version>
+ <group>commons-collections</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>commons-digester</name>
+ <version>1.6</version>
+ <group>commons-digester</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>commons-fileupload</name>
+ <version>1.0</version>
+ <group>commons-fileupload</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>commons-lang</name>
+ <version>2.0</version>
+ <group>commons-lang</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>commons-logging</name>
+ <version>1.0.4</version>
+ <group>commons-logging</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>hivemind</name>
+ <version>1.0</version>
+ <group>hivemind</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>hivemind-lib</name>
+ <version>1.0</version>
+ <group>hivemind</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>oro</name>
+ <version>2.0.6</version>
+ <group>oro</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>javassist</name>
+ <version>2.6</version>
+ <group>jboss</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>servletapi</name>
+ <version>2.3</version>
+ <group>servletapi</group>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <name>ognl</name>
+ <version>2.6.3</version>
+ <group>ognl</group>
+ </info>
+ </resource>
+
+</index>
+

Added: development/main/planet/facilities/http/examples/static_request.log
==============================================================================
--- (empty file)
+++ development/main/planet/facilities/http/examples/static_request.log Wed
Dec 22 13:42:59 2004
@@ -0,0 +1,19 @@
+127.0.0.1 - - [22/Dec/2004:19:33:08 +0800] "GET / HTTP/1.1" 200 624 "-"
"Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:19:33:09 +0800] "GET / HTTP/1.1" 200 624 "-"
"Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:19:33:09 +0800] "GET /favicon.ico HTTP/1.1" 404
1250 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:19:33:39 +0800] "GET /tape HTTP/1.1" 404 1229 "-"
"Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:19:34:39 +0800] "GET / HTTP/1.1" 200 624 "-"
"Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:19:39:14 +0800] "GET / HTTP/1.1" 200 626 "-"
"Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:19:39:24 +0800] "GET /examples/ HTTP/1.1" 404
1244 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:19:39:29 +0800] "GET /examples/tapestry HTTP/1.1"
302 0 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:19:39:29 +0800] "GET /examples/tapestry/
HTTP/1.1" 200 735 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux
2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:19:39:37 +0800] "GET /examples/tapestry/tape
HTTP/1.1" 500 1253 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux
2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:20:21:50 +0800] "GET / HTTP/1.1" 200 627 "-"
"Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:20:21:50 +0800] "GET / HTTP/1.1" 200 627 "-"
"Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:20:21:53 +0800] "GET /examples/tapestry/
HTTP/1.1" 200 735 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux
2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:20:21:57 +0800] "GET /examples/tapestry/tape
HTTP/1.1" 500 1289 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux
2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:20:25:52 +0800] "GET /examples/tapestry/tape
HTTP/1.1" 500 1289 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux
2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:20:28:18 +0800] "GET /examples/tapestry/tape
HTTP/1.1" 500 1299 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux
2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:20:30:30 +0800] "GET /examples/tapestry/tape
HTTP/1.1" 500 1299 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux
2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:20:33:35 +0800] "GET /examples/tapestry/tape
HTTP/1.1" 200 14913 "-" "Mozilla/5.0 (compatible; Konqueror/3.1; Linux
2.4.20-8; X11; i686)"
+127.0.0.1 - - [22/Dec/2004:20:33:58 +0800] "GET
/examples/tapestry/tape?service=asset&sp=S%2Forg%2Fapache%2Ftapestry%2Fpages%2FException.css
HTTP/1.1" 200 2432 "http://localhost:8080/examples/tapestry/tape";
"Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.20-8; X11; i686)"

Added: development/main/planet/facilities/http/examples/tapestry/build.xml
==============================================================================
--- (empty file)
+++ development/main/planet/facilities/http/examples/tapestry/build.xml Wed
Dec 22 13:42:59 2004
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ * Copyright 2004 Stephen J. McConnell.
+ * Copyright 2004 Niclas Hedman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.dpml.net/central/about/legal/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+
+<project name="dpml-http-examples-tapestry" default="install" basedir="."
+ xmlns:magic="antlib:net.dpml.magic"
xmlns:x="plugin:dpml/magic/dpml-magic-core" >
+
+ <magic:import uri="artifact:template:dpml/magic/standard"/>
+
+ <target name="build" depends="standard.build">
+ <x:block name="tapestry-example">
+ <x:component name="socketlistener"
class="net.dpml.planet.http.impl.SocketListener" />
+ <x:component name="httpserver"
class="net.dpml.planet.http.impl.HttpServerImpl" />
+
+ <x:include name="servlet-context"
uri="artifact:block:dpml/planet/http/dpml-planet-http-servlet#SNAPSHOT" />
+ <x:include name="static-context"
uri="artifact:block:dpml/planet/http/dpml-planet-http-static#SNAPSHOT" />
+
+ </x:block>
+ </target>
+
+</project>

Added:
development/main/planet/facilities/http/examples/tapestry/etc/deliverables/sample.conf
==============================================================================
--- (empty file)
+++
development/main/planet/facilities/http/examples/tapestry/etc/deliverables/sample.conf
Wed Dec 22 13:42:59 2004
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<targets>
+
+ <target path="/tapestry-example/servlet-context/servlets" >
+ <configuration>
+ <servlets>
+ <servlet>
+ <path>/tape</path>
+ <classname>org.apache.tapestry.ApplicationServlet</classname>
+ </servlet>
+ </servlets>
+ </configuration>
+ </target>
+
+ <target path="/tapestry-example/servlet-context/context" >
+ <configuration>
+ <context-path>/examples/tapestry</context-path>
+ </configuration>
+ </target>
+
+</targets>

Modified: development/main/planet/facilities/index.xml
==============================================================================
--- development/main/planet/facilities/index.xml (original)
+++ development/main/planet/facilities/index.xml Wed Dec 22 13:42:59
2004
@@ -22,6 +22,7 @@
uri="artifact:module:dpml/metro/dpml-metro#SNAPSHOT"/>

<import index="./http/blocks/index.xml"/>
+ <import index="./http/examples/index.xml"/>

<import index="./reflector/blocks/index.xml"/>




  • svn commit: r1255 - in development/main/planet/facilities: . http/blocks/servlet http/examples http/examples/tapestry http/examples/tapestry/etc http/examples/tapestry/etc/deliverables, niclas, 12/22/2004

Archive powered by MHonArc 2.6.24.

Top of Page