CVS: Tapestry/examples/Tutorial jetty.xml,1.12,1.12.2.1 build.xml,1.25,1.25.2.1 redirect-target.html,1.4,NONE ExceptionTab.html,1.1,NONE index.html,1.15,NONE popuplink-help.html,1.1,NONE

Howard Lewis Ship <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/examples/Tutorial
In directory sc8-pr-cvs1:/tmp/cvs-serv10583/examples/Tutorial

Modified Files:
      Tag: hship-2-3
	jetty.xml build.xml 
Removed Files:
      Tag: hship-2-3
	redirect-target.html ExceptionTab.html index.html 
	popuplink-help.html 
Log Message:
Reorganize the tutorials to use new 2.4 features.

Index: jetty.xml
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/jetty.xml,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -C2 -d -r1.12 -r1.12.2.1
*** jetty.xml	1 Oct 2002 21:20:47 -0000	1.12
--- jetty.xml	2 Jan 2003 03:15:32 -0000	1.12.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>

  
  <!-- By moving web.xml into WEB-INF, the working directory ends up with the
       approximate format of a WAR. -->

  <Call name="addWebApplication">
    <Arg>/tutorial</Arg>
    <Arg>.</Arg>
    <Set name="DefaultsDescriptor">../../config/webdefault.xml</Set>
  </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>
\ No newline at end of file
--- 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>/tutorial</Arg>
    <Arg>context</Arg>
    <Set name="DefaultsDescriptor">../../config/webdefault.xml</Set>
  </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>
\ No newline at end of file

Index: build.xml
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/build.xml,v
retrieving revision 1.25
retrieving revision 1.25.2.1
diff -C2 -d -r1.25 -r1.25.2.1
*** build.xml	12 Oct 2002 17:30:33 -0000	1.25
--- build.xml	2 Jan 2003 03:15:32 -0000	1.25.2.1
***************
*** 39,52 ****
    
    <target name="install" depends="compile" description="Compile all classes and build the installed WAR.">
!      <war warfile="${tutorial.war}" webxml="WEB-INF/web.xml">
  
!       <fileset dir=".">
!         <include name="images/**"/>
!         <include name="css/**"/>
!         <include name="*.html"/>
!         <!-- These are left around by Paint Shop Pro -->
!         <exclude name="**/pspbrwse.jbf"/>
        </fileset>
! 
  	  <lib dir="${lib.ext.dir}">
  	   	<include name="${jcommon.jar}"/>
--- 39,48 ----
    
    <target name="install" depends="compile" description="Compile all classes and build the installed WAR.">
!      <war warfile="${tutorial.war}" webxml="context/WEB-INF/web.xml">
  
!       <fileset dir="context">
!         <exclude name="WEB-INF/web.xml"/>
        </fileset>
!       
  	  <lib dir="${lib.ext.dir}">
  	   	<include name="${jcommon.jar}"/>

--- redirect-target.html DELETED ---

--- ExceptionTab.html DELETED ---

--- index.html DELETED ---

--- popuplink-help.html DELETED ---



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.