CVS: Tapestry/examples/Vlib build.xml,1.22,1.22.2.1 jetty.xml,1.11,1.11.2.1 index.html,1.5,NONE
Howard Lewis Ship <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tapestry/Tapestry/examples/Vlib
In directory sc8-pr-cvs1:/tmp/cvs-serv29950/examples/Vlib
Modified Files:
Tag: hship-2-3
build.xml jetty.xml
Removed Files:
Tag: hship-2-3
index.html
Log Message:
Reorganize the Vlib example to move templates into context, and specifications into WEB-INF.
Index: build.xml
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Vlib/build.xml,v
retrieving revision 1.22
retrieving revision 1.22.2.1
diff -C2 -d -r1.22 -r1.22.2.1
*** build.xml 12 Oct 2002 17:30:33 -0000 1.22
--- build.xml 16 Dec 2002 19:12:06 -0000 1.22.2.1
***************
*** 40,51 ****
<target name="install" depends="compile" description="Compile all classes and build the installed WAR including all package resources.">
! <war warfile="${vlib.war}" webxml="WEB-INF/web.xml">
! <fileset dir=".">
! <include name="*.html"/>
! <include name="images/**"/>
! <include name="scripts/**"/>
! </fileset>
<classes dir="${classes.dir}"/>
<classes dir="${src.dir}">
<exclude name="**/*.java"/>
--- 40,55 ----
<target name="install" depends="compile" description="Compile all classes and build the installed WAR including all package resources.">
! <war warfile="${vlib.war}" webxml="context/WEB-INF/web.xml">
! <fileset dir="context">
! <exclude name="WEB-INF/web.xml"/>
! </fileset>
!
! <!-- <webinf dir="context/WEB-INF"/> -->
<classes dir="${classes.dir}"/>
+
+ <!-- Pick up a few non-class resources from source directory.
+ This includes a few specifications, scripts, and such. -->
+
<classes dir="${src.dir}">
<exclude name="**/*.java"/>
Index: jetty.xml
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Vlib/jetty.xml,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -C2 -d -r1.11 -r1.11.2.1
*** jetty.xml 1 Oct 2002 21:20:47 -0000 1.11
--- jetty.xml 16 Dec 2002 19:12:08 -0000 1.11.2.1
***************
*** 1 ****
! <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $Id$ -->
<!DOCTYPE Configure PUBLIC
"-//Mort Bay Consulting//DTD Configure 1.2//EN"
"http://jetty.mortbay.org/configure_1_2.dtd">
<Configure class="org.mortbay.jetty.Server">
<Call name="addListener">
<Arg>
<New class="org.mortbay.http.SocketListener">
<Set name="Port">8080</Set>
<Set name="MinThreads">1</Set>
<Set name="MaxThreads">10</Set>
<Set name="MaxIdleTimeMs">50000</Set>
</New>
</Arg>
</Call>
<Call name="addWebApplication">
<Arg>/vlib</Arg>
<Arg>.</Arg>
<Set name="DefaultsDescriptor">../../config/webdefault.xml</Set>
</Call>
<Call name="addContext">
<Arg>/private/*</Arg>
<Set name="ResourceBase">private</Set>
<Call name="addHandler">
<Arg><New class="org.mortbay.http.handler.ResourceHandler"/></Arg>
</Call>
<Call name="addHandler">
<Arg><New class="org.mortbay.http.handler.NotFoundHandler"/></Arg>
</Call>
</Call>
<Call name="addContext">
<Arg>/</Arg>
<Set name="realmName">Jetty Demo Realm</Set>
<Call name="addServlet">
<Arg>Admin</Arg>
<Arg>/</Arg>
<Arg>org.mortbay.servlet.AdminServlet</Arg>
</Call>
<Call name="setAttribute">
<Arg>org.mortbay.http.HttpServer</Arg>
<Arg><Call name="getHttpServer"/></Arg>
</Call>
</Call>
</Configure>
--- 1 ----
! <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $Id$ -->
<!DOCTYPE Configure PUBLIC
"-//Mort Bay Consulting//DTD Configure 1.2//EN"
"http://jetty.mortbay.org/configure_1_2.dtd">
<Configure class="org.mortbay.jetty.Server">
<Call name="addListener">
<Arg>
<New class="org.mortbay.http.SocketListener">
<Set name="Port">8080</Set>
<Set name="MinThreads">1</Set>
<Set name="MaxThreads">10</Set>
<Set name="MaxIdleTimeMs">50000</Set>
</New>
</Arg>
</Call>
<Call name="addWebApplication">
<Arg>/vlib</Arg>
<Arg>context</Arg>
<Set name="DefaultsDescriptor">../../config/webdefault.xml</Set>
</Call>
<Call name="addContext">
<Arg>/private/*</Arg>
<Set name="ResourceBase">private</Set>
<Call name="addHandler">
<Arg><New class="org.mortbay.http.handler.ResourceHandler"/></Arg>
</Call>
<Call name="addHandler">
<Arg><New class="org.mortbay.http.handler.NotFoundHandler"/></Arg>
</Call>
</Call>
<Call name="addContext">
<Arg>/</Arg>
<Set name="realmName">Jetty Demo Realm</Set>
<Call name="addServlet">
<Arg>Admin</Arg>
<Arg>/</Arg>
<Arg>org.mortbay.servlet.AdminServlet</Arg>
</Call>
<Call name="setAttribute">
<Arg>org.mortbay.http.HttpServer</Arg>
<Arg><Call name="getHttpServer"/></Arg>
</Call>
</Call>
</Configure>
--- index.html DELETED ---
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/