You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2002/02/27 20:17:45 UTC

cvs commit: jakarta-turbine-2/xdocs/howto ide-vaj-wte-howto.xml

jvanzyl     02/02/27 11:17:45

  Added:       xdocs/howto ide-vaj-wte-howto.xml
  Log:
  Adding Colin's VAJ howto
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-2/xdocs/howto/ide-vaj-wte-howto.xml
  
  Index: ide-vaj-wte-howto.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document>
    <header>
      <title>VAJava and WebSphere Test Environment</title>
      <authors>
        <person name="Colin Chalmers" email="Colin.Chalmers@maxware.nl"/>
      </authors>
    </header>
  
    <body>
  
      <section name="Forewords and Requirements">
  
        <p>
          This tutorial explains how to run Turbine within VisualAge for
          Java WebSphere Test Environment.
        </p>
        <p>
          This tutorial works with VAJava 3.5.2 and 3.5.3. Please tell us if you 
          find that it works with other versions.
        </p>
  
      </section>
  
      <section name="Step 1 : Import the correct packages in VAJava">
  
        <p>
          Let's assume the following conventions :
          <strong><code>{Turbine dir}</code></strong> is the directory where you
          have unzipped the Turbine distribution or sources and
          <strong><code>{VAJava dir}</code></strong> is the directory where
          VAJava is installed. Let's also define <strong><code>{WTE dir}</code>
          </strong> to be the WebSphere Test Environment directories, i.e.
          <code>{VAJava dir}/ide/project_resources/IBM WebSphere Test
          Environment</code>.
        </p>
  
        <p>
          You need to create a project : Turbine
        </p>
        
        <p>
          Import into Turbine project all JARS/SRC associated with the specific 
          Turbine release
        </p>      
  
      </section>
  
      <section name="Step 2 : Modify WebSphere Test Environment">
  
        <section name="Edit default.servlet_engine">
  
          <p>
            Edit <code>{WTE dir}/properties/default.servlet_engine</code> and
            add the following under the <code>default_app</code> webgroup :
          </p>
  
  <source><![CDATA[
      <websphere-webgroup name="turbine">
         <description>Turbine Application Framework</description>
         <document-root>$approot$/web</document-root>
         <classpath>$approot$/servlets</classpath>
         <root-uri>/turbine</root-uri>
         <auto-reload enabled="true" polling-interval="3000"/>
         <shared-context>false</shared-context>
      </websphere-webgroup>
  ]]></source>
  
        </section>
  
        <section name="Create a turbine directory">
  
          <p>
            Create a directory called <code>turbine</code> under
            <code>{WTE dir}/hosts/default_host</code>. Under <code>turbine</code>
            create another 2 subdirectories : <code>servlets</code> and
            <code>web</code>.
          </p>
          
          <p>
  	Create the following directories (which is similiar to the TDK distribution)
  	under the web directory.
  	<li> images </li>
  	<li> logs </li>
  	<li> resources</li>
  	<li> stylesheets</li>
  	<li> templates</li>
  	<li> WEB-INF/conf</li>
          </p>    
          <p>
          Copy the TurbineResource.properties file to the "WEB-INF/conf" directory. The templates, 
          logs etc. directories are quite self explanetory I think.
          </p>    
  
        </section>
  
        <section name="Create a turbine.webapp file">
  
          <p>
            Create a <code>turbine.webapp</code> file in
            <code>{WTE dir}/host/default_app/servlets</code> and put the following
            content :
  <source><![CDATA[
  <webapp>
     <name>turbine</name>
     <description>Turbine Application Framework</description>
     <error-page>/ErrorReporter</error-page>
  
     <servlet>
        <name>turbine</name>
        <description>Turbine Application Framework</description>
        <code>org.apache.turbine.Turbine</code>
        <servlet-path>/ServletRedirector</servlet-path>
        <autostart>true</autostart>
     </servlet> 
   </webapp>
  ]]></source>          
          </p>
  
        </section>
  
      </section>
  
      <section name="Step 3 : Edit VAJava workspace classpath">
  
        <p>
          In the WebSphere Test Environment under Servlet Engine, add Turbine to the classpath.
        </p>
  
      </section>
    </body>
  </document>
  
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-2/xdocs/howto ide-vaj-wte-howto.xml

Posted by Jason van Zyl <jv...@zenplex.com>.
On Wed, 2002-02-27 at 14:26, Colin Chalmers wrote:
> Thx Jason,
> 
> The only worry I have is the xml settings I have in the Xdoc, this didn't
> come out completely OK when I tried tried formatting it. Perhaps someone
> else can polish that up (still getting use to xdocs)

No worries. I'm going to find an xml pretty printer so that all the
xdocs look the same and provide reference to a tool that people can use
before submitting a new xdoc.

> 
> /colin
> 
> ----- Original Message -----
> From: <jv...@apache.org>
> To: <ja...@apache.org>
> Sent: Wednesday, February 27, 2002 8:17 PM
> Subject: cvs commit: jakarta-turbine-2/xdocs/howto ide-vaj-wte-howto.xml
> 
> 
> > jvanzyl     02/02/27 11:17:45
> >
> >   Added:       xdocs/howto ide-vaj-wte-howto.xml
> >   Log:
> >   Adding Colin's VAJ howto
> >
> >   Revision  Changes    Path
> >   1.1                  jakarta-turbine-2/xdocs/howto/ide-vaj-wte-howto.xml
> >
> >   Index: ide-vaj-wte-howto.xml
> >   ===================================================================
> >   <?xml version="1.0"?>
> >
> >   <document>
> >     <header>
> >       <title>VAJava and WebSphere Test Environment</title>
> >       <authors>
> >         <person name="Colin Chalmers" email="Colin.Chalmers@maxware.nl"/>
> >       </authors>
> >     </header>
> >
> >     <body>
> >
> >       <section name="Forewords and Requirements">
> >
> >         <p>
> >           This tutorial explains how to run Turbine within VisualAge for
> >           Java WebSphere Test Environment.
> >         </p>
> >         <p>
> >           This tutorial works with VAJava 3.5.2 and 3.5.3. Please tell us
> if you
> >           find that it works with other versions.
> >         </p>
> >
> >       </section>
> >
> >       <section name="Step 1 : Import the correct packages in VAJava">
> >
> >         <p>
> >           Let's assume the following conventions :
> >           <strong><code>{Turbine dir}</code></strong> is the directory
> where you
> >           have unzipped the Turbine distribution or sources and
> >           <strong><code>{VAJava dir}</code></strong> is the directory
> where
> >           VAJava is installed. Let's also define <strong><code>{WTE
> dir}</code>
> >           </strong> to be the WebSphere Test Environment directories, i.e.
> >           <code>{VAJava dir}/ide/project_resources/IBM WebSphere Test
> >           Environment</code>.
> >         </p>
> >
> >         <p>
> >           You need to create a project : Turbine
> >         </p>
> >
> >         <p>
> >           Import into Turbine project all JARS/SRC associated with the
> specific
> >           Turbine release
> >         </p>
> >
> >       </section>
> >
> >       <section name="Step 2 : Modify WebSphere Test Environment">
> >
> >         <section name="Edit default.servlet_engine">
> >
> >           <p>
> >             Edit <code>{WTE dir}/properties/default.servlet_engine</code>
> and
> >             add the following under the <code>default_app</code> webgroup
> :
> >           </p>
> >
> >   <source><![CDATA[
> >       <websphere-webgroup name="turbine">
> >          <description>Turbine Application Framework</description>
> >          <document-root>$approot$/web</document-root>
> >          <classpath>$approot$/servlets</classpath>
> >          <root-uri>/turbine</root-uri>
> >          <auto-reload enabled="true" polling-interval="3000"/>
> >          <shared-context>false</shared-context>
> >       </websphere-webgroup>
> >   ]]></source>
> >
> >         </section>
> >
> >         <section name="Create a turbine directory">
> >
> >           <p>
> >             Create a directory called <code>turbine</code> under
> >             <code>{WTE dir}/hosts/default_host</code>. Under
> <code>turbine</code>
> >             create another 2 subdirectories : <code>servlets</code> and
> >             <code>web</code>.
> >           </p>
> >
> >           <p>
> >   Create the following directories (which is similiar to the TDK
> distribution)
> >   under the web directory.
> >   <li> images </li>
> >   <li> logs </li>
> >   <li> resources</li>
> >   <li> stylesheets</li>
> >   <li> templates</li>
> >   <li> WEB-INF/conf</li>
> >           </p>
> >           <p>
> >           Copy the TurbineResource.properties file to the "WEB-INF/conf"
> directory. The templates,
> >           logs etc. directories are quite self explanetory I think.
> >           </p>
> >
> >         </section>
> >
> >         <section name="Create a turbine.webapp file">
> >
> >           <p>
> >             Create a <code>turbine.webapp</code> file in
> >             <code>{WTE dir}/host/default_app/servlets</code> and put the
> following
> >             content :
> >   <source><![CDATA[
> >   <webapp>
> >      <name>turbine</name>
> >      <description>Turbine Application Framework</description>
> >      <error-page>/ErrorReporter</error-page>
> >
> >      <servlet>
> >         <name>turbine</name>
> >         <description>Turbine Application Framework</description>
> >         <code>org.apache.turbine.Turbine</code>
> >         <servlet-path>/ServletRedirector</servlet-path>
> >         <autostart>true</autostart>
> >      </servlet>
> >    </webapp>
> >   ]]></source>
> >           </p>
> >
> >         </section>
> >
> >       </section>
> >
> >       <section name="Step 3 : Edit VAJava workspace classpath">
> >
> >         <p>
> >           In the WebSphere Test Environment under Servlet Engine, add
> Turbine to the classpath.
> >         </p>
> >
> >       </section>
> >     </body>
> >   </document>
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://tambora.zenplex.org


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-2/xdocs/howto ide-vaj-wte-howto.xml

Posted by Colin Chalmers <co...@maxware.nl>.
Thx Jason,

The only worry I have is the xml settings I have in the Xdoc, this didn't
come out completely OK when I tried tried formatting it. Perhaps someone
else can polish that up (still getting use to xdocs)

/colin

----- Original Message -----
From: <jv...@apache.org>
To: <ja...@apache.org>
Sent: Wednesday, February 27, 2002 8:17 PM
Subject: cvs commit: jakarta-turbine-2/xdocs/howto ide-vaj-wte-howto.xml


> jvanzyl     02/02/27 11:17:45
>
>   Added:       xdocs/howto ide-vaj-wte-howto.xml
>   Log:
>   Adding Colin's VAJ howto
>
>   Revision  Changes    Path
>   1.1                  jakarta-turbine-2/xdocs/howto/ide-vaj-wte-howto.xml
>
>   Index: ide-vaj-wte-howto.xml
>   ===================================================================
>   <?xml version="1.0"?>
>
>   <document>
>     <header>
>       <title>VAJava and WebSphere Test Environment</title>
>       <authors>
>         <person name="Colin Chalmers" email="Colin.Chalmers@maxware.nl"/>
>       </authors>
>     </header>
>
>     <body>
>
>       <section name="Forewords and Requirements">
>
>         <p>
>           This tutorial explains how to run Turbine within VisualAge for
>           Java WebSphere Test Environment.
>         </p>
>         <p>
>           This tutorial works with VAJava 3.5.2 and 3.5.3. Please tell us
if you
>           find that it works with other versions.
>         </p>
>
>       </section>
>
>       <section name="Step 1 : Import the correct packages in VAJava">
>
>         <p>
>           Let's assume the following conventions :
>           <strong><code>{Turbine dir}</code></strong> is the directory
where you
>           have unzipped the Turbine distribution or sources and
>           <strong><code>{VAJava dir}</code></strong> is the directory
where
>           VAJava is installed. Let's also define <strong><code>{WTE
dir}</code>
>           </strong> to be the WebSphere Test Environment directories, i.e.
>           <code>{VAJava dir}/ide/project_resources/IBM WebSphere Test
>           Environment</code>.
>         </p>
>
>         <p>
>           You need to create a project : Turbine
>         </p>
>
>         <p>
>           Import into Turbine project all JARS/SRC associated with the
specific
>           Turbine release
>         </p>
>
>       </section>
>
>       <section name="Step 2 : Modify WebSphere Test Environment">
>
>         <section name="Edit default.servlet_engine">
>
>           <p>
>             Edit <code>{WTE dir}/properties/default.servlet_engine</code>
and
>             add the following under the <code>default_app</code> webgroup
:
>           </p>
>
>   <source><![CDATA[
>       <websphere-webgroup name="turbine">
>          <description>Turbine Application Framework</description>
>          <document-root>$approot$/web</document-root>
>          <classpath>$approot$/servlets</classpath>
>          <root-uri>/turbine</root-uri>
>          <auto-reload enabled="true" polling-interval="3000"/>
>          <shared-context>false</shared-context>
>       </websphere-webgroup>
>   ]]></source>
>
>         </section>
>
>         <section name="Create a turbine directory">
>
>           <p>
>             Create a directory called <code>turbine</code> under
>             <code>{WTE dir}/hosts/default_host</code>. Under
<code>turbine</code>
>             create another 2 subdirectories : <code>servlets</code> and
>             <code>web</code>.
>           </p>
>
>           <p>
>   Create the following directories (which is similiar to the TDK
distribution)
>   under the web directory.
>   <li> images </li>
>   <li> logs </li>
>   <li> resources</li>
>   <li> stylesheets</li>
>   <li> templates</li>
>   <li> WEB-INF/conf</li>
>           </p>
>           <p>
>           Copy the TurbineResource.properties file to the "WEB-INF/conf"
directory. The templates,
>           logs etc. directories are quite self explanetory I think.
>           </p>
>
>         </section>
>
>         <section name="Create a turbine.webapp file">
>
>           <p>
>             Create a <code>turbine.webapp</code> file in
>             <code>{WTE dir}/host/default_app/servlets</code> and put the
following
>             content :
>   <source><![CDATA[
>   <webapp>
>      <name>turbine</name>
>      <description>Turbine Application Framework</description>
>      <error-page>/ErrorReporter</error-page>
>
>      <servlet>
>         <name>turbine</name>
>         <description>Turbine Application Framework</description>
>         <code>org.apache.turbine.Turbine</code>
>         <servlet-path>/ServletRedirector</servlet-path>
>         <autostart>true</autostart>
>      </servlet>
>    </webapp>
>   ]]></source>
>           </p>
>
>         </section>
>
>       </section>
>
>       <section name="Step 3 : Edit VAJava workspace classpath">
>
>         <p>
>           In the WebSphere Test Environment under Servlet Engine, add
Turbine to the classpath.
>         </p>
>
>       </section>
>     </body>
>   </document>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>