jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raible, Matt" <Matt_Rai...@cable.comcast.com>
Subject RE: start.tomcat task
Date Wed, 19 Feb 2003 21:45:22 GMT
I am running a dev snapshot of 1.5, and the URL you sent
(http://tinyurl.com/63je), doesn't seem to signify anything to me.  Are you
saying that there is no taskdef for "runservertests" in 1.5?  The 2nd URL
(http://tinyurl.com/63js) solved my issue and my start.tomcat task now looks
(and works!) as follows:

<target name="start.tomcat">
    <java classname="org.apache.catalina.startup.Bootstrap" fork="yes">
        <jvmarg value="-Dcatalina.home=${tomcat.home}"/>
        <!--arg value="-config"/>
        <arg value="${basedir}/${out.server.dir}/conf/server.xml"/-->
        <arg value="start"/>
        <classpath>
            <pathelement path="${env.JAVA_HOME}/lib/tools.jar"/>
            <fileset dir="${tomcat.home}">
                <include name="bin/bootstrap.jar"/>
            </fileset>
        </classpath>
    </java>
</target>

Thanks!

Matt


> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@octo.com]
> Sent: Wednesday, February 19, 2003 2:26 PM
> To: 'Cactus Users List'
> Cc: Raible, Matt
> Subject: RE: start.tomcat task
> 
> 
> Hi Matt,
> 
> Actually, I don't think it related to Cactus. I think you're 
> missing the
> tools.jar in your classpath. It is needed by jasper. See
> http://cvs.apache.org/viewcvs/jakarta-cactus/integration/ant/s
> rc/scripts
> /share/build-tests-tomcat4x.xml?rev=1.1&content-type=text/vnd.
> viewcvs-ma
> rkup (check the cactus.start.tomcat4x target).
> 
> BTW, in cactus 1.5 you don't even need to know any of this as you can
> directly use the Ant Plugin from your build scripts (see
> http://cvs.apache.org/viewcvs/jakarta-cactus/samples/servlet/s
> rc/scripts
> /share/build.xml?rev=1.6&content-type=text/vnd.viewcvs-markup 
> for how to
> use it).
> 
> Thanks
> -Vincent
> 


Mime
View raw message