You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apps-dev@avalon.apache.org by Daniel Krieg <dk...@kc.rr.com> on 2002/09/22 13:03:19 UTC

Sevak Catalina build.xml

I noticed that you recently updated the build.xml to include a cycle for
Jo!.  Having recently attempted to build Sevak using Catalina I thought you
should know that your build.xml is out of date.

  -  <!-- Tomcat Jars -->
  -  <!-- <property name="catalina-version" value="4.0.7"/> -->
  -  <property name="catalina-version" value="4.1.7"/>
  -  <property name="catalina-dir-suffix" value="-beta"/>

  -    <get
src="http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v${catalina
-version}${catalina-dir-suffix}/bin/jakarta-tomcat-${catalina-version}.zip"
  -    dest="catalina-download/catalina-${catalina-version}.zip"
  -    verbose="true"
  -    usetimestamp="true"/>

This version is no longer present causing the Ant <get ../> to fail.  My
solution was to use

  <property name="catalina.jars.loc"
value="http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v${catali
na-version}${catalina-dir-suffix}/bin/jakarta-tomcat-${catalina-version}-LE-
jdk14.zip"/>

    <get src="${catalina.jars.loc}"
    dest="catalina-download/catalina-${catalina-version}.zip"
    verbose="true"
    usetimestamp="true"/>

this way as new Catalina updates are made available, users can override the
${catalina.jars.loc} property in a .ant.properties without needing to modify
the actual build.xml  There are several other <get .../> tasks that could
also benefit from this refactoring.

I also had a question about the CatalinaSevakImpl.  Does this implementation
use the standard server.xml during initialize( )?  As it does not appear to
do so, could this be considered as a possibility?  Doing so would allow
standard administration of Tomcat, I believe.

Daniel Krieg


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


Re: Sevak Catalina build.xml

Posted by Stephen McConnell <mc...@apache.org>.

Daniel Krieg wrote:

><snip/>
>
>I also had a question about the CatalinaSevakImpl.  Does this implementation
>use the standard server.xml during initialize( )?  
>

Nope.

>As it does not appear to
>do so, could this be considered as a possibility?  
>

No reason why not.

The current implementation is basically a skeleton based on the example 
code for the CoyoteConnector.  Functionality is limited to prgramatic 
addition of web apps (catalina context entries).  Building from a 
server.xml would basically turn it into a really useful app!

Cheers, Steve.

>Doing so would allow
>standard administration of Tomcat, I believe.
>
>Daniel Krieg
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>  
>

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net




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